LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Fedora (https://www.linuxquestions.org/questions/fedora-35/)
-   -   Installing WordPress on FC5 - Mysql / PHP problem (https://www.linuxquestions.org/questions/fedora-35/installing-wordpress-on-fc5-mysql-php-problem-458098/)

ArthurDent 06-25-2006 06:34 AM

Installing WordPress on FC5 - Mysql / PHP problem
 
Hello All,

I've been trying to install WordPress (the blogging app)on FC5 and have been following the famous "5 Minute Install" which has taken about a day and a half so far....

The problem is that once the files have been copied, the MySql database setup and the configuration file edited you are asked to run a PHP installation script from the browser. In my case this crashes with the line
Code:

Your PHP installation appears to be missing the MySQL which is required for WordPress
MySql runs just fine with other apps.

On closer investigation I tried running this PHP test script
Code:

<?php phpinfo(); ?>
and it gives me the following in the "configuration" section:
Code:

./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 2 lines from the bottom...


Wail!!!!

This is a bog-standard Fedora Core 5 installation. Does this mean I have to compile PHP from source?

Can it really be that the standard FC5 installtion of PHP is built without MySql support???

Please tell me that this is not the problem. Please tell me there's another way.

Help! Please....

Thanks
Mark

ArthurDent 06-25-2006 04:58 PM

Solved!!!
OK Sorry to waste your time chaps. All I had to do was to install php-mysql (and its dependency php-pdo) using yum, restart Apache and I'm up ad running....

Thanks anyway...

Mark


All times are GMT -5. The time now is 12:15 PM.