php-general | 2000071
Date: 07/13/00
- Next message: Peter Arien: "[PHP] Apache ErrorDocument no longer works with PHP4"
- Previous message: Michael Teter: "Re: [PHP] why is this not a bug?"
- In reply to: Stanislav Malyshev: "[PHP] Re: [PHP-INST] php.ini search path?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Rasmus Lerdorf: "Re: [PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Stanislav Malyshev: "[PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Abdul-Kareem Abo-Namous: "[PHP] user agent strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I have since tried setting PHPRC just to make sure
that works, and no luck.
I export PHPRC=<location of php.ini>
Then start httpd which calls the libphp4.so module.
The php.ini doesn't seem to be seen (no change of values in phpinfo())
Also, I've tried 'strace -f' on httpd which hangs the process
with no useful information given about config file path or PHPRC.
strace without -f only tells me what httpd is calling.
Any tips on running strace against a module run by httpd?
Help!
> DM>> What is the search path for php.ini when loading
> DM>> PHP4 as a module via apache on UNIX?
>
> .:<config_value>:<phprc_value>
>
> Where config_value is value that you have defined in --config-file-path or
> /usr/local/lib
> phprc_value is value of PHPRC variable.
>
> DM>> I do not want to include the php.ini in the compile-time
> DM>> defined directory, so what is the "current working directory"
> DM>> as defined at the top of the php.ini-dist file?
> DM>> It is NOT apache/, nor apache/php/, nor apache/htdocs/ nor
> DM>> apache/libexec/ (location of libphp4.so). Where is it?
>
> You can always use strace to see.
-- 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: Peter Arien: "[PHP] Apache ErrorDocument no longer works with PHP4"
- Previous message: Michael Teter: "Re: [PHP] why is this not a bug?"
- In reply to: Stanislav Malyshev: "[PHP] Re: [PHP-INST] php.ini search path?"
- Next in thread: Rasmus Lerdorf: "Re: [PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Rasmus Lerdorf: "Re: [PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Stanislav Malyshev: "[PHP] RE: [PHP-INST] php.ini search path?"
- Reply: Abdul-Kareem Abo-Namous: "[PHP] user agent strings"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

