+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    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

  2. #2
    Ultimate Member EXreaction's Avatar
    Join Date
    Aug 2003
    Location
    Madison, WI
    Posts
    15,225
    Blog Entries
    1
    PHP: Microsoft IIS / PWS - Manual

    You should follow the instructions on the php.net website.
    "The problem with quotations on the internet is that the sources are hard to verify" - Abraham Lincoln

  3. #3
    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.

  4. #4
    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?

  5. #5
    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.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

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

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Recommended Sites: ResellerRatings Store Reviews