Hi All,
Though i am a regular user of Mediawiki I am finding some problems with fresh installation of Mediaiwki.
I get the following eror:
"Please include all of the lines below when reporting installation problems. PHP 5.2.6 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module "
I have Mysql on my system. I dont find the .so file it is refering to.
Any one ideas pls suggest.
Thanks --Viral
On Wed, Jul 23, 2008 at 2:59 PM, Viral Gupta viralgupta0@gmail.com wrote:
I get the following eror:
"Please include all of the lines below when reporting installation problems. PHP 5.2.6 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module "
I have Mysql on my system. I dont find the .so file it is refering to.
Having MySQL on your system is not enough. You need to have PHP compiled to support it. On Linux, this usually means installing a package named something like php-mysql. (It looks to be called "php5-mysql" on Ubuntu, and "php-mysql" on RHEL5.)
Thanks for your response.
When i try compile php with the following command: *./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/etc/mysql * I get following error
*configure: error: Cannot find MySQL header files under /etc/mysql. Note that the MySQL client library is not bundled anymore! * Can someone pls suggest where I am going wrong.
Thanks --Viral
On Wed, Jul 23, 2008 at 3:24 PM, Simetrical <Simetrical+wikilist@gmail.comSimetrical%2Bwikilist@gmail.com> wrote:
On Wed, Jul 23, 2008 at 2:59 PM, Viral Gupta viralgupta0@gmail.com wrote:
I get the following eror:
"Please include all of the lines below when reporting installation
problems.
PHP 5.2.6 installed Could not find a suitable database driver! For MySQL, compile PHP using --with-mysql, or install the mysql.so module For PostgreSQL, compile PHP using --with-pgsql, or install the pgsql.so module "
I have Mysql on my system. I dont find the .so file it is refering to.
Having MySQL on your system is not enough. You need to have PHP compiled to support it. On Linux, this usually means installing a package named something like php-mysql. (It looks to be called "php5-mysql" on Ubuntu, and "php-mysql" on RHEL5.)
Wikitech-l mailing list Wikitech-l@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikitech-l
On Wed, Jul 23, 2008 at 3:31 PM, viral gupta viralgupta0@gmail.com wrote:
When i try compile php with the following command: *./configure --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/etc/mysql
I get following error
*configure: error: Cannot find MySQL header files under /etc/mysql. Note that the MySQL client library is not bundled anymore!
Can someone pls suggest where I am going wrong.
I don't know, personally, since I use packages and have never compiled PHP. This isn't really a MediaWiki problem -- you might try in a PHP or MySQL help forum of some kind.
wikitech-l@lists.wikimedia.org