----- Original Message ----- From: "Rodrigo Gonzalez" <rjgonz...@estrads.com.ar>
To: <freebsd-questions@freebsd.org>; <glar...@freebsd.org>
Cc: "Glenn McCalley" <gl...@bnetmd.net>
Sent: Tuesday, June 14, 2011 11:46 AM
Subject: Re: mysql_connect error



Hi Glenn,

Try running this command in your shell:

php -i | grep -i php.ini

Does the reported path match the one reported by your phpinfo page
(viewed in the web browser)?  Also, is it possible you have multiple php
executables installed?  What is the output of the following commands?


Also run
php -m

and see that mysql is in list

You should check that it is using the same php.ini as Greg said, and if
required symlink the files or add extension=mysql.so to the php.ini used by cli
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Rodrigo,
The php.ini path and file match the phpinfo page.

However, php -m does NOT report a mysql module, and I get the same Undefined symbol error our of lubmysqlclient.so.16 that I mentioned in my answer to Greg's post.

The line "extension=mysql.so" IS is the extensions.ini file.

Thanks,
Glenn.

_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to