BiTRaTE2600
asked on
Fedora 6 - LAMP Server with PHP 5 and MySQL 4
This question is an extension of that found at https://www.experts-exchange.com/questions/22873644/Fedora-6-Install-MySQL-4.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
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
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...
ASKER
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
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
Here is an excellent source of information for you re: CentOS
http://www.centos.org/modules/newbb/viewtopic.php?topic_id=8165
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Hi,
I think you should try downloading individual rpms from site http://www.rpmfind.net/ , and then install it.
AB
I think you should try downloading individual rpms from site http://www.rpmfind.net/ , and then install it.
AB
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.r