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: 2140
Discussions: 200,511, Posts: 2,374,429, Members: 245,836
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,972
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? (1638)
windows 7 retail and rtm (5)
FT HOOD attack: 7 killed 12 injured (67)
HELP!!! What do you think of this s.. (18)
Review My Build (6)
Assosiations (21500)
Looking for a graphic card that wil.. (30)
My 1st pc build (40)
PC Modern Warfare 2: it's much wors.. (12)
Aero in Vista (7)
core i7 extreme 975, nvidia 9400gt (9)
How to Ship a PC (16)
Building my first computer (13)
[F@H SPAM 11/1/09]New month . . . n.. (33)
Recent Discussions
HELP!!! What do you think of this sys.. (18)
windows 7 retail and rtm (5)
New processor technical problem (0)
boot from CD-ROM in chipset via P4M80.. (2)
Powe Director v8 (0)
Windows Experience Index is screwed u.. (3)
Review My Build (6)
FAT32 to NTFS file system in Win2kpro (4)
Internet very slow since updating AVG.. (8)
Motherboards and my curse... (25)
New Processor, Monitor will not turn .. (2)
2009 Build (4)
My 1st pc build (40)
Freezing During Music/Movies (1)
ext. sound card laptop to stereo syst.. (2)
Remote Desktop via SSH and error mess.. (2)
Help and Support disappeared from my .. (0)
[F@H SPAM 11/1/09]New month . . . new.. (33)
Basic applications needed for "r.. (1)
core i7 extreme 975, nvidia 9400gt (9)
hard drive problem (2)
Win7 TrustedInstaller Permissions (2)
Speed up Win 7 boot time a bit (1)
Hard Drive test program (2)
wireless westell versalink model 327w (1)


All times are GMT -4. The time now is 10:24 AM.
TechIMO Copyright 2008 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