Re: help w/ php mysql connect problem!!



ligerdave wrote:
i run php4+mysql+apache2 on linux(ubuntu). every time i try to use
mysql_connect function, it says something like this:
Fatal error: Call to undefined function: mysql_connect() in
/home/ligerdave/website/test.php on line 13


plz help!!!!!


With Ubuntu, you shouldn't _have_ to compile anything yourself.
Make sure you have installed the php4-mysql package, and make sure the 'extension=mysql.so' line is in your php.ini file.
.




Relevant Pages

  • Re: Session_start not working
    ... Fatal error: Call to undefined function: session_startin ... You can get Apache plus PHP running in a normal user account. ... tell me where the PREFIX/tmp folder is? ...
    (alt.php)
  • [SLE] Apache PHP and no email
    ... Fatal error: Call to undefined function: mailin ... If you are not the intended recipient, ... those of the individual sender and are not necessarily the views of the ...
    (SuSE)
  • Full path disclosure in Webcalendar 1.1.0-CVS
    ... Fatal error: Class testoffunctions: Cannot inherit from undefined class ... Fatal error: Call to undefined function: translatein ... Fatal error: Call to undefined function: etranslate() in ... var ie5 // Are we using Internet Explorer ...
    (Bugtraq)
  • Re: php 5 and mysql
    ... Steve Wrote: ... i'm still getting the fatal error: ... Did you restart your web server? ...
    (alt.php)
  • [Full-Disclosure] [waraxe-2005-SA#040] - Full path disclosure and XSS in PhpNuke 6.x-7.6
    ... Fatal error: Cannot instantiate non-existent class: ... Fatal error: Call to undefined function: opentable ... SiteMapper - free php script for phpNuke powered ... Do you Yahoo!? ...
    (Full-Disclosure)

Quantcast