LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices


Reply
  Search this Thread
Old 06-25-2006, 06:34 AM   #1
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Rep: Reputation: 30
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
 
Old 06-25-2006, 04:58 PM   #2
ArthurDent
Member
 
Registered: Feb 2004
Location: London
Distribution: Formerly Various Linux Distros, Now Fixed on Fedora 32
Posts: 189

Original Poster
Rep: Reputation: 30
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
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Installing Wordpress into multiple directories oadvantage General 2 04-28-2006 04:34 PM
MYSQL and PHP Problem and Installing programs on Linux Red Hat Technel Linux - Newbie 4 03-08-2006 10:54 PM
Problem installing PHP with MySQL on RedHat 9 d2army Linux - Newbie 1 07-11-2004 05:58 PM
Installing MySQL.4.0.17 and php support for Mysql on RedHat 9.0 Neha Linux - Software 13 12-29-2003 12:06 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora

All times are GMT -5. The time now is 06:20 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration