php-general | 2001062
Date: 06/21/01
- Next message: Thies C. Arntzen: "Re: [PHP] PHP + Oracle + OCIPLogon"
- Previous message: Jeff Armstrong: "[PHP] PHP no longer logging errors - found them!"
- Maybe in reply to: Butler, Shaun: "[PHP] Apache config + PHP include paths"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Shaun, you can also define php_value (but NOT php_admin_value) lines in a
.htaccess file rather than in your httpd.conf, assuming you gave (or were
given) the appropriate AllowOverride parameters to use .htaccess... Unless
you are running your own server or know root, then thats what might be your
best (quickest) bet.
the appropriate format would be:
php_value include_path ".:/path/to/includes:/another/path/somewhere/else"
(personally, i use a "." as the first path to check current directory as
well.. (covered in the manual as well, i believe)
-- Aaron Bennett abennett <email protected>-----Original Message----- From: lenar [mailto:lenar <email protected>] Sent: Thursday, June 21, 2001 8:32 AM To: php-general <email protected> Subject: Re: [PHP] Apache config + PHP include paths
in your virtualhost definition use: php_value include_path "new include path"
might be that instead of php_value you have to use php_admin_value, not sure.
this is explained in "Chapter 3. Configuration" of php manual.
lenar.
""Butler, Shaun"" <sbutler <email protected>> wrote in message news:01062111140506.10472 <email protected> > is there a way to set up a different include path per virtual host in the > apache config or in the php.ini ? > > so www.blahblah.com would have /www/libs as the include path > > and > > www.moomoo.com would have /www/moo > > -- Shaun > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-general-unsubscribe <email protected> > For additional commands, e-mail: php-general-help <email protected> > To contact the list administrators, e-mail: php-list-admin <email protected> >
-- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: php-general-unsubscribe <email protected> For additional commands, e-mail: php-general-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Thies C. Arntzen: "Re: [PHP] PHP + Oracle + OCIPLogon"
- Previous message: Jeff Armstrong: "[PHP] PHP no longer logging errors - found them!"
- Maybe in reply to: Butler, Shaun: "[PHP] Apache config + PHP include paths"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

