PHP and both cgi and module, using nonexistent php.ini files...
| From: | Eric D Nielsen | Date: | Mon, 01 Oct 2001 22:43:33 +0000 |
| Subject: | PHP and both cgi and module, using nonexistent php.ini files... | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-4463@lists.php.net to get a copy of this message | ||
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