- Windows XP
- Apache 2.0.52
- PHP 5.0.3
- PHP Nuke 7.8
After attempting to upgrade from PHP 5.0.3 to a later version, Apache no longer reconizes my PHP website
What I tried to do:
I had a perfectly running Web site using the above configuration now for about 2 years. I wanted to implenent a new module with PHPNuke called "Gallery" so that the people who use my website can upload ScreenShots from the different video games they play. This "Gallery" required a higher version of PHP, so I figured I would upgrade it.
Like an idiot, I didn't think of all the detail this involved to get upgraded and I (backing up EVERYTHING mind you) deleted my old php files in C:\php\ and just placed the new ones in there.
After making my mistake, the .php did not come up and it ended up just bringing up a blank page. Currently I have a sad .html document stating why the website is down as my website's homepage, but still can access the index.php file. When I check the source for the index.php file I get the following:
That is it. The .php is filled with more text that that (obviosly) but right now all that I see is the above in the source and nothing on my IE/Firefox
Thing I have tried:
- I have Googled for hours on any glimpse of light and everyone says the same thing: To install PHP you need to use the php.ini and enter in 3 lines of code into your httpd.conf file and it magically works.
- I have tried to use the php.ini-reccomended/php.ini-dist
- I have tried to install PHP as a CGI and as a Module
- I have tried to read my entire .conf file and make sure all settings are correct
- I have tried to place my php.ini file in: c:\php;c:\windows;C:\Apacheserverdir\bin\
- I have tried restart after restart of Apache AND of my Comptuer
- I have tried deleting everything and starting over
- C:\php and C:\php\ext ARE in my system path
- This worked just swell before I tried to "install" the new version
- My 'Apache Service Monitor' says in the bottom "Apache/2.0.52 (Win32) PHP/5.0.3" so it looks like it sees it?
I really would like to get my website back... I am reaching out to you folks becasue I think you know how to get me back up and running. I hope I have given you all enough information as to what I have, what happened, and what I am up againts.
I've read a lot of documents, help files, readmes, so that maybe I could fix it myself, but I have lacked to do so.
If someone could please help me out, it would really make my day. :)
Derrick J. Gebhard