Re: how 2 force php4apache.dll to read php.ini ?
| From: | Andy Hoffman | Date: | Wed, 22 Nov 2000 16:54:05 +0000 |
| Subject: | Re: how 2 force php4apache.dll to read php.ini ? | ||
| References: | 1 2 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-4057@lists.php.net to get a copy of this message | ||
Yaroukh wrote:
> Hallo there ...
>
> It seems to me I got it (but I still hope I'm wrong) - PHP as an
> Apache-module CAN NOT load any dynamic extensions at all (at least on
> Win32). Am I wrong ???
>
> The PATH php.ini should be in is in my case "/WINNT/System32/"; this way
> php.ini is loaded ... but service can not be started anyway. Everything
> is OK untill I enable line "extension=php_interbase.dll" (or untill the
> path to extensions - "$extension_dir" - is wrong). If some extension is
> found, service (Apache) crashes.
Apache module mode loads extensions without major problems... of course, with
Apache/PHP, you have to get everything EXACTLY right, or it won't work at all :)
Anyway, the correct location for you PHP.INI with Apache module mode is in your
WINNT directory, NOT the system32 dir. Then, make sure you have your extensions_dir
set properly in php.ini, and that the extensions you wish to load are actually
located in that directory.
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com