scotch33 Posted May 16, 2007 Share Posted May 16, 2007 Hi there, I have just got a new dedicated server and need to setup PHP to work with mysql on it. Now it comes pre-installed with php, my sql and REDHAT. I have checked the PHPO config and can see that the problem I have (found whilst trying to install some software that wouldn't install because "Mysql extension" is not switched on) is that in the .configure php command 'without mysql' is set. I am guessing that by changing this command to 'with mysql' i'll be able to turn on the php ability to work with mysql and thus solve the prob. So my question is how do i do that? If anyone can point me at some help where I can learn about how to change the configure command in apache (if that is right?), then I would appreciate it! Thanks! John. Quote Link to comment Share on other sites More sharing options...
Guest prozente Posted May 17, 2007 Share Posted May 17, 2007 Normally you'd have to recompile PHP, which is documented on php.net here But since you're running redhat and this is a server I'm guessing this is RHEL, you should be able to use the package management instead, try running the below command as root. yum install php-mysql Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.