Page 1 of 1

php installed without mysql

Posted: Mon Aug 27, 2007 9:54 am
by vago
Another problem - php 5.2.3 from the atomic channel installed without mysql support. Is there any way to change this?

Posted: Mon Aug 27, 2007 11:38 am
by npavlidis
these are the packages you should have :(from my yum.log)
Aug 26 14:12:06 Updated: php-common.i386 5.2.3-3.el4.art
Aug 26 14:12:06 Updated: php-pdo.i386 5.2.3-3.el4.art
Aug 26 14:12:07 Updated: php-cli.i386 5.2.3-3.el4.art
Aug 26 14:12:08 Updated: php.i386 5.2.3-3.el4.art
Aug 26 14:12:10 Updated: php-devel.i386 5.2.3-3.el4.art
Aug 26 14:12:10 Updated: php-mysql.i386 5.2.3-3.el4.art
Aug 26 14:12:10 Updated: php-imap.i386 5.2.3-3.el4.art
Aug 26 14:12:11 Updated: php-gd.i386 5.2.3-3.el4.art
Aug 26 14:12:11 Updated: php-ldap.i386 5.2.3-3.el4.art
Aug 26 14:12:11 Updated: php-xml.i386 5.2.3-3.el4.art
Aug 26 14:12:11 Updated: php-mbstring.i386 5.2.3-3.el4.art

if you got all this and still no mysql support... is dont know what to tell you

Posted: Mon Aug 27, 2007 5:44 pm
by scott

Got it working

Posted: Mon Aug 27, 2007 7:35 pm
by vago
I edited thephp5.spec file to include mysql and gd and it works now, sometimes. The frustrating thing now is that one database connects perfectly all the time, others connect sometimes and fail other times, and one does not connect at all. Very confusing, but the good news is that php is connecting to mysql.
Thanks for the help.

Posted: Mon Aug 27, 2007 8:22 pm
by scott
You realize that you just run "yum install php-gd" or "yum install php-mysql" right?