
viralgupta0 at gmail
Jul 23, 2008, 12:31 PM
Post #3 of 6
(838 views)
Permalink
|
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 [at] gmail<Simetrical%2Bwikilist [at] gmail>> wrote: > On Wed, Jul 23, 2008 at 2:59 PM, Viral Gupta <viralgupta0 [at] gmail> > 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 [at] lists > https://lists.wikimedia.org/mailman/listinfo/wikitech-l > -- Thanks n Regards Viral Gupta When a man knows what he wants, the world steps aside to make way for him. _______________________________________________ Wikitech-l mailing list Wikitech-l [at] lists https://lists.wikimedia.org/mailman/listinfo/wikitech-l
|