Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Wikitech

mediawiki installation problems

 

 

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded


viralgupta0 at gmail

Jul 23, 2008, 11:59 AM

Post #1 of 6 (850 views)
Permalink
mediawiki installation problems

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
_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


Simetrical+wikilist at gmail

Jul 23, 2008, 12:24 PM

Post #2 of 6 (840 views)
Permalink
Re: mediawiki installation problems [In reply to]

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


viralgupta0 at gmail

Jul 23, 2008, 12:31 PM

Post #3 of 6 (838 views)
Permalink
Re: mediawiki installation problems [In reply to]

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


Simetrical+wikilist at gmail

Jul 23, 2008, 12:34 PM

Post #4 of 6 (835 views)
Permalink
Re: mediawiki installation problems [In reply to]

On Wed, Jul 23, 2008 at 3:31 PM, viral gupta <viralgupta0 [at] gmail> 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 mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


minuteelectron at googlemail

Jul 23, 2008, 1:32 PM

Post #5 of 6 (840 views)
Permalink
Re: mediawiki installation problems [In reply to]

What operating system do you use?

MinuteElectron.

_______________________________________________
Wikitech-l mailing list
Wikitech-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/wikitech-l


viralgupta0 at gmail

Jul 23, 2008, 10:42 PM

Post #6 of 6 (825 views)
Permalink
Re: mediawiki installation problems [In reply to]

Thanks everyone. I got it working. As it turned out some silly error with
PHP.

Thanks
--Viral

On Wed, Jul 23, 2008 at 4:34 PM, viral gupta <viral612 [at] gmail> wrote:

> Ubuntu.
>
> Thanks
> --Viral
>
>
> On Wed, Jul 23, 2008 at 4:32 PM, MinuteElectron <
> minuteelectron [at] googlemail> wrote:
>
>> What operating system do you use?
>>
>> MinuteElectron.
>>
>> _______________________________________________
>> 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.
>



--
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

Wikipedia wikitech RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.