|
 |

04-04-2006, 03:08 PM
|
Junior Member
GB Beginner
|
|
Join Date: Mar 2006
Posts: 29
|
|
PHP MySql Problem
I haven't used mysql at all until yesterday when I tried to install SMF. I was getting some database connection issues, tried to work them out, and ended up giving up. Today I bought the domain pcgamertalk.com so I have got to work this out so I tried phpBB hoping it would miraculously work. Not suprisingly, that didn't work. When installing phpBB it gave me an option to change the type of database the forum should be installed in. I tried both MySql versions it allowed me and neither worked.
Obviously something is wrong with configuration of php and mysql, but I can't figure it out. When I login into webmin, I can add databases and tables to mysql, but I can't connect from a php script. Has anyone else had this problem? Thanks
|

04-06-2006, 04:44 AM
|
 |
Senior Member
GB GEEK
|
|
Join Date: Feb 2006
Posts: 309
|
|
chiefsmurph I have to apologize for getting back to you late on this one. I have a side project going that eating all my free time. It sounds like your missing the php-devel for either MySQL or http. I had the same problem on my server. It turned out that I needed http php-devel and after I installed it everything worked.
|

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.
|
 |
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
|
|
|
|