home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Webmastering and Programming
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 2737
Discussions: 186,607, Posts: 2,227,056, Members: 230,242
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
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
TechIMO.com Ads - Login or register for less ads.
How many errors does your computer have?

You no longer need to guess! This free stability scan and registry cleaner download will give you a complete diagnosis of your Windows registry, identifying errors and conflicts.

FREE instant scan


Guest, Register Free! to remove this ad and get your tech support questions answered in minutes!
Old July 14th, 2008, 01:47 PM     #2 (permalink)
SoMuchAnime-SoLittleTime
 
EXreaction's Avatar
 
Join Date: Aug 2003
Location: Plymouth, WI
Posts: 13,697
Blog Entries: 1
Send a message via ICQ to EXreaction Send a message via AIM to EXreaction Send a message via MSN to EXreaction Send a message via Yahoo to EXreaction
PHP: Microsoft IIS / PWS - Manual

You should follow the instructions on the php.net website.
__________________
The mark of the immature man is that he wants to die nobly for a cause, while the mark of a mature man is that he wants to live humbly for one.

EXreaction is online now   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


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may post new threads
You may 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
Trackbacks are Off
Pingbacks are On
Refbacks are Off

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

Most Active Discussions
Is It Just Me? (530)
Misery Loves Company... (1849)
Why Does the MOON Grow Bigger as It.. (18)
heatsink issue (10)
New Mobo (18)
UPGRADING C/D DRIVE TO 250GB & .. (14)
1 internet. 1 house. 3 computer. ho.. (13)
SSD's, RAID, and External Backup (7)
Is This A Compatible Gaming PC? (18)
Recent Discussions
32 or 64 bit vista (4)
Big problem with my PC (2)
system restore 'next' button wo.. (2)
Building my first PC and need s.. (1)
firewall (1)
C++ compiler suggestions (4)
Official World of Warcraft Thre.. (4529)
Programming question (2)
UPGRADING C/D DRIVE TO 250GB &a.. (14)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)
Six 28-Disc Cross Design Black .. (4)


All times are GMT -4. The time now is 12:18 PM.
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