Getting PHP5 to work with MySQL

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Lazandra
    New Member
    • Sep 2007
    • 25

    Getting PHP5 to work with MySQL

    Hi,

    I have installed php5 and mysql 4.1. But i can't get them to work properly. I have searched and found some sites but they all give different ways of doing it.

    Does anyone know of a site that tells you exactly what to do?

    The error i get when i try and load phpMyAdmin is

    "Cannot load mysql extension. Please check your PHP configuration. - Documentation"

    Thanks guys
  • jasone
    New Member
    • Mar 2007
    • 66

    #2
    Hi buddy,

    i had the same problem as you many months ago, the best site i found to help with the installation is shown below:

    http://www.expertsrt.c om/tutorials/Matt/install-apache.html#dir setup

    also try this site for php tutorials... all video based which helps you understand how everythign fits together :-) hope this helps

    www.killerphp.c om

    Comment

    • Motoma
      Recognized Expert Specialist
      • Jan 2007
      • 3236

      #3
      Before we can help you with your problem, we need to know a) what operating system you are running on and b) how you installed and set up Apache, PHP, and MySQL.

      Comment

      • Lumpy
        New Member
        • Oct 2007
        • 69

        #4
        If its not a production box and you don't mind giving up a little flexibility, you can install a precompiled versions of apache, php and mysql, you can do a Google search for xampp and it is an all in one package.

        Another thing you could do is to run phpinfo() and see if the mysql functions are installed in php. It would be about halfway down the page.

        Comment

        • Lazandra
          New Member
          • Sep 2007
          • 25

          #5
          Hi guys

          Thanks alot jasone. It worked perfectly!

          Laz
          xxxxx

          Comment

          Working...