configuring mysql with php, apache

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • lawrencesiow
    New Member
    • Dec 2009
    • 1

    configuring mysql with php, apache

    hi all,

    i got some problems with mysql when i test my phpinfo page i didn't see any mysql information at there and also when i try to test my other php pages, i received an error, Fatal error: Call to undefined function mysql_connect()

    im using mysql 5.1.41
    php 5.2.12
    apache_2.2.14

    i also have IIS 6 on my windows vista.
    but apache and php is working fine as i changed the port no for IIS, i presume.

    i searched internet for solutions, uncommented the extension_dir = "c:/php/ext"
    extension="php_ mysql.dll" but still doesn work.

    help given will be appreciated, thanks.
  • mwasif
    Recognized Expert Contributor
    • Jul 2006
    • 802

    #2
    Do you have the required dll php_mysql.dll in extensions directory?

    Use can use WampServer for easy to setup PHP, MySQL and Apache environment.

    Comment

    • mwasif
      Recognized Expert Contributor
      • Jul 2006
      • 802

      #3
      I am moving this post to PHP Forum which is more relevant.

      Comment

      Working...