Problem with -c option and --with-config-file-path option
| From: | Mark Striebeck | Date: | Fri, 28 Mar 2003 06:16:41 +0000 |
| Subject: | Problem with -c option and --with-config-file-path option | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-401@lists.php.net to get a copy of this message | ||
Hi,
we are building PHP with the --with-config-file-path compile setting to get our php.ini file from our own location.
Now, in some scenarios we need to run PHP with the -c command line option to get the php.ini file from a different location.
This seems to cause problems!
When using the -c command line option, our PHP files cannot find their includes anymore.
My last attempt was to set the -c command line option to the exact same location that we use for the --with-config-file-path compile setting. With the same result: without the -c option everything works, with the -c setting the include files are not found.
What are the differences between these two options? Does the -c have any other side effects?
Thanks
MarkS
---------------------------------------------------
Mark Striebeck SourceForge Engineering Manager VA Software http://www.vasoftware.com