Re: R: [PHP-WIN] 4.0.3 as module on apache

From: Date: Thu, 12 Oct 2000 20:44:11 +0000
Subject: Re: R: [PHP-WIN] 4.0.3 as module on apache
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-3210@lists.php.net to get a copy of this message
n e t b r a i n wrote: > Andy wrote: > > > LoadModule php4_module "/php/sapi/php4apache.dll" > > Thanks, it was what I'm looking for .. :-) > > Just another question: > > - Now I'm getting a new error: Failed loading C:\Program > Files\Zend\lib\ZendOptimizer.dll ... the problem is that Zend Opt. before > switching to module loading used to work properly ... (the physical path of > it is correct and I've not change nothing in the php.ini) Try changing the reference to Zend Optimizer in you php.ini to use *front-slashes* instead of *back-slashes* in you php.ini. Apache Module mode only wants to see Unix-style directory names, so make sure EVERYTHING in php.ini which specifies a directory uses front-slashes (including extension_dir, etc.)... although my Zend settings in php.ini are the following: zend_optimizer.optimization_level=15 zend_extension_ts="C:\php\extensions\ZendOptimizer.dll" Hmmm.... what versions of php4 and Zend Optimizer are you running, and where did you get them? Zend Opt. is very specific about running with a MATCHED version of php. > - And more: where I could put the extensions in order to be loaded properly? > how can I refer to them on the php.ini? I've tryed like this > *extension=extensions/php_zlib.dll* and more other solutions but nothing > seems to work ... Extensions should be placed in whatever directory is referenced by your "extension_dir" setting in php.ini. -- Andy Hoffman Web Developer Bristol-Myers Squibb email: andy.hoffman@bms.com

« previous php.windows (#3210) next »