[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-developers] php pkg on qube3
- Subject: Re: [cobalt-developers] php pkg on qube3
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Sun Nov 11 14:55:03 2001
- Organization: Befriend Internet Services LLC
- List-id: Discussion Forum for developers on Sun Cobalt Networks products <cobalt-developers.list.cobalt.com>
"ejm-ejjm.net" <ejm@xxxxxxxx> wrote:
> I have a qube3 on line using the native mysql 3.23.33 and php 4.0.4.
>
> The only difficulty I had was figuring out that any
'require(something.php)'
> expected to find it using the path '/usr/sausalito/ui/Libphp'.
>
> I wasn't able to change that so I just deposit al of my 'required' scripts
> into that directory.
You can set the include_path in a .htaccess file in the directory containing
your PHP script, in the httpd.conf VirtualHost container for the site or
using ini_set() in the script itself. You might want to consider one of
those options since you can keep your scripts and includes in the same place
and you won't have to worry about a Cobalt upgrade deleting your include
files.
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/