tags:

views:

30

answers:

3

hi,

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,

+1  A: 

Normally, whoever provides the PHP rpm will also provide a php-mysql or php4-mysql rpm. Look for it.

Habbie
Hi Habbie, I installed the rpm # rpm -qa | grep -i phpphp-common-5.1.6-3.7.fc6php-snmp-5.1.6-3.7.fc6php-ncurses-5.1.6-3.7.fc6php-xmlrpc-5.1.6-3.7.fc6php-mbstring-5.1.6-3.7.fc6php-pear-1.4.9-4php-gd-5.1.6-3.7.fc6php-odbc-5.1.6-3.7.fc6php-devel-5.1.6-3.7.fc6psa-php5-configurator-1.3.0-fc6.build82070918.10php-mysql-5.3.2-2.fc6.remiphp-pdo-5.1.6-3.7.fc6php-cli-5.1.6-3.7.fc6php-dba-5.1.6-3.7.fc6php-pgsql-5.1.6-3.7.fc6php-soap-5.1.6-3.7.fc6php-xml-5.1.6-3.7.fc6php-imap-5.1.6-3.7.fc6php-bcmath-5.1.6-3.7.fc6php-ldap-5.1.6-3.7.fc6php-5.3.2-2.fc6.remi
Vikrant Labde
but still no luck. I have restarted apache also. Do i need to do anything else?
Vikrant Labde
A: 

This might be helpfull to you.

Thariama
A: 

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.

Mark Baker