|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| ||||||||||||||||||||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Installing PHP 5.2 under Windows XP sp2 x64
I have a computer with Windows XP x32. I installed PHP 5.1 successfully using the PHP windows installer, and doing some other manual configuration. No problem at all there.
Now, in another computer (Windows XP sp2 x64) I'm trying to install the new PHP 5.2 I've tried a lot of things, with no luck. I'm not using ISAPI filters... just creating the mapping for .php files to "php.exe" (or "php_cgi.exe" (I tried both)). The error I get when loading any php file, is: ============================================= The page cannot be found The page you are looking for might have been removed, had its name changed, or is temporarily unavailable. -------------------------------------------------------------------------------- Please try the following: Make sure that the Web site address displayed in the address bar of your browser is spelled and formatted correctly. If you reached this page by clicking a link, contact the Web site administrator to alert them that the link is incorrectly formatted. Click the Back button to try another link. HTTP Error 404 - File or directory not found. Internet Information Services (IIS) -------------------------------------------------------------------------------- Technical Information (for support personnel) Go to Microsoft Product Support Services and perform a title search for the words HTTP and 404. Open IIS Help, which is accessible in IIS Manager (inetmgr), and search for topics titled Web Site Setup, Common Administrative Tasks, and About Custom Error Messages. ========================================= That is... " 404 2" file not found error. Of course, I don't know WHAT FILE IS NOT FOUND... because the php file I'm trying to load IS there.... and the virtual directory created under IIS works fine. Any help is very welcomed. The only solution I'm seeing is to install Windows XP x32 in another partition... and use that one for PHP coding... Thanks in advanced! |
|
#2
|
|||
|
|||
|
Change IIS options.
IIS on Windows x64 by default will only run 64 bit extensions or applications. Since the PHP distros available from PHP.net are only 32 bit it will not run properly. You have a few options that I am aware of to get it working.
1: Switch IIS to 32 bit mode. Details here: http://blogs.technet.com/mbaher/arc...iis-64-bit.aspx or 2: Download 64 bit PHP distro from here and follow their install instructions (Some extensions may not work properly): http://www.fusionxlan.com/PHPx64.php or 3: Install another Webserver on your x64 system and use that instead of IIS. (You still may run into issues) I use the first method in my environment. I hope this helps Respectfully, Jeremy |
|
#3
|
|||
|
|||
|
Thanks crypt-keeper, I'll follow your advice.
Most probably, I'll install IIS x32 |
|
#4
|
|||
|
|||
|
Thanks crypt-keeper, I'll go with the 32-bit IIS option.
|
|
#5
|
|||
|
|||
|
Quote:
Let us know if this solves your problem. |
|
#6
|
|||
|
|||
|
Yes! It works now!
Thanks!. |
|
#7
|
|||
|
|||
|
Quote:
Great, I'm glad it worked for you. |
![]() |
| Viewing: Codewalkers Forums > PHP Related > PHP Installation > Installing PHP 5.2 under Windows XP sp2 x64 |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|
|