View Single Post
Old 26th May 2007, 16:29
till till is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,651 Times in 4,461 Posts

1) I’m guessing that I can take the entire configure command in the big box at the top of the phpinfo() display and run that (tweaking the ‘-–without-mysql’ of course). True?
No. Mysql is compiled fine. What all the sources you found in the internat take not in account that today all php installations are compiled modular, so --without-mysql just means that mysql is loaded as module and not compiled in.

2) What directory do I run this from? There’s a pile of ‘.h’ files in ‘/usr/include/php/main’ - do I go there? Or where?
Do not do this if you dont want to mess up your installation!

3) Do I need anything else?

1) Make sure that you have the php mysql module installed:

yum install php-mysql

If the command says that it is already installed, you must check if the module is loaded. Have a look at the php.ini file, the file is most likely in /etc/php5/apache2/ php.ini or a similar location in the /etc directory.

There must be a line in the file like:

if you do not have this line, add it at the end of the file and restart your apache webserver.
Till Brehm
Get ISPConfig support and the ISPConfig 3 manual from
Reply With Quote