PDA

View Full Version : PHP 4 for Fedora 7



Hatuey
8th October 2007, 12:57 PM
Hi all,

I am needing to use PHP4.x (not PHP5!) in order to setup eZ (http://ez.no) (eZ is a CMS free package).

I remove PHP5 from my system, and then download and compile PHP4.3, and exclude PHP from possible updates in YUM.

Now I need to install phpMyAdmin but YUM complains:

---> Package phpMyAdmin.noarch 0:2.11.0-1.fc7 set to be updated
--> Processing Dependency: php-mysql >= 4.1.0 for package: phpMyAdmin
--> Processing Dependency: php-mbstring >= 4.1.0 for package: phpMyAdmin
--> Processing Dependency: php >= 4.1.0 for package: phpMyAdmin
--> Finished Dependency Resolution
Error: Missing Dependency: php >= 4.1.0 is needed by package phpMyAdmin
Error: Missing Dependency: php-mbstring >= 4.1.0 is needed by package phpMyAdmin
Error: Missing Dependency: php-mysql >= 4.1.0 is needed by package phpMyAdmin

The PHP4.3 was compiled with the --mysql and --mbstring options.

Is there a way to put PHP4.3 in the YUM database of installed tools, so it stop complains?

Is there a repository in order to install PHP4.x via YUM in my Fedora 7 box?

Regards,

Hatuey

PD: Off course, I know that I simple could download phpMyAdmin, compile it and then installed, but why do that "by hand" when we have YUM so the system is not messy?

Techokami
8th October 2007, 02:08 PM
Compile phpMyAdmin? Uhh, you do know that phpMyAdmin is written in PHP, which is a scripting language, right?

Just download phpMyAdmin from the official site, extract it to /var/www/html/phpadmin (or wherever your web content directory is, plus the desired folder for phpMyAdmin), chmod files as needed, and use the installer script!

Also, if you really want phpMyAdmin via yum that badly, you're gonna have to get with the times and upgrade to PHP5.