Advertisement

04.25.2008 at 03:56AM PDT, ID: 23353062
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

7.1

How to downgrade from PHP5 to PHP4

Asked by dutch7773 in PHP Installation, PHP Scripting Language, Fedora Linux

Tags: ,

Hi,

I am currently running Fedora Core 8 which comes with PHP5. The application I have is written for PHP4 and generates a lot of errors on PHP5, mainly because of variables not defined. The company who wrote the application will not change it without some major compensation. I tried to setup PHP5 to run ignoring the errors, or to run in PHP4 compat mode, but to no avail. It seems like I have to go back to PHP4 to make this work.

Here is what I did so far:

I downloaded the packages:
   compat-db-4.2.52-2.FC4.i386.rpm  
   php-mbstring-4.3.11-2.8.i386.rpm
   openssl-0.9.7a-42.2.i386.rpm    
   php-mysql-4.3.11-2.8.i386.rpm
   php-4.3.11-2.8.i386.rpm          
   php-ncurses-4.3.11-2.8.i386.rpm
   php-devel-4.3.11-2.8.i386.rpm    
   php-pear-4.3.11-2.8.i386.rpm

When I run rpm -ivh php-*.rpm I get the following messages:
error: Failed dependencies:
        httpd-mmn = 20020903 is needed by php-4.3.11-2.8.i386
        libcrypto.so.4 is needed by php-4.3.11-2.8.i386
        libcurl.so.3 is needed by php-4.3.11-2.8.i386
        libdb-4.2.so is needed by php-4.3.11-2.8.i386
        libexpat.so.0 is needed by php-4.3.11-2.8.i386
        libssl.so.4 is needed by php-4.3.11-2.8.i386
        autoconf is needed by php-devel-4.3.11-2.8.i386
        automake is needed by php-devel-4.3.11-2.8.i386
        libmysqlclient.so.10 is needed by php-mysql-4.3.11-2.8.i386

I checked for these packages on fedora's web site but my guess is that they are in other packages of which I don't have the name. Also, I'm afraid to break other stuff when I start to download and install older versions of these packages.

Current version of Linux 2.6.24.4-64.fc8

thanks!
DutchStart Free Trial
[+][-]04.25.2008 at 07:55AM PDT, ID: 21440154

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PHP Installation, PHP Scripting Language, Fedora Linux
Tags: php4, fedora core 8
Sign Up Now!
Solution Provided By: mespinozae
Participating Experts: 1
Solution Grade: B
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628