Update php mysql Centos 5

empereur

Verified User
Joined
Nov 16, 2005
Messages
11
Hello,
I have to recompile php and update mysql (centos 5)
What are command has to type to make him(it)?
Thank you :)
 
Do you have a directadmin server and root access to ssh?
 
My Php 5.2.17
Made here is the report and he asks me to recompile php and to put mysql update.
That they are command to be able to put has in the update?

ConfigServer Security & Firewall - csf v5.41
You are running a legacy version of MySQL (v5.0.67) and should consider upgrading to v5.1.* as recommended by MySQL
You should recompile PHP with Suhosin to add greater security to PHP


Thank You
 
for update mysql and recompile php do:

Code:
cd /usr/local/directadmin/custombuild
./build clean
./build set mysql 5.1
./build update
./build mysql
./build php d

This will update your mysql to 5.1 and recompile php as operation suggested after a mysql re-install/update.

Regards
 
Still never said if he has directadmin or not.
 
Problem
cd /usr/local/directadmin/custombuild
./build clean
./build set mysql 5.1
./build update
./build mysql
You cannot install MySQL, because you do not have it set in options.conf file.


8/
 
Code:
cd /usr/local/directadmin/custombuild
./build clean
./build set mysql_inst yes
./build set mysql 5.1
./build update
./build mysql
 
Very good,
Thank you SeLLeRoNe

I am a novice 8/
What are command has to type to make him ?
Check php for Suhosin WARNING You should recompile PHP with Suhosin to add greater security to PHP

Thank you
 
Last edited:
Back
Top