Re: 64-bit PHP binaries

"Morris" <[email protected]>
Newsgroups gmane.comp.php.windows
Message-ID <[email protected]>
Hi Everyone. Thanks to all of you for the great input here. I will give a 
step by step of what I am doing now.

Platform is Windows 2008 R2 standard 64bit with all updates installed.

I deleted the php folder on the c:\ drive.
I removed the filters and mapping on IIS
I deleted the registry setting hklm\software\php

I created the environment variable path values c:\php and c:\php\ext as 
suggested on some sites.
I went to http://www.microsoft.com/web/downloads/platform.aspx to install 
php but cannot find it there.
I went to 
http://www.microsoft.com/web/gallery/install.aspx?appsxml=&appid=PHP%3bPHP%3bPHP 
and tried it from from there. Here I received the comment that I can install 
php 5.2.12. I selected it and clicked install and accept. It installed 
successfully. (it must have been the collective auro from this forum helping 
it to get installed cause I promise I tried this about 5 times before and it 
never wanted to install.)
I went to control panel, programs and confirmed php was installed.
I noticed that the php was install under program files on the c drive which 
a lot of people are saying is wrong. but for now I will leave it there.
I opened a command prompt and went to the php folder and ran "php -info" and 
received the output which seems to show it is working.
I opened php.ini and changed the settings as suggested as per 
http://www.php.net/manual/en/install.windows.iis7.php
I opened IIS to check the handler mapping and it was configured as 
suggested.

The hotfix/update I saw on 
http://www.microsoft.com/downloads/details.aspx?FamilyID=70278393-3291-4aa1-870b-0e9b0907bddf&DisplayLang=en. I 
could not isntall it as it complained about the installer service not 
working.

I tried to install the administration pack from 
http://www.iis.net/expand/AdministrationPack which tells me it is not 
supported on my platform.

That is where I am at the moment and still a no go. I will try Don's 
troubleshooting page next. As soon as I have this resolved I will post here.














"Venkat Raman Don" <[email protected]> wrote in message 
news:3FA2AD39E9964240B4E6DD4AE62E031B45319227@TK5EX14MBXC120.redmond.corp.microsoft.com...
> Hi Morris,
>
> What hotfix you are talking about? There is none to my knowledge required 
> to run PHP. 32-bit PHP runs pretty well on 64-bit OS. This is what user 
> configure. Pierre has already provided you a link to install PHP on IIS7. 
> That should help. A recommended way of running PHP is using IIS FastCGI. 
> If you want to have bare minimum problem, please try Microsoft Web 
> Platform Installer. It will install PHP 5.2.12 for you. You can also go 
> through below blogs of mine where I have explained things in detail. In 
> particular go through the troubleshooting blog which will help you narrow 
> down the problem. An important point, if you prior to doing fresh 
> installation through Web Platform Installer or any other way, please 
> ensure that your current installation is totally wiped out from PHP 
> executable point of view as well as remove any handler mapping you have 
> done in IIS or any registry tweak you have done to load the INI files. 
> Here are the blog link:
>
> http://blogs.iis.net/donraman/archive/2009/10/07/installing-php-on-windows.aspx
> http://blogs.iis.net/donraman/archive/2009/10/08/upgrading-to-php-5-3-an-easy-way.aspx
> http://blogs.iis.net/donraman/archive/2009/11/15/troubleshooting-php-installation-on-windows.aspx
>
> Let me know in case you have any problem.
>
> Thanks,
> Don.
>
> -----Original Message-----
> From: Morris [mailto:[email protected]]
> Sent: Thursday, February 11, 2010 3:53 AM
> To: [email protected]
> Subject: Re: [PHP-WIN] 64-bit PHP binaries
>
> 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" <[email protected]> wrote in message
> news:[email protected]...
>> hi,
>>
>> On Thu, Feb 11, 2010 at 11:10 AM, Morne Fourie <[email protected]> 
>> 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
>
> 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.