Re: PHP and both cgi and module, using nonexistent php.ini files...
| From: | Rasmus Lerdorf | Date: | Mon, 01 Oct 2001 22:41:56 +0000 |
| Subject: | Re: PHP and both cgi and module, using nonexistent php.ini files... | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-4464@lists.php.net to get a copy of this message | ||
phpinfo() tells you exactly where it is looking for php.ini
On Mon, 1 Oct 2001, Eric D Nielsen wrote:
> I am trying to install sf-genericinst (SourceForge Generic Install) which wants both
> module and cgi versions of php installed for various tasks. I have installed both
> versions. The cgi version has been confirmed to work. The module version has not as
> apache is very much not happy. Part of the sf-genericinstall setup script fails while
> executing php scripts (cgi invocation) because it is not using the correct include path.
>
> Both modules were configured with --with-config-file-path=stuff/apache/conf and the php.ini
> file is placed in that directory. There is no other php.ini file in the system. there are
> the -dist and -optimized in the php install directory. I have added the needed paths to
> the php.ini file in apache/conf/ but the script still fails and when it lists the include
> path is does not contain the added directories.
>
> Where is the cgi version sourcing its php.ini from? Is it simply not using one? How do I
> make it use one?
>
> Many thanks
> Eric Nielsen
>
>