PHP not supporting MySQL
- From: Siegfreed <sieg@xxxxxxxxx>
- Date: Wed, 07 Feb 2007 19:02:20 +1100
My PHP version is obviously not compiled with MySQL support,
consequently I get the following message:-
Fatal error: Call to undefined function mysql_connect() in
C:\http-dir\board\connect.php on line 3
Question:- How do I instruct PHP to support MySQL?
Please note:-
extension=php_mysql.dll
extension=php_pdo_mysql.dll
in php.ini are enabled, and php.ini is located in the php root directory.
Thank you.
.
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) - [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) - Fatal Error: Win2003 & mysql_connect function [PLEASE HELP]
... I am running Win2k3 Server and when I try to use the mysql_connect ... Fatal error: Call to undefined function mysql_connectin ... same as my XP machine) and I know that mysql works fine with PHP as I ... (comp.lang.php) - Help with createimagefromjpeg not working
... but am getting a fatal error message as follows ... Fatal error: Call to undefined function: imagecreatefromjpegin ... according to the php manual it has been available since ver 3 of php. ... Note that php is installed on my webhosts server and not my local PC. ... (comp.lang.php) - Help
... and from php I can't connect to Postgresql I have this error ... Fatal error: call to undefined function pg_connect ... But my script phpinfo(); show me ... (freebsd-questions) |
|