SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Member
    Join Date
    Mar 2001
    Location
    Idaho
    Posts
    5
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I've got mysql installed and just installed php4 and have got apache running with it but i keep getting errors from my test page...
    Fatal error: Call to undefined function: mysql_connect() in /home/httpd/html/users/cc.php on line 4
    line 4 is...
    $db=mysql_connect("localhost", "root");
    from what i've read it seems that php is not compiled with mysql support but when i did the ./configure --with-mysql --with-apxs everything ran through fine??? can anyone explain how to compile a dynamic mysql module and explain how to load it into php???

  2. #2
    ********* Callithumpian silver trophy freakysid's Avatar
    Join Date
    Jun 2000
    Location
    Sydney, Australia
    Posts
    3,798
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    bummer. The puritans might shun me - but I installed my server setup from one of the bundled distros www.nusphere.com . You could also use the firepages distro http://www.firepages.com.au/phpdev.htm

    I know this is not a direct answer to your question - but it might be a last resort solution?


Bookmarks

Posting Permissions

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