[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
Hi, I am in a big problem, My manager gave a task, He want a PHP scrip which will check if the remote machines are Powered on and are running. He want this to be done using eclipse. He also want a log in a HTML or text file that which remote machine is running and which remote machine is down/powered off for each machine Can you help me. Thanks in advance , Santosh Gunat
[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
I had allways used PHP as an Apache module up intil now. They seem incompatible. I reinstalled PHP as a CGI binary. PHP inserts the following: #BEGIN PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL ScriptAlias /php/ "C:/Program Files/PHP536/" Action application/x-httpd-php "C:/Program Files/PHP536/php-cgi.exe" #END PHP INSTALLER EDITS - REMOVE ONLY ON UNINSTALL Apache will start now but when I try to run any PHP scripts, Apache trys to add "/Program Files" to the physical path; I get the page not found error and the following in the log file: "File does not exist: C:/WEBSITE/docs/Program Files" What is wrong?? "Tommy Pham" wrote in message news:AANLkTi=mAdEfjXtDYAoY2gh=5jXxO-ZA1E=bxm+an...@mail.gmail.com... On Fri, Mar 25, 2011 at 1:44 PM, Pierre Joye wrote: > On Fri, Mar 25, 2011 at 8:12 PM, Tommy Pham wrote: > >> There used to be a VC6 binary release for PHP v5.3.3 at >> windows.php.net but I don't see a VC6 build for v5.3 now. Any way, >> since you're using using Windows, why not just run it as FastCGI? It >> runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2. > > Apache module works just fine and is in many situations much faster than > fcgi. I've never tested the difference for performance. If that's the case, any particular reason to stop support ISAPI for IIS then? or is FastCGI faster than ISAPI for IIS? Prior to upgrading to PHP v5.3 and Windows 64bit, I had faster initial response time from ISAPI. Now with FastCGI, the initial response takes longer. As for performance difference through repeated requests, I don't notice the difference between ISAPI v5.2 and FastCGI v5.3. > >> Are using a specific Apache module that's why you need to use httpd? >> If so, you could use the (non official) Apache Lounge's binary. > > There are no official builds of Apache, but convenience builds. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > I've meant official in the sense that one could download from the official/mirror site. Thus it's more trust worthy, in terms of non malicious code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
On Sat, Mar 26, 2011 at 1:47 AM, Tommy Pham wrote: > I've never tested the difference for performance. If that's the case, > any particular reason to stop support ISAPI for IIS then? or is > FastCGI faster than ISAPI for IIS? It is faster, however the ISAPI was not maintained and has issues. But what is the relation with Apache? > I've meant official in the sense that one could download from the > official/mirror site. Thus it's more trust worthy, in terms of non > malicious code. The developers at apachelounge.com work with th Apache project. We would not recommend to use it if we do not trust this project. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
Re: [PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
Try third binary instead of official one. Best regards, Sharl.Jimh.Tsin (From China **Obviously Taiwan INCLUDED**) 2011/3/26 Tommy Pham : > On Fri, Mar 25, 2011 at 1:44 PM, Pierre Joye wrote: >> On Fri, Mar 25, 2011 at 8:12 PM, Tommy Pham wrote: >> >>> There used to be a VC6 binary release for PHP v5.3.3 at >>> windows.php.net but I don't see a VC6 build for v5.3 now. Any way, >>> since you're using using Windows, why not just run it as FastCGI? It >>> runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2. >> >> Apache module works just fine and is in many situations much faster than >> fcgi. > > I've never tested the difference for performance. If that's the case, > any particular reason to stop support ISAPI for IIS then? or is > FastCGI faster than ISAPI for IIS? Prior to upgrading to PHP v5.3 and > Windows 64bit, I had faster initial response time from ISAPI. Now > with FastCGI, the initial response takes longer. As for performance > difference through repeated requests, I don't notice the difference > between ISAPI v5.2 and FastCGI v5.3. > >> >>> Are using a specific Apache module that's why you need to use httpd? >>> If so, you could use the (non official) Apache Lounge's binary. >> >> There are no official builds of Apache, but convenience builds. >> >> Cheers, >> -- >> Pierre >> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org >> > > I've meant official in the sense that one could download from the > official/mirror site. Thus it's more trust worthy, in terms of non > malicious code. > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
On Fri, Mar 25, 2011 at 1:44 PM, Pierre Joye wrote: > On Fri, Mar 25, 2011 at 8:12 PM, Tommy Pham wrote: > >> There used to be a VC6 binary release for PHP v5.3.3 at >> windows.php.net but I don't see a VC6 build for v5.3 now. Any way, >> since you're using using Windows, why not just run it as FastCGI? It >> runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2. > > Apache module works just fine and is in many situations much faster than fcgi. I've never tested the difference for performance. If that's the case, any particular reason to stop support ISAPI for IIS then? or is FastCGI faster than ISAPI for IIS? Prior to upgrading to PHP v5.3 and Windows 64bit, I had faster initial response time from ISAPI. Now with FastCGI, the initial response takes longer. As for performance difference through repeated requests, I don't notice the difference between ISAPI v5.2 and FastCGI v5.3. > >> Are using a specific Apache module that's why you need to use httpd? >> If so, you could use the (non official) Apache Lounge's binary. > > There are no official builds of Apache, but convenience builds. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > I've meant official in the sense that one could download from the official/mirror site. Thus it's more trust worthy, in terms of non malicious code. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] Re: [PHP-WIN] Re: [PHP] Which versions of Apache will PHP 5.3.6 work with??
On Fri, Mar 25, 2011 at 8:12 PM, Tommy Pham wrote: > There used to be a VC6 binary release for PHP v5.3.3 at > windows.php.net but I don't see a VC6 build for v5.3 now. Any way, > since you're using using Windows, why not just run it as FastCGI? It > runs fine on Win2003 (x86), Win7 x64, Win08 (x86 & x64), and Win08r2. Apache module works just fine and is in many situations much faster than fcgi. > Are using a specific Apache module that's why you need to use httpd? > If so, you could use the (non official) Apache Lounge's binary. There are no official builds of Apache, but convenience builds. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php