Page 1 of 1

New PHP with old MySQL

Posted: Wed Jun 28, 2006 6:10 pm
by X-Korpio
Were can I find this package:

mysql-4.0.23a-1.rhel3.art

Is there a way to install it with php 4.4.2-3.rhel3.art.i386 using YUM?

What is the YUM.CONF configuration to do that, I can only find this:
But, that is not a RPM :cry:

I try Updating PHP and MySQL with this perimises:
[base]
name=Red Hat Linux $releasever - $basearch - Base
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[updates]
name=Red Hat Linux $releasever - Updates
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[atomic]
name=Atomic Rocket Turtle - $releasever - Atomic PSA-Compatible RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/

[psa-7.5]
name=Atomic Rocket Turtle - $releasever - SW-Soft PSA 7.5 RPMS
baseurl=http://3es.atomicrocketturtle.com/atomi ... eleasever/
But my MySQL stop working:
Starting named: [ OK ]
Starting qmail: [ OK ]
Reloading configuration: [ OK ]
Starting PostgreSQL - Red Hat Edition service: [ OK ]
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
db_connect: failed to connect to database: Error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (111)
Database connection failed, keys will not be updated
Processing config directory: /usr/local/psa/admin/conf/httpsd.*.include
/usr/local/psa/admin/bin/httpsdctl start: httpd started
Starting Plesk: [ OK ]
[FAILED]
I wrote to my Hosting admins and I got this:
Unfortunetly you are using an unsupported version of MySQL. Plesk does not make use of MySQL 4.1 on RHEL3. You will need to downgrade your MySQL.

Please look for the following version: mysql-4.0.23a-1.rhel3.art

Thank you,
EV1Servers
Webhosting Technical Support
What should I do then? I require a at least a PHP 4.4 to run some scripts on my server,

Im runing Plesk Reloaded :roll:

Posted: Wed Jun 28, 2006 9:49 pm
by scott
I have ceased maintaining that package, 4.1.20 is the latest supported mysql rpm. Also, if you're on RHEL3 or CentOS3, you need to change $releasever to 3ES, otherwise you will be drawing packages from the fedora core 3 channel.

Posted: Thu Jun 29, 2006 12:46 am
by X-Korpio
Is there a way to update PHP without touching the MySQL?

Posted: Thu Jun 29, 2006 6:14 am
by scott
I build php against mysql 4.1, so you have to have it's client libraries in order to start apache.