Bekijk de volledige versie : mysql+php not working together
ovidiupys
18-02-2008, 09:32
Hi. I managed to install thttpd with php support and mysql using grifu's tutorial. The problem is now that when I try to run a php script that connects to database it gives me this error : Fatal error: Call to undefined function mysql_connect().
Thank u
Hi. I managed to install thttpd with php support and mysql using grifu's tutorial. The problem is now that when I try to run a php script that connects to database it gives me this error : Fatal error: Call to undefined function mysql_connect().
Thank u
Hi,
Is MySQL running? (did the service startup at boot)
Also, to make a php-mysql connection you have to install php-mysql
- ipkg install php-mysql
(as found in this thread: http://www.wl500g.info/showthread.php?t=10487)
HTH
ovidiupys
18-02-2008, 20:46
@raas, thank you for the help. Yes, the mysql connection was working.
ipkg install php-mysql did the trick. Now I have a fully functional webserver on my wl500GP. This forum is very, very useful.