Install/config php/MySQL

#1
I created a new VPS with CentOS 5.2, php 5.2.1, and MySQL 5.0.45.

I then installed Litespeed and the phpinfo for my vhost tells me I am running php 4.4.8 and MySQL 4.1.22.

I would prefer to be running php 5.2 and MySQL 5.0, How do I reconfigure?
 
#3
Thanks.

Compile (--with-mysqli --with-zlib --with-gd --enable-shmop --enable-track-vars --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring --with-iconv --with-mcrypt) failed. Error log attached.

The last few lines are:


Code:
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for MySQL support... no
checking for specified location of the MySQL UNIX socket... no
checking for MySQLi support... yes
checking whether to enable embedded MySQLi support... no
checking for mysql_set_server_option in -lmysqlclient... no
configure: error: wrong mysql library version or lib not found. Check config.log for more information.
 

Attachments

Top