[Mediawiki-l] newbie install problems
Harris, Mike
mharris at visionbankcard.net
Thu Mar 16 18:36:15 UTC 2006
Thanks, I was able to fix the problem!
-----Original Message-----
From: mediawiki-l-bounces at Wikimedia.org
[mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Jon Belanger
Sent: Thursday, March 16, 2006 11:11 AM
To: MediaWiki announcements and site admin list
Subject: Re: [Mediawiki-l] newbie install problems
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On Mar 16, 2006, at 1:01 PM, Harris, Mike wrote:
> I have that line:
> extension=mysql.so
>
> in my php.ini file but is there a .lib or some other file I need to
> copy
> into the php directory for it to work?
>
On my RedHat ES 3 system--
[root at hostname etc]# cd /usr/lib/php4/
[root at hostname php4]# ls
imap.so ldap.so mysql.so
[root at hostname php4]#
you inidicated you are using php4, so look for the php4 modules
directory. It's also set in php.ini
[root at shelob etc]# grep /usr/lib php.ini
extension_dir = /usr/lib/php4
The way you get PHP working in Windows is ridiculous in IMO, but that's
another topic
> Do I need to copy the mysql module to somewhere like in windows?
>
> Thanks
>
> -----Original Message-----
> From: mediawiki-l-bounces at Wikimedia.org
> [mailto:mediawiki-l-bounces at Wikimedia.org] On Behalf Of Jon Belanger
> Sent: Thursday, March 16, 2006 10:31 AM
> To: MediaWiki announcements and site admin list
> Subject: Re: [Mediawiki-l] newbie install problems
>
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On Mar 16, 2006, at 12:23 PM, Harris, Mike wrote:
>
>> I am installing an old version of mediawiki with the following
> versions
>>
>>
>>
>> Mediawiki 3.7.1
>>
>>
>>
>> PHP 4.3.10-16 (apache)
>>
>>
>>
>> MySQL 4.0.24 (the debian package)
>>
>>
>>
>>
>>
>> The installation goes fine until I try to access the main page. I
> then
>> get the error:
>>
>>
>>
>> "MySQL Functions Missing, have you compiled PHP with the -with-mysql
>> option?"
>>
>>
>
> Hi Mike,
>
> PHP is pain in this regard. I've had to re-write code in PERL to
> get around this in some distributions. The issue is this: in PHP,
it's
> not enough to un-comment a module in the php.ini file, for in this
case
> mysql functions. PHP must be COMPILED with the --with-mysql flag set
> if you hope to use the mysql functions. I'm not sure if it's default
> in the ./configure script. You can't just get the PHP mysql module
and
> copy it to the PHP distribution and uncomment the mysql module line in
> php.ini
>
> Please correct me on this if you find out otherwise, I've been
> under
>
> this impression for some reason...
>
> Anyway, in your case --with-mysql might have been set when PHP
was
> compiled. If this is Debian stable then it probably was, but I'm not
a
> Debian guy. So, if it is, then, you have to set this
>
> ; Enable mysql extension module
> extension=mysql.so
>
> In your php.ini.
>
> Good luck,
>
>>
>> What do I need to do to configure my php install correctly.
>>
>>
>>
>>
>>
>> Thanks,
>>
>> Mike
>>
>>
>>
>>
>>
>> _______________________________________________
>> MediaWiki-l mailing list
>> MediaWiki-l at Wikimedia.org
>> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>>
> Jon Belanger
> Computer Systems Specialist
> Departments of Chemistry, Biochemistry and Molecular Biology
> University of Massachusetts Amherst
> -----BEGIN PGP SIGNATURE-----
>
> iD8DBQFEGaDxkcuAthB9NCYRAtdUAJ4reychArBSIUvR08NhdFf9RmFkxgCgk4Vr
> a3mpuKgf7wu14iT/lLiFul8=
> =JYiH
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
> _______________________________________________
> MediaWiki-l mailing list
> MediaWiki-l at Wikimedia.org
> http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
>
Jon Belanger
Computer Systems Specialist
Departments of Chemistry, Biochemistry and Molecular Biology
University of Massachusetts Amherst
-----BEGIN PGP SIGNATURE-----
iD8DBQFEGapNkcuAthB9NCYRAsLHAJwNHctanvZOupv0vE8vIVKPxqjEPgCffyTN
RwhArdPoRS0K8aV3innx++E=
=93ZO
-----END PGP SIGNATURE-----
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l at Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l
More information about the MediaWiki-l
mailing list