Hello,

I thought this might be of interest to some newbies who might want to
enable MySQL support in PHP without having to do anything but execute
some commands as root on their Red Hat Linux 6.2 system. Here they are:

wget ftp://ftp.redhat.com/redhat/redhat-6.2/SRPMS/SRPMS/php-3.0.15-2.src.rpm
rpm -ivh php-3.0.15-2.src.rpm
cd /usr/src/redhat/SPECS
cat php.spec | awk '/configure/ { print $0; print "\t--with-mysql \\" }' > php.spec.out
mv -f php.spec.out php.spec
rpm -ba php.spec
cd /usr/src/redhat/RPMS/i386
rpm -ivh --force php-3.0.15-2.i386.rpm
rpm -ivh --force php-ldap-3.0.15-2.i386.rpm
rpm -ivh --force php-pgsql-3.0.15-2.i386.rpm
rpm -ivh --force php-imap-3.0.15-2.i386.rpm
rpm -ivh --force php-manual-3.0.15-2.i386.rpm

All done!

Have fun,

-- Neil


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to