Prev: Server side redirection - yet again
Next: exception throw from __autoload could not be catched on php 5.3.1
From: "Morne Fourie" on 11 Feb 2010 05:10 Hi Pierre. Thanks, it is all getting a lot clearer now. However, there is still one more problem. Initially when i deployed PHP on this server I used the 5.3 nts version but could not get it working. If i ran the cammand line i could see it was working but it would not deliver the pages via a webbrowser. As per my earlier post i get a dot net error. This brought me to the point where i started thinking this is a 64bit issue. I also stated earlier that i think there is a setting that is not configured and that is not on the documentation and that is why it is not working. I however have been unable to figure out where the problem is. There is a lot of mention of running a command on IIS to get it to run as a 32bit version. Is this true? Best Regards, Morné Fourie AFRIDATA.net Cell: +27 83 283 5893 Office: +27 83 283 5893 Fax: 086 658 5062 Email: morne(a)afridata.net <mailto:morne(a)afridata.net> ________________________________ From: Pierre Joye [mailto:pierre.php(a)gmail.com] Sent: Thu 2010/02/11 12:05 PM To: Morne Fourie Cc: php-windows(a)lists.php.net Subject: Re: [PHP-WIN] 64-bit PHP binaries hi, On Thu, Feb 11, 2010 at 9:04 AM, Morris <morne(a)afridata.net> wrote: > Thanks Pierre. I believe this statement was made a while back as well and no > show. How can we get them to post the RC1 code so I can test it on one of my > staging servers? It would be great to know if there is a future in PHP > (Smirk) as we are deploying some production sites on it. The problem Is that > we may have webapps in the future which are developed for 64 bit and then we > cannot run them as the server is in 32 bit mode. Or am I missing something > big here? I am fairly new to IIS 7 on win2k8 so it is still a steep learning > curve. Again: The recommendation (from php.net and from Microsoft) is to run PHP x86 (32bit) on Windows x64 platform. It works very well (better than php x64 on x64) and is proven stable. PHP Web applications won't see the difference as PHP is portable, it is not aimed to be run on x64 or x86, it has to work on both. The differences at this stage on windows are: - The libraries are not tested on windows x64 and for some of them not even ported - There is no gain (no performence improvement, no larger integer or whatever else you are looking for) About configuring PHP x86 on IIS x64, this process is the same than for windows+IIS x86. See our manuals, the IIS section. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net <http://blog.thepimp.net/> | http://www.libgd.org <http://www.libgd.org/>
From: Pierre Joye on 11 Feb 2010 05:49 hi, On Thu, Feb 11, 2010 at 11:10 AM, Morne Fourie <morne(a)afridata.net> wrote: > Thanks, it is all getting a lot clearer now. However, there is still one > more problem. Initially when i deployed PHP on this server I used the 5.3 > nts version but could not get it working. If i ran the cammand line i could > see it was working but it would not deliver the pages via a webbrowser. As > per my earlier post i get a dot net error. This brought me to the point > where i started thinking this is a 64bit issue. I also stated earlier that i > think there is a setting that is not configured and that is not on the > documentation and that is why it is not working. I however have been unable > to figure out where the problem is. There is a lot of mention of running a > command on IIS to get it to run as a 32bit version. Is this true? I run x86 php on my IIS x64 windows just fine (2k3/2k8/2k8R2). There was some extra setting before with the ISAPI, but it is not required anymore as it runs through FastCGI (different process than IIS itself). See: http://www.php.net/manual/en/install.windows.iis7.php for a detailed explanation about the FastCGI setup. Cheers, -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
From: "Morris" on 11 Feb 2010 06:36 I am re-doing the whole installation tomorrow morning as per the document and let you know if it worked. I have previously used tis document on one of my tests but will try it again. ""Morne Fourie"" <morne(a)afridata.net> wrote in message news:67968BDE7A0303489896BA0F6D401732075C93(a)afrproexc001.afridata.net... > Thanks Stanislav > > I thought I had the cat by the tail on something. The plan is to rollout > some none PHP 64bit apps for IIS on this server in the future. You are > saying that I can actually run php in 32 bit and this will not cause a > problem while IIS run's in 64bit? How would I implement this? > > Regards, > Morris > >
From: "Morris" on 11 Feb 2010 06:53 Thanks Pierre. I am going to redo it in the morning. Just a quick one if I may. There is a hotfix from microsoft and some admin tools that is suggested should be installed. When I try to install it it says I have the incorrect software version or operating system. have you come across this on your travels with php installs on win2k8? "Pierre Joye" <pierre.php(a)gmail.com> wrote in message news:fe05d1541002110249g4e70f80bifdf20624d441ce7e(a)mail.gmail.com... > hi, > > On Thu, Feb 11, 2010 at 11:10 AM, Morne Fourie <morne(a)afridata.net> wrote: > >> Thanks, it is all getting a lot clearer now. However, there is still one >> more problem. Initially when i deployed PHP on this server I used the 5.3 >> nts version but could not get it working. If i ran the cammand line i >> could >> see it was working but it would not deliver the pages via a webbrowser. >> As >> per my earlier post i get a dot net error. This brought me to the point >> where i started thinking this is a 64bit issue. I also stated earlier >> that i >> think there is a setting that is not configured and that is not on the >> documentation and that is why it is not working. I however have been >> unable >> to figure out where the problem is. There is a lot of mention of running >> a >> command on IIS to get it to run as a 32bit version. Is this true? > > I run x86 php on my IIS x64 windows just fine (2k3/2k8/2k8R2). There > was some extra setting before with the ISAPI, but it is not required > anymore as it runs through FastCGI (different process than IIS > itself). > > See: http://www.php.net/manual/en/install.windows.iis7.php for a > detailed explanation about the FastCGI setup. > > Cheers, > -- > Pierre > > @pierrejoye | http://blog.thepimp.net | http://www.libgd.org
From: Pierre Joye on 11 Feb 2010 07:07
no, sorry. Not sure either which fix you ar referring to. On Thu, Feb 11, 2010 at 12:53 PM, Morris <morne(a)afridata.net> wrote: > Thanks Pierre. I am going to redo it in the morning. Just a quick one if I > may. There is a hotfix from microsoft and some admin tools that is suggested > should be installed. When I try to install it it says I have the incorrect > software version or operating system. have you come across this on your > travels with php installs on win2k8? > > "Pierre Joye" <pierre.php(a)gmail.com> wrote in message > news:fe05d1541002110249g4e70f80bifdf20624d441ce7e(a)mail.gmail.com... >> >> hi, >> >> On Thu, Feb 11, 2010 at 11:10 AM, Morne Fourie <morne(a)afridata.net> wrote: >> >>> Thanks, it is all getting a lot clearer now. However, there is still one >>> more problem. Initially when i deployed PHP on this server I used the 5.3 >>> nts version but could not get it working. If i ran the cammand line i >>> could >>> see it was working but it would not deliver the pages via a webbrowser. >>> As >>> per my earlier post i get a dot net error. This brought me to the point >>> where i started thinking this is a 64bit issue. I also stated earlier >>> that i >>> think there is a setting that is not configured and that is not on the >>> documentation and that is why it is not working. I however have been >>> unable >>> to figure out where the problem is. There is a lot of mention of running >>> a >>> command on IIS to get it to run as a 32bit version. Is this true? >> >> I run x86 php on my IIS x64 windows just fine (2k3/2k8/2k8R2). There >> was some extra setting before with the ISAPI, but it is not required >> anymore as it runs through FastCGI (different process than IIS >> itself). >> >> See: http://www.php.net/manual/en/install.windows.iis7.php for a >> detailed explanation about the FastCGI setup. >> >> Cheers, >> -- >> Pierre >> >> @pierrejoye | http://blog.thepimp.net | http://www.libgd.org > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > > -- Pierre @pierrejoye | http://blog.thepimp.net | http://www.libgd.org |