Page 1 of 1

CentOS 5 Beta PHP seems to be compiled without mysql

Posted: 2007/03/29 06:15:48
by raymccoy
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

CentOS 5 Beta PHP seems to be compiled without mysql

Posted: 2007/03/29 08:48:19
by jsoderba
Most extensions which require external libraries are put in a separate package. For MySQL you want the php-mysql package.

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

Posted: 2008/05/04 03:05:05
by phara0h
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?