Go Back   Computer Forums > General Computing > Server Administration
Click Here to Login
Join Computer forums Today


Reply
 
Thread Tools Search this Thread Display Modes
 
Old 01-09-2009, 12:38 PM   #1
cg1
In Runtime
 
cg1's Avatar
 
Join Date: Oct 2005
Location: Guernsey
Posts: 160
Default PHP 5 on Windows 2003 X64

I have have installed PHP 5 on a Windows 2003 Enterprise X64 server, When i try to access a php page it get "%1 is not a valid Win32 application".

I have Enambled 32BitAppOnWin64,
The internet guest user has read/execute access to Php file, ISAPi, PHP folder.
The Service extension is enabled
i have added the .php extension, and index.php to the site.
I can run Html and ASP scripts.

Thanks
Craig
__________________

__________________
http://weather.gg
cg1 is offline   Reply With Quote
Old 01-09-2009, 02:18 PM   #2
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: PHP 5 on Windows 2003 X64

I'm taking it your using IIS. Is the path to the DLL correct?
__________________

j03 is offline   Reply With Quote
Old 01-09-2009, 05:04 PM   #3
Site Team
 
David Lindon's Avatar
 
Join Date: Dec 2002
Posts: 15,233
Default Re: PHP 5 on Windows 2003 X64

Try it with Apache and see how that goes
__________________
[url=http://www.LNXPS.NET]LNXPS.NET - The XPS Library]
David Lindon is offline   Reply With Quote
Old 01-09-2009, 08:19 PM   #4
j03
~~~~~~~~
 
Join Date: Jan 2005
Location: Wales
Posts: 5,556
Send a message via MSN to j03
Default Re: PHP 5 on Windows 2003 X64

Yeah, Apache is the way forwards IMO. Allthough he might also need ASP.Net which isn't easy to use with Apache....
j03 is offline   Reply With Quote
Old 01-12-2009, 11:38 AM   #5
cg1
In Runtime
 
cg1's Avatar
 
Join Date: Oct 2005
Location: Guernsey
Posts: 160
Default Re: PHP 5 on Windows 2003 X64

The path to the DLL is correct. need to use IIS for ASP.NET

Thanks
Craig
__________________
http://weather.gg
cg1 is offline   Reply With Quote
Old 01-16-2009, 08:35 AM   #6
cg1
In Runtime
 
cg1's Avatar
 
Join Date: Oct 2005
Location: Guernsey
Posts: 160
Default Re: PHP 5 on Windows 2003 X64

I removed PHP and installed the unoffical X64 verson. it works for phpinfo() but scripts like phpbb either dispaly as a blank page or it shows the php script.

got the phpbb installer to run by changing settings in php.ini, but it only lets me connect to mysql thought ODBC, but this connection fails.
__________________
http://weather.gg
cg1 is offline   Reply With Quote
Old 02-03-2009, 05:03 AM   #7
cg1
In Runtime
 
cg1's Avatar
 
Join Date: Oct 2005
Location: Guernsey
Posts: 160
Default Re: PHP 5 on Windows 2003 X64

I reinstalled windows and setup php the same as before this time i get "This application has failed to start because the application configuration is incorrect. Reinstalling the application may fix this problem. " in event manager it says unable to load isapi extension. i have tried reinstalling and still get this error.
__________________
http://weather.gg
cg1 is offline   Reply With Quote
Old 02-05-2009, 09:33 AM   #8
Site Team
 
root's Avatar
 
Join Date: Mar 2004
Posts: 8,004
Default Re: PHP 5 on Windows 2003 X64

have you tried not using the ISAPI and using the PHP.exe file instead to parse pages, you may have more luck with this.
__________________
I didn’t fight my way to the top of the food chain to be a vegetarian…
Im sick of people saying 'dont waste paper'. If trees wanted to live, they'd all carry guns.
"The inherent vice of capitalism is the unequal sharing of blessings; The inherent vice of socialism is the equal sharing of miseries."
root is offline   Reply With Quote
Old 02-05-2009, 11:24 AM   #9
cg1
In Runtime
 
cg1's Avatar
 
Join Date: Oct 2005
Location: Guernsey
Posts: 160
Default Re: PHP 5 on Windows 2003 X64

got the isapi working by removeing php files in system32, however when i move between php pages using a link it loads a white page and i have to refresh the page.
__________________

__________________
http://weather.gg
cg1 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off



All times are GMT -5. The time now is 08:29 PM.


Powered by vBulletin® Version 3.8.8 Beta 4
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0