Skrevet av Emne: How to enable mysql support in PHP  (Lest 4929 ganger)

ATC

  • Gjest
How to enable mysql support in PHP
« på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • PHP, Apache, mod_php and MySQL are all installed and working, but the mysql related commands in PHP do not function.



    ATC

    • Gjest
    [Solved] How to enable mysql support in PHP
    « Svar #1 på: 27. ſeptember 2008, 18:24 pm »
  • [applaud]0
  • [smite]0
  • uncomment the line that enables the extension in your php.ini:

    extension=mysql.so

    if it don't work verify the line "extension_dir = /usr/lib/php4" and if the
    file mysql.so is in this directory.

    Note that Apache needs to be restarted after making changes to php.ini