CentOS 5 Beta PHP seems to be compiled without mysql

Support for webhosts that use CentOS
raymccoy
Posts: 2
Joined: 2007/03/29 05:52:43

CentOS 5 Beta PHP seems to be compiled without mysql

Postby raymccoy » 2007/03/29 06:15:48

Hello, i just installed CentOS 5 Beta in a vmware-environment. then i installed php via yum install php (which installs mysql also) and then yum install apache.
the apache works but the phpinfo says:

'--without-mysql'

and i still get no connection to mysql with php.

So how can i solve this problem

jsoderba
Posts: 2
Joined: 2006/03/21 23:51:16

CentOS 5 Beta PHP seems to be compiled without mysql

Postby jsoderba » 2007/03/29 08:48:19

Most extensions which require external libraries are put in a separate package. For MySQL you want the php-mysql package.

phara0h
Posts: 7
Joined: 2008/05/04 02:28:37
Contact:

Re: CentOS 5 Beta PHP seems to be compiled without mysql

Postby phara0h » 2008/05/04 03:05:05

so if you yum install php-mysql

will your current yum php installation update and change to use --with-mysql in the configuration?
Should you uninstall php with yum... then install php-mysql and then install php
or php then php-mysql.. does the order affect anything? Nothing has worked for me so far... do we need to reboot linux to get Yum installs to work right?