|
 |

04-06-2006, 12:21 PM
|
Junior Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 29
|
|
The php-devel for http or mysql is not just for http or mysql, right? I looked on google and couldn't find anything for "php-devel for http," but when I searched just for php-devel there were plenty of rpms.
I downloaded one and tried to install it, but I got an error:
file /usr/bin/pear from install of php-devel-4.0.6-12 conflicts with file from package php-pear-4.3.9-3.8
Do I have to uninstall php's old extensions before I try to install php-devel or does that mean I already had them?
|

04-06-2006, 05:30 PM
|
 |
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
Quote:
Originally Posted by chiefsmurph
The php-devel for http or mysql is not just for http or mysql, right? I looked on google and couldn't find anything for "php-devel for http," but when I searched just for php-devel there were plenty of rpms.
I downloaded one and tried to install it, but I got an error:
file /usr/bin/pear from install of php-devel-4.0.6-12 conflicts with file from package php-pear-4.3.9-3.8
Do I have to uninstall php's old extensions before I try to install php-devel or does that mean I already had them?
|
Your going to have to update the php-devel with yum. Try "yum install MySQL-devel" and try "yum install php-devel" Let me know if one of those two fixes your problem.
|

04-06-2006, 10:17 PM
|
Junior Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 29
|
|
Ran them both and no luck. Still getting error here.
MySQL-devel gave me:
No Match for argument: MySQL-devel
Nothing to do
Php-devel did a lot. Looked like this:
Transaction Summary
======================
Install 1 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
|

04-07-2006, 04:51 AM
|
 |
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
Quote:
Originally Posted by chiefsmurph
Ran them both and no luck. Still getting error here.
MySQL-devel gave me:
No Match for argument: MySQL-devel
Nothing to do
Php-devel did a lot. Looked like this:
Transaction Summary
======================
Install 1 Package(s)
Update 3 Package(s)
Remove 0 Package(s)
|
Try "yum install php4-mysql" and let me know if that works? Dont worry we will get you up and running. Also check and make sure php_mysql.dll is enabled in the php.ini.
|

04-07-2006, 01:05 PM
|
Junior Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 29
|
|
yum install php4-mysql said nothing to do, but I looked in my php.ini file and theres no php_mysql.dll.
I searched for mysql and found: extension_dir = /var/lib/mysql/ is that right?
Also, extension wasn't set. I thought it had something to do with extensions but I may be way off.
|

04-08-2006, 01:39 PM
|
 |
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
The only other thing I can think of is you need to rebuild PHP for MySQL. What OS are you running and what version of PHP do you have?
If your running PHP 4 you can follow this guide to rebuild your PHP for MySQL.
http://www.eth0.us/sourcephp
|

04-08-2006, 01:54 PM
|
Junior Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 29
|
|
Centos Php 4. Thanks for the help. I'll try to recompile php later today.
|
 |
Thread Tools |
|
Display Modes |
Hybrid Mode
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|