Tim356 Posted June 23, 2009 Share Posted June 23, 2009 I have mysql and php 5.1 running on my CentOS server, however mysql extensions don't seem to be working - I get a 'call to undefined function' when running any mysql code. How can I fix this? Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted June 23, 2009 Share Posted June 23, 2009 Use yum: yum install php-mysql service httpd restart Quote Link to comment Share on other sites More sharing options...
RRT Posted June 29, 2009 Share Posted June 29, 2009 Did this fix your issue? Would I do the same thing for Postgres, such as this: yum install php-postgres Any ideas? Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted June 30, 2009 Share Posted June 30, 2009 yum install php-pgsql Quote Link to comment Share on other sites More sharing options...
RRT Posted July 1, 2009 Share Posted July 1, 2009 When I try that I guess this: Setting up Install Process Setting up repositories Cannot find a valid baseurl for repo: updates-released That is as far as I get. Do I need to run some other command to setup yum first? Quote Link to comment Share on other sites More sharing options...
JonnoTheDev Posted July 1, 2009 Share Posted July 1, 2009 You need to update your yum conf http://sial.org/howto/yum/ 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.