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?
Do I need to copy the mysql module to somewhere like in windows?
Thanks
-----Original Message-----
From: mediawiki-l-bounces(a)Wikimedia.org
[mailto:mediawiki-l-bounces@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(a)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(a)Wikimedia.org
http://mail.wikipedia.org/mailman/listinfo/mediawiki-l