home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Ask a Tech Support Question (free)!

Problem with 32 bit PHP on windows server 2003 64 bit edition

Reply
Get bargains at  »  Dealighted.com
 
Thread Tools Search this Thread
Currently Active Users: 2149
Discussions: 200,915, Posts: 2,378,975, Members: 246,282
Old July 14th, 2008, 01:17 PM   Digg it!   #1 (permalink)
Junior Member
 
Join Date: Jul 2008
Posts: 5
Problem with 32 bit PHP on windows server 2003 64 bit edition

Recently I have found a need to install PHP on one of our web servers. The issues that have been cropping up with this installation have been a head ache and until this point solvable with a little google grease and some problem solving. However I seem to have hit a road block. Im not extremely familiar with the workings of servers in general and intalling PHP and getting to this point has been a great learning experience.

So i've got it working, sort of the .php sites are being found but im getting a 500 error. Now the tutorial I had been following

(http://www.peterguy.com/php/install_IIS6.html#phpConfigure)

suggested changing the configuration of my server using a CScript command. However when I execute the command

cscript %SYSTEMDRIVE%\inetpub\adminscripts\adsutil.vbs SET W3SVC/AppPools/Enable32bitAppOnWin64 1

my server does something funky and it no longer serves any of the files, you can't access the main site via ip or http nor can you access any of the files in the directories. I have a feeling that this has something to do with the 32 bit emulation but I am at a complete loss as to what to do next. Resetting the 32bitappon64 value to 0 fixes the issue but then I get the 500 error again and can't run my php scripts. Any helpful hints or instructions would be greatly appreciated.

As stated in the title this is a windows server 2003 64 bit edition i am using IIS to administrate the sites
TinMan486 is offline   Reply With Quote
Old July 14th, 2008, 01:47 PM     #2 (permalink)
SoMuchAnime-SoLittleTime
 
EXreaction's Avatar
 
Join Date: Aug 2003
Location: Plymouth, WI
Posts: 14,981
Blog Entries: 1
Send a message via MSN to EXreaction
PHP: Microsoft IIS / PWS - Manual

You should follow the instructions on the php.net website.
__________________
My photography: Flickr

Lithium Studios - phpBB3, PHP, and Web Development
EXreaction is offline   Reply With Quote
Old July 14th, 2008, 02:01 PM     #3 (permalink)
Junior Member
 
Join Date: Jul 2008
Posts: 5
i have but for being the official php website it is archaic and not really to my tastes. Im surfing a few different sources now but any help or suggestions would be appreciated.
TinMan486 is offline   Reply With Quote
Old July 14th, 2008, 02:54 PM     #4 (permalink)
Junior Member
 
Join Date: Jul 2008
Posts: 5
To be more clear, the error I am getting is not with PHP. I run the script to start the 32 bit emulation and my server that was working just fine hosting the pages but returning 500 errors for my php pages because they are 32 bit programs begins returning a service unavailable error is there any service or ultility I may be missing?
TinMan486 is offline   Reply With Quote
Old August 19th, 2008, 11:04 AM     #5 (permalink)
Junior Member
 
Join Date: Aug 2008
Posts: 1
32 bit PHP on windows server 2003 64 bit edition

Hi,

I had the exact same problem and found that you have to run .net framework in 32bit mode, not 64bit. Once you have done this (Instructions Link Below) all should work fine.

How to switch between the 32-bit versions of ASP.NET 1.1 and the 64-bit version of ASP.NET 2.0 on a 64-bit version of Windows

Regards,

David.
clearconnect is offline   Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Similar Threads
Thread Thread Starter Forum Replies Last Post
windows 32 bit on 64 bit processor pullmyfoot Applications and Operating Systems 4 August 21st, 2006 04:16 PM
Microsoft Windows XP Professional X64 - 64 Bit Edition md300 Applications and Operating Systems 1 May 20th, 2005 01:56 PM
windows xp 64 bit edition newcomp Applications and Operating Systems 8 February 9th, 2005 06:05 PM
Windows 9x question about 32-bit and 16-bit software installation Nancy P. Applications and Operating Systems 7 October 12th, 2004 12:46 PM
How to install PHP on windows 2003 server? gicio Applications and Operating Systems 1 August 7th, 2003 06:30 PM


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Most Active Discussions
Is It Just Me? (2829)
Why is Khalid Sheikh Mohammed even .. (7)
Is the PSU I received dead? (10)
Install XP pro and a Vista laptop ?.. (8)
HIS HD5770 graphic card question (15)
A good PSU? (10)
Foreign voltage (7)
Print spooler problem (9)
New Computer wont recognize XP disc (7)
Dept. of HS: NSA 'Helped' Develop V.. (12)
Ideal cheap graph card for PC-Gamin.. (15)
EVGA 9800 gtx help with finding a g.. (7)
Modern Warfare 2: Who Bought It? (60)
Mysterious Boot manager (9)
Recent Discussions
Problem with speed step/turbo boost? (0)
SIS 740 and Widescreen (8)
Baffling Problem with my CPU/MoBo's. .. (0)
Display shows 3x5 inch in middle of s.. (0)
Print spooler problem (9)
windows vista security holes (3)
HIS HD5770 graphic card question (15)
Best file format to play on Windows H.. (0)
PSP Go bought in Japan (0)
Foreign voltage (7)
Asus P4G8X Mobo (3)
World's largest Monopoly Game using G.. (329)
EVGA 9800 gtx help with finding a goo.. (7)
Need hard disk drivers (4)
windows 7 internet problem (4)
What OS for a home server? (other tha.. (1)
Boot Problem? (0)
Logitech G9 laser gaming mouse $59.95.. (2)
$5 off any item with the purchase of .. (1)
Ideal cheap graph card for PC-Gaming? (15)
Install XP pro and a Vista laptop ?? (8)
Cloning old drive to new drive (6)
Amptron monitor G17FP-Black (0)
A good PSU? (10)
Is the PSU I received dead? (10)


All times are GMT -4. The time now is 12:37 PM.
TechIMO Copyright 2009 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28