PHP Installation
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Codewalkers ForumsPHP RelatedPHP Installation

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Codewalkers Forums Sponsor:
  #1  
Old April 17th, 2009, 06:37 AM
SysGod SysGod is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 5 SysGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 55 sec
Reputation Power: 0
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!

Reply With Quote
  #2  
Old April 20th, 2009, 12:07 PM
crypt-keeper crypt-keeper is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Southwest Virginia
Posts: 40 crypt-keeper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 20 h 10 m 43 sec
Reputation Power: 2
Send a message via Yahoo to crypt-keeper Send a message via XFire to crypt-keeper
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

Reply With Quote
  #3  
Old April 20th, 2009, 12:29 PM
SysGod SysGod is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 5 SysGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 55 sec
Reputation Power: 0
Thanks crypt-keeper, I'll follow your advice.

Most probably, I'll install IIS x32

Reply With Quote
  #4  
Old April 20th, 2009, 12:52 PM
SysGod SysGod is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 5 SysGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 55 sec
Reputation Power: 0
Thanks crypt-keeper, I'll go with the 32-bit IIS option.

Reply With Quote
  #5  
Old April 20th, 2009, 05:52 PM
crypt-keeper crypt-keeper is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Southwest Virginia
Posts: 40 crypt-keeper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 20 h 10 m 43 sec
Reputation Power: 2
Send a message via Yahoo to crypt-keeper Send a message via XFire to crypt-keeper
Quote:
Originally Posted by SysGod
Thanks crypt-keeper, I'll go with the 32-bit IIS option.


Let us know if this solves your problem.

Reply With Quote
  #6  
Old April 21st, 2009, 06:23 AM
SysGod SysGod is offline
Registered User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Apr 2009
Posts: 5 SysGod User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 19 m 55 sec
Reputation Power: 0
Yes! It works now!

Thanks!.

Reply With Quote
  #7  
Old April 21st, 2009, 07:16 AM
crypt-keeper crypt-keeper is offline
Contributing User
Codewalkers Newbie (0 - 499 posts)
 
Join Date: Nov 2008
Location: Southwest Virginia
Posts: 40 crypt-keeper User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 Day 20 h 10 m 43 sec
Reputation Power: 2
Send a message via Yahoo to crypt-keeper Send a message via XFire to crypt-keeper
Quote:
Originally Posted by SysGod
Yes! It works now!

Thanks!.


Great, I'm glad it worked for you.

Reply With Quote
Reply

Viewing: Codewalkers ForumsPHP RelatedPHP Installation > Installing PHP 5.2 under Windows XP sp2 x64


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump




 Free IT White Papers!
 
How to Present Effectively Online
This white paper offers practical and actionable advice on the key steps that any presenter should consider as they plan and execute a Webinar or online meeting.

Request Your Free Technology Downloads!
 
Open Source Security Myths
Open Source Software (OSS) is computer software whose source code is available to the general public with relaxed or non-existent intellectual property restrictions (or arrangement such as the public domain), and is usually developed with the input of many contributors.

Request Your Free Technology Downloads!
 
Power and Cooling Capacity Management for Data Centers
This paper describes the principles for achieving power and cooling capacity management.

Request Your Free Technology Downloads!
 
Scalable, Fault-Tolerant NAS for Oracle - The Next Generation
For several years NAS has been evolving as a storage alternative for Oracle databases, and for good reason: NAS is quite often the simplest, most cost-effective storage approach for Oracle. Learn about the benefits that HP's approach to scalable NAS brings to Oracle environments in this comprehensive white paper.

Request Your Free Technology Downloads!
 
Understanding Web Application Security Challenges
This white paper discusses many common threats and preventive measures for Web application security, and explains what you can do to help protect your organization.

Request Your Free Technology Downloads!
 

Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 




© 2003-2009 by Developer Shed. All rights reserved. DS Cluster 5 Hosted by Hostway
For more Enterprise Application Development news, visit eWeek