php installed without mysql

General Discussion of atomic repo and development projects.

Ask for help here with anything else not covered by other forums.
vago
Forum User
Forum User
Posts: 5
Joined: Mon Aug 27, 2007 2:51 am

php installed without mysql

Unread post by vago »

Another problem - php 5.2.3 from the atomic channel installed without mysql support. Is there any way to change this?
npavlidis
Forum Regular
Forum Regular
Posts: 122
Joined: Sun Jun 04, 2006 10:03 am

Unread post 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
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

vago
Forum User
Forum User
Posts: 5
Joined: Mon Aug 27, 2007 2:51 am

Got it working

Unread post 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.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8355
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

Unread post by scott »

You realize that you just run "yum install php-gd" or "yum install php-mysql" right?
Post Reply