[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] [Qube3] Editing php.ini Qube3
- Subject: Re: [cobalt-users] [Qube3] Editing php.ini Qube3
- From: Tomas Garcia Ferrari <tgf@xxxxxxxxxxx>
- Date: Mon Jun 25 01:24:04 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hello,
I think that you have different options to do this.
a) The quick'n dirty: Use the whole pathname
include('/where/are/my/files/thisFile.php');
b) The good one (at least for me!): Add this to a VirtualHost directive on
httpd.conf
php_value include_path .:/usr/sausalito/ui/libPhp
(this is good because you can have different include dirs for different
virtual sites)
c) Another: Edit php.ini and change this global value
> Logged in as admin, it will not let me edit this file. I know next to
> nothing about unix so I do not know how to make it let me do my edit.
Have a look at some vi tutorial. It's usefull to know a bit of an editor
like vi for this kind of tunning.
Regards,
Tomás
> We have a new Qube3 with PHP, MySQL, etc. I would like php to find files
> that need to be included or required -- to do that, I would like to edit
> the part of php.ini that says
> include_path="/usr/sausalito/ui/libPhp" to say
> include_path=".:/usr/sausalito/ui/libPhp"
> Logged in as admin, it will not let me edit this file. I know next to
> nothing about unix so I do not know how to make it let me do my edit.
>
> I could get around this by putting the files that need to be included or
> required into the include_path directory, but it will not let me do that
> either.
>
> Since the Qube3 depends quite a bit on php, I understand that precautions
> may have been taken to keep people from screwing it up, but I want php to
> find files that are in include() or require() statements.
>
> Thanks,
> Fraser Gurd
+-- --+
Tomás García Ferrari
Bigital
http://bigital.com/
+-- --+