vps help

Status
Not open for further replies.

Chris2k

Banned
Banned
901
2009
17
0
hi, im getting this errror wen installing scripts:

" MySQL support is not available in this PHP installation"

can any1 tell me wot this is, i am on

cent os 5
cpanel (trial atm)
1024mb ram
 
10 comments
Run a php script and see if the mysql is set.
Code:
<?php

phpinfo ();

?>

look for:

mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 5.0.92
MYSQL_MODULE_TYPE external
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE -I/usr/include/mysql
MYSQL_LIBS -L/usr/lib -lmysqlclient

Directive Local Value Master Value
mysql.allow_persistent On On
mysql.connect_timeout 60 60
mysql.default_host no value no value
mysql.default_password no value no value
mysql.default_port no value no value
mysql.default_socket no value no value
mysql.default_user no value no value
mysql.max_links Unlimited Unlimited
mysql.max_persistent Unlimited Unlimited
mysql.trace_mode Off Off


mysqli
MysqlI Support enabled
Client API library version 5.0.92
Client API header version 5.0.92
MYSQLI_SOCKET /var/lib/mysql/mysql.sock

Directive Local Value Master Value
mysqli.default_host no value no value
mysqli.default_port 3306 3306
mysqli.default_pw no value no value
mysqli.default_socket no value no value
mysqli.default_user no value no value
mysqli.max_links Unlimited Unlimited
mysqli.reconnect Off Off
 
Code:
root@vps [~]# yum -y install php-mysql
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.denit.net
 * epel: ftp.nluug.nl
 * extras: mirror.denit.net
 * updates: mirror.denit.net
Excluding Packages in global exclude list
Finished
Setting up Install Process
No package php-mysql available.
Nothing to do

I didthe install as said m8 and this wot i gottt ^D^.

i did de phpinfo and checked, no mysql on it
 

First things first, all of my binaries are GPG signed. That means that you can be sure that these packages are coming from me, even if you should happen to find them on some other site (if you find a file with "jason" in the name and it isn't signed, DON'T install it).

Source: http://www.jasonlitka.com/yum-repository/

Follow the on screen steps to add this repository.

If you're still unsure, You can either ask your host, hire an admin or I can take peek.
 
run this first to add the rpm

Code:
rpm -Uvh http://download.fedora.redhat.com/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm

then install the php-mysql

Code:
yum -y install php-mysql
 
Status
Not open for further replies.
Back
Top