EE_Navigator
asked on
i am trying to configure the php with mysql on centos 5 but unable to configure it
i am new to the linux env. and i am trying to configure the php mysql and httpd on centos5 . problem is httpd came installed with the os isntalltion i installed the php with yum command
yum install php mysql mysql-server php-gd php-mysql
php start working ok
but in the php info i see that mysql is not configured with php
i tryed to find teh ./configure file in the centos for php but i couldent find it.
here is what i get in php info
./configure' '--build=i686-redhat-linux -gnu' '--host=i686-redhat-linux- gnu' '--target=i386-redhat-linu x-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.ca che' '--with-libdir=lib' '--with-config-file-path=/ etc' '--with-config-file-scan-d ir=/etc/ph p.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,/u sr' '--enable-memory-limit' '--enable-shmop' '--enable-calendar' '--enable-dbx' '--enable-dio' '--with-mime-magic=/etc/ht tpd/conf/m agic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-apxs2=/usr/sbin/ap xs' '--without-mysql' '--without-gd' '--without-odbc' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter'
i need some was to configre the installed php and httpd to work with mysql without reinstalling it i ned a way to reconfigure the packages installed with yum.
yum install php mysql mysql-server php-gd php-mysql
php start working ok
but in the php info i see that mysql is not configured with php
i tryed to find teh ./configure file in the centos for php but i couldent find it.
here is what i get in php info
./configure' '--build=i686-redhat-linux
i need some was to configre the installed php and httpd to work with mysql without reinstalling it i ned a way to reconfigure the packages installed with yum.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.