Re: How to install PhP in Windows

From: Date: Sat, 21 Oct 2000 05:53:19 +0000
Subject: Re: How to install PhP in Windows
References: 1 2 3  Groups: php.windows 
Request: Send a blank email to php-windows+get-3421@lists.php.net to get a copy of this message
> Using Win98SE, Apache 1.3.14, PHP 4.0.2 from www.php4win.de > > At first I thought this was due to me not using Win NT, but I guess PHP > being used as an Apache module should not cause platform troubles. > > First, php4apache.dll was NOT in the mod_php4 dir. I had to copy it. Next, I > had to edit the PHP.INI file to state that extensions are NOT in the c:\php > dir. The I needed to comment out the php_ifx.dll file because the module > kept saying it's not there (and it IS there). After all that bother, I > started Apache again and it crushed, windows reporting an illegal operation. > I restarted, messed around and flipped finally, since I'm writing this after > 10 hours of constant trying to make PHP work (of which 3 hours have been > spent with your method and this method has gotten me furthest). > > OK, I admit, I'm desperate. HELP! if you're using a server module (isapi, apache module), you'll have to take care that some extensions are still not threadsafe. id you're trying to load a nonthredsafe extesion into a multithreaded server, it'll go nuts (crash). most php 4 extensions are threadsafe, but no all (like gd). due to the architecture of cgi the cgi sapi doesn't have to be threadsafe, which means that you can use threadsafe, and not threadsafe extensions with it. what you have to do is to start the apache module without any extension first, and then activate them one by one. in the next release we will deactivate them all by default, and list which are threadsafe and which not. greetings daniel /*-- daniel beulshausen - daniel@php4win.de using php on windows? http://www.php4win.de

« previous php.windows (#3421) next »