Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Regular Coder
    Join Date
    Feb 2005
    Location
    Texas
    Posts
    472
    Thanks
    1
    Thanked 0 Times in 0 Posts

    undefined function mysql_connect()

    I am getting this error when I go to a PHP page on apache. It doesn't do that on abyss. I'm using PHP5, but I took the semicolon away from the mysql extension in php.ini. So what do I do?
    If you're reading this, it may already be too late!

  • #2
    Senior Coder
    Join Date
    Aug 2003
    Location
    One step ahead of you.
    Posts
    2,815
    Thanks
    0
    Thanked 3 Times in 3 Posts
    You have to copy some files .dll to the system directory or apache directory.
    It's probably only the files with mysql in them. you can read a tutorail about it or... search the forum for the anwser
    I'm not sure if this was any help, but I hope it didn't make you stupider.

    Experience is something you get just after you really need it.
    PHP Installation Guide Feedback welcome.

  • #3
    Regular Coder
    Join Date
    Feb 2005
    Location
    Texas
    Posts
    472
    Thanks
    1
    Thanked 0 Times in 0 Posts
    I copied to my apache directory and system32, but it still doesn't work.

    Edit: Nevermind, forgot I had to restart the server.
    If you're reading this, it may already be too late!


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •