php-windows Digest 20 Feb 2001 09:16:58 -0000 Issue 454 Topics (messages 5638 through 5646): Re: Apache, PHP on win 98 5638 by: Charlie Turner 5640 by: Daniel Beulshausen Non-response/hang problem with W2K,Apache,PHP 5639 by: Mayo, Bill Problems with Apache 1.3.17, PHP 4.0.4pl1 and Netscape 6 5641 by: William Stockall 5642 by: Torsten Curdt 5643 by: Gonzalo Vera crash cause ... ? 5644 by: phobo Failed opening - NT4 SP6a, O'Reilly WebSite Pro 2.5, PHP4 5645 by: Bob Ferguson WEALTH ON THE WEB! 5646 by: Noel Hadfield Administrivia: To subscribe to the digest, e-mail: [EMAIL PROTECTED] To unsubscribe from the digest, e-mail: [EMAIL PROTECTED] To post to the list, e-mail: [EMAIL PROTECTED] ----------------------------------------------------------------------
YC> Here is the content of the install.txt include in the php4 distribution. YC> You have to follows what they say and it works fine. YC> Apache: YC> 1. Stop the Apache Webserver. YC> Edit the httpd.conf and put in these lines, modified to your environment: YC> 2. Unzip the Package to c:\php, now move php4ts.dll to the YC> windows/system(32) directory, overwritte any older file! Can I ask for confirmation of the position of this .dll please, I have been told both c:\windows\system and c:\windows\system32? Thanks. ceejay
At 18:11 19.02.2001 +0000, Charlie Turner wrote: >YC> Here is the content of the install.txt include in the php4 distribution. >YC> You have to follows what they say and it works fine. > >YC> Apache: >YC> 1. Stop the Apache Webserver. >YC> Edit the httpd.conf and put in these lines, modified to your environment: >YC> 2. Unzip the Package to c:\php, now move php4ts.dll to the >YC> windows/system(32) directory, overwritte any older file! > >Can I ask for confirmation of the position of this .dll please, I have >been told both c:\windows\system and c:\windows\system32? Thanks. windows\system || winnt\system32 or append the path to php and the dlls to the PATH env-var. daniel /*-- daniel beulshausen - [EMAIL PROTECTED] using php on windows? http://www.php4win.de
I have just installed a new installation with Windows 2000 Server (sp1), Apache 1.3.17 and PHP 4.0.4pl1. I am using PHP as a module. I have a couple of pages that use an ODBC driver to interact with a database (one is Access the other is MSSQL7). About every 3rd attempt to load one of these pages will result with the page never loading. If I hit Stop and do it again it will work (until the next 3rd try). Sometimes Apache will just completely hang and I have to stop and restart the service. I understand the disclaimers about it being buggy (particularly with the Apache module), I am just trying to find out if there is possibly something I am doing wrong. For comparison purposes, I have another web server running NT 4, IIS 4 and PHP (ISAPI module) with no problems. I have even reconfigured PHP to work as a CGI (on the Apache box). When trying to make the ODBC connections in this setup, it always fails when trying to connect to the datasource (my guess is that it is a timing issue...the CGI method loads slower; I had the same problem using the CGI on IIS). I have also tried using a native SQL7 connection, but that hung up Apache about every other request. I apologize if my question is answered elsewhere, but I have been unable to find any documentation about it. I am desperately trying to keep from having to run IIS... ~~~~~~~~~~~~~~~~~~~ Bill Mayo Network Administrator Pitt County MIS
I had Apache 1.3.12 running with PHP 4.0.4 previously as a cgi. I couldn't compile the Apache module. When there was mention of Apache 1.3.17 on this list I went and got it. Hooray! I could compile my Apache module. Now, however, if Apache is running with the PHP module loaded Netscape 6 will not start until Apache is shutdown. I tried downloading PHP 4.0.4pl1 binaries from php.net, but the result is the same. If I don't load the PHP module, everything works fine. If the module is loaded and I try to start Netscape 6 nothing will visibly happen, but when I shut down Apache I get an error in winoldap and Netscape suddenly starts. I am running on Windows 95, Apache 1.3.17, PHP 4.0.4pl1. Does anyone have any idea at all what might be causing this bizarre problem? Will.
> I had Apache 1.3.12 running with PHP 4.0.4 previously as a cgi. I > couldn't compile the Apache module. When there was mention of Apache > 1.3.17 on this list I went and got it. Hooray! I could compile my > Apache module. Now, however, if Apache is running with the PHP module > loaded Netscape 6 will not start until Apache is shutdown. I tried So with 1.3.17 it is now possible to run PHP4 not just as CGI but also as module?? (Well, apart from the problem you were talking about ;) -- Torsten
I placed a bug report some weeks ago at bugs.php.net, stating this problem, related but not limited to a few applications that wouldn't start until apache is shut down (only with php as module). Now it seems we can add Netscape to the list. One of the dev people asked for more info which -I admit- I haven't gone back to give. You could probably add to the bug report. Bug number 8866, also related to bugs 8864 and 8865. I think you might be having this same trouble. Regards, Gonzalo. > I had Apache 1.3.12 running with PHP 4.0.4 previously as a cgi. I > couldn't compile the Apache module. When there was mention of Apache > 1.3.17 on this list I went and got it. Hooray! I could compile my > Apache module. Now, however, if Apache is running with the PHP module > loaded Netscape 6 will not start until Apache is shutdown. I tried > downloading PHP 4.0.4pl1 binaries from php.net, but the result is the > same. If I don't load the PHP module, everything works fine. If the > module is loaded and I try to start Netscape 6 nothing will visibly > happen, but when I shut down Apache I get an error in winoldap and > Netscape suddenly starts. I am running on Windows 95, Apache 1.3.17, > PHP 4.0.4pl1. Does anyone have any idea at all what might be causing > this bizarre problem? > Will.
Hi, I have test environment with PHP 403sp1 (CGI) running on Apache 1.3.14 on a low end (133mhz, 32mb RAM) Pentium with Windows 98. For some reason the whole set up seems very unstable, and PHP causes general protection faults consistantly with my scripts which work well on a Windows 2000 machine with the same Apache/PHP setup. On the failing Win98 machine, nothing is logged by Apache, and all I get on the browser window is Internal Server Error. Simple scripts work fine - it seems to me that the machine is getting clogged and can't handle more than 1-2 hits simutanouesly, although it would be nice to know if this is truely the case. How can I see what the problem is? Is there some method of turning a higher level of logging on, in Apache or PHP etc? Siggy
Sorry for the cross-post, but I'm getting a bit desperate here. I've read through the archives of both lists and tried the suggestions there, but nothing is helping. I continue to get: Warning: Failed opening '\\host\share\domain-name\htdocs\formmail.php' for inclusion (include_path='') in Unknown on line 0 I even created a page that had no PHP, just to see if I could get it to load (trying to remove the chance of coding errors), but got the same problem. include_path is blank, though I've tried several different options of pointing to the Web root, the PHP directory and using the "." -- all with the same result. doc_root is pointed to the Web root -- \\host\share\. user_dir is blank extension_dir is pointed to the location on the Web server where the extensions are located -- "c:\php4\extensions\". I should point out that the Web files are located on a separate machine, but the account that WebSite runs under has rights to that location. Honestly, I've not been able to complete understand the include_path. Why do I need it? What am I including? Help on this would be greatly appreciated as the client is getting toasted that this is not running. Thank you. Bob Ferguson Sound Data, Inc. 1467 Elliott Avenue West, Seattle, WA 98119 Voice: +1 206.283.0600 Fax: +1 206.283.0782 Providing Web site design and hosting services (http://www.sounddata.com) and developers of Internet ArtResources (http://www.artresources.com), ArtWatch Art Management Systems (http://www.sounddata.com/artwatch/) and the intervault Data Backup System (http://www.sounddata.com/intervault/).
Get a FREE copy of the exciting 48-page booklet "Inside Secrets to Wealth on the Web". Just hit Reply and send a blank message with "Inside Secrets" on the Subject line.