MySQL Forums
Forum List  »  PHP

Re: Error 2002 --> --without-mysql appears !?
Posted by: Kai Voigt
Date: March 27, 2006 07:35PM

If it was compiled --without-mysql as it says in the phpinfo output, you'd have to recompile PHP --with-mysql to have MySQL supported by your PHP installation. Or try to find a precompiled RPM/package that supports it.

Another way to find out which modules are compiled into PHP, is the -m option.

$ php -m
[PHP Modules]
...
ldap
mbstring
mysql
odbc
...
zlib

--
Kai Voigt, Senior Instructor, MySQL AB
kai@mysql.com, www.mysql.com
Office: Kiel, Germany

Options: ReplyQuote


Subject
Written By
Posted
Re: Error 2002 --> --without-mysql appears !?
March 27, 2006 07:35PM
March 28, 2006 02:16AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.