On Wednesday 19 March 2003 16:34, Foong wrote: > Does anybody knows why I get call to undefined function for mysql_connect > when running PHP through command shell. but it works fine when accessing > the script through web browser.
Most likely your php binary (CLI, not module) was not compiled with mysql support. -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Only people with names beginning with 'A' are getting mail this week (a la Microsoft) */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php