Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
|
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old June 28th, 2005, 01:57 PM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default Downgrade from PHP5 to 4 .. now only a 404

I downgraded from 5 to 4 to use osCommerce and now I can't get anything but Page Not Found 404. I thought I was good at this, using SAPI and NOT CGI.

Any thoughts, I know the file is there and was working .. the phpinfo.php displays the same.

c

 
Old June 28th, 2005, 08:13 PM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

It gets worse .. our IT folk felt we should go back to PHP 5, we did.

We get the same 404 error.

We have totally openned up the directories to "stupid" levels of open security. No effect. Not running CGI .. running SAPI (php5isapi.dll). Website extensions set to the dll. If I try to run php.exe the Webserver will not start.

We're stumped .. two days on this. Stupid is as stupid does! Any suggestions greatly appreciated. I thought I had a future in IT .. until this!

c

 
Old June 29th, 2005, 01:20 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 357
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to anshul
Default

Please tell, waht are you using Apache or IIS?
What's location of phpinfo.php you say is working?

 
Old June 29th, 2005, 05:46 AM
Registered User
 
Join Date: Jun 2005
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Running IIS6
PHP 5.1.2b

The phpinfo.php (or any PHP pages) hasn't worked since I downgraded from 5.0.2, back to 4.3.11, and then back to 5.1.2b. The installation method has been manual(all but one .. didn't work).

c:\php and c:\php\ext .. have been added to path. php5ts.dll and php5isapi.dll have been copied to c:\php, c:\windows, c:\windows\system, and c:\windows\system32. The php.ini file is located in c:\php.

The server is a production box, six months old, very well behaved. I've been doing this a while, but PHP is 6 months "new" to me.

5.0.2 worked great! Whaaa!

c






Similar Threads
Thread Thread Starter Forum Replies Last Post
Error 404 SeniorNSU BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 1 August 30th, 2006 11:09 AM
http 404 brenden J2EE 1 February 16th, 2006 05:44 AM
Status 404 for 404 page marun BOOK: Professional Apache Tomcat 0 August 30th, 2005 06:45 AM
404 error DARSIN .NET Framework 2.0 1 March 24th, 2005 06:04 AM
404 error scrowler Pro PHP 1 December 19th, 2004 11:36 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.