Reputation: 128
I have upgrade PHP version to 5.3.2 on fedora core 6 system through RPM. Now php is working fine but Mysql is not associated with PHP.
When I checked phpinfo it says '--without-mysql' '--without-gd' in configure command.
I tried running ./configure command which suppose to fire through source of php, but I've installed php through RPM, how do I find the source? ./configure command is not at all working.
Any alternative to recompile php with mysql if I install php through RPM.
Thanks,
Upvotes: 2
Views: 1218
Reputation: 212412
Personally, I'd remove the RPMs, and then rebuild from source.
To find out what RPMs are already installed, use the RPM query command in conjunction with grep to filter your results:
rpm -qa | grep -i php
To remove the RPMs listed, do:
rpm -e <filename>
for each RPM you found in the query.
Upvotes: 0
Reputation: 2230
Normally, whoever provides the PHP rpm will also provide a php-mysql or php4-mysql rpm. Look for it.
Upvotes: 1