missing the MySQL….
-
Hi all.
I am trying to install WordPress on a Fedora Core 5 system. I have MySql and PHP.
I’ve been carefully following the Installation instructions. I’ve set up a MySql DB which I’ve checked works as follows:
$ mysql -u wordpress -p
Enter password: mypass
Welcome to the MySQL monitor. Commands end with ; or g.
Your MySQL connection id is 6 to server version: 5.0.22Type 'help;' or 'h' for help. Type 'c' to clear the buffer.
mysql> SHOW DATABASES;
+--------------------+
| Database |
+--------------------+
| information_schema |
| blog |
| test |
+--------------------+
3 rows in set (0.02 sec)mysql>
…..
and this is my wp-config.php file:
cat<?php// ** MySQL settings ** //
define(‘DB_NAME’, ‘blog’); // The name of the database
define(‘DB_USER’, ‘wordpress’); // Your MySQL username
define(‘DB_PASSWORD’, ‘mypass’); // …and password
define(‘DB_HOST’, ‘localhost’); // 99% chance you won’t need to change this value
…etcBut when I try to run the installation script I get the following:
Your PHP installation appears to be missing the MySQL which is required for WordPressActually it says “catYour PHP installation appears to be missing the MySQL which is required for WordPress”
I have googled and searched this forum. Most answers to this seem to require adding the line :
extension=mysql.so
to the bottom of my php.ini file (which I’ve done). Still no joy.So then I tried this : I created a “test.php” file with <?php phpinfo(); ?> in it. When I run that from the browser it gives me (amongst much else)
./configure' '--build=i386-redhat-linux' '--host=i386-redhat-linux' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--enable-track-vars' '--enable-trans-sid' '--enable-yp' '--enable-wddx' '--with-kerberos' '--enable-ucd-snmp-hack' '--with-unixODBC=shared,/usr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/etc/httpd/conf/magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'Notice the –without-mysql
Wail!!!!
This is a bog-standard Fedora Core 5 installation. Does this mean I have to compile PHP from source?
Please tell me that this is not the problem. Please tell me there’s another way.
Help! Please….
Thanks
Mark
The topic ‘missing the MySQL….’ is closed to new replies.