FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Installation Issues » Fatal Error: Call to undefined function mysql_connect()
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Fatal Error: Call to undefined function mysql_connect() [message #27445 is a reply to message #9195] Thu, 08 September 2005 11:13 Go to previous messageGo to previous message
fraxon is currently offline  fraxon   Zambia
Messages: 1
Registered: September 2005
Karma:
Junior Member
While the Error suggest the absence of mysql support in php the solution provided above is true. I had the same problem, I am using Debian Sarge 3.1. The error made me reinstall the whole OS which was to no avail. apt-get install php4-mysql did not solve the problem as it was already installed but after reading the suggested solution, I am up my feet and running. just append localhost and then restart the webserver

apache2ctl restart

php.ini
-----------
; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host = localhost

Dont ask me why!! It worked for me. Try it.

[Updated on: Thu, 08 September 2005 11:17]

Report message to a moderator

[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: No mailing list functionality since upgrade
Next Topic: www_root does not correspond to server_root ???
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 30 06:25:51 GMT 2024

Total time taken to generate the page: 0.04376 seconds