We help IT Professionals succeed at work.

Fedora 6 - LAMP Server with PHP 5 and MySQL 4

BiTRaTE2600
BiTRaTE2600 asked
on
1,043 Views
Last Modified: 2013-12-16
This question is an extension of that found at https://www.experts-exchange.com/OS/Linux/Q_22873644.html

I have a Fedora 6 LAMP Server, and I require to run PHP 5.1.6 and MySQL 4.1.22. I could not get MySQL 4 from the fc6 repositories, so I installed the rpm. The problem now is that I need to install the php-mysql package, however, when I use yum a required dependency is MySQL 5. How would I go about installing /configuring either via yum or rpm so I can have a PHP5 / MySQL 4 system.

I do not need to stick with fc 6. I could do an fc4 or fc5 install and work from there if it is easier. The end result should be a system with MySQL 4.1.22 and PHP 5.1.6.

Thank You
Comment
Watch Question

Change the Arch to yours if you need to.

Run yum list \*php\* as you suggested and got ...

Name                                     Arch       Version
--------------------------------------------------------------------------------
asp2php                                  ppc        0.76.2-3
asp2php-gtk                              ppc        0.76.2-3
php-dbg-base                             ppc        2.10-4
php-dbg-client                           ppc        2.10-6
php-dbg-server                           ppc        2.10pl3-6
php-devel                                ppc        4.2.2-17.2
php-manual                               ppc        4.2.2-17.2
php-mysql                                ppc        4.2.2-17.2
php-odbc                                 ppc        4.2.2-17.2
php-pgsql                                ppc        4.2.2-17.2
php-snmp                                 ppc        4.2.2-17.2

Looking in Installed Packages:
Name                                     Arch       Version
--------------------------------------------------------------------------------
php                                      ppc        4.2.2-17.2
php-imap                                 ppc        4.2.2-17.2
php-ldap                                 ppc        4.2.2-17.2

2) Then look on the web for php-mysql4.2.2-17.2. ******* Note: check for the version you need ******

3) Downloaded and  install it with the recommended command:
      rpm -Fvh php-mysql-4.2.2-17.2.ppc.rpm
I would recommend starting over with a CentOS 4 system if this is a production system since fedora has such a short shelf life.  MySQL4 is support on RedHat4 (and hence CentOS4).  It won't get you php 5 though.  How are your feelings on compiling php-5 from source?  It is really easy.... the only draw-back would be if you then wanted to install other apps that had dependencies on php rpms, the system wouldn't know you had php.  php-5.1.6 IS in the CentOS-Plus repository, but I think it requires the mysql5 libraries...

Author

Commented:
Yes arrkerr1024, this sounds like a good option. Just to confirm, will I be able to configure CentOS 4 with the following?

mysql 4.1.22
php 5.1.6
php-mysql (whatever version is required)
php-xml

Can you point me in the right direction for accomplishing this?

Thanks
Be aware with CentOS there is a bug if you want to use the Bind (DNS) server you will have to configure this manually and it can be a BEAR to the uninitiated.

Here is an excellent source of information for you re: CentOS
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8165
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Commented:
Hi,

I think you should try downloading individual rpms from site http://www.rpmfind.net/ , and then install it.

AB
Deepak KosarajuDevOps Engineer

Commented:
http://rpm.pbone.net
is the best repository site for any rpm based Operating System.
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.