Connecting Tech Pros Worldwide Help | Site Map

Fatal error: Call to undefined function mysql_connect()

  #1  
Old July 7th, 2008, 11:05 PM
cglobal25@hotmail.com
Guest
 
Posts: n/a
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks

System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20

Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613

Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator admin@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5

PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] admin@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590



  #2  
Old July 8th, 2008, 01:35 AM
Jerry Stuckle
Guest
 
Posts: n/a

re: Fatal error: Call to undefined function mysql_connect()


cglobal25@hotmail.com wrote:
Quote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks
>
System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20
>
Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613
>
Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator admin@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5
>
PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] admin@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590
>
>
>
>
You don't have the MySQL extension loaded. Either it's not being loaded
in your php.ini file, or if it is, the MySQL client libraries are not
available when the PHP code is loaded.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  #3  
Old July 8th, 2008, 02:15 PM
burgermeister01@gmail.com
Guest
 
Posts: n/a

re: Fatal error: Call to undefined function mysql_connect()


On Jul 7, 5:02*pm, cgloba...@hotmail.com wrote:
Quote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. *I'm
not sure why i get this error. *Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. *Any ideas?
Thanks
>
System *Windows NT ELMEU 6.0 build 6001
Build Date * * *May 2 2008 18:01:20
>
Configure Command * * * cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API * * *Apache 2.0 Handler
Virtual Directory Support * * * enabled
Configuration File (php.ini) Path * * * C:\Windows
Loaded Configuration File * * * C:\php\php.ini
PHP API * * * * 20041225
PHP Extension * 20060613
>
Apache Version *Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version * * *20051115
Server Administrator * *ad...@hsd1.state.comcast.net
Hostname:Port * 127.0.0.1:0
Max Requests * *Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts * * * *Connection: 300 - Keep-Alive: 5
Virtual Server *No
Server Root * * C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules *core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5
>
PHP_SELF * * * */test.php
_SERVER["HTTP_HOST"] *127.0.0.1
_SERVER["HTTP_USER_AGENT"] * *Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] * * * *text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] * * * en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] * * * gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] * * * *ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] * *300
_SERVER["HTTP_CONNECTION"] * *keep-alive
_SERVER["PATH"] * * * C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] * *C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] * *.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH; .MSC
_SERVER["WINDIR"] * * C:\Windows
_SERVER["SERVER_SIGNATURE"] * no value
_SERVER["SERVER_SOFTWARE"] * *Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] * * * *127.0.0.1
_SERVER["SERVER_ADDR"] * * * *127.0.0.1
_SERVER["SERVER_PORT"] * * * *80
_SERVER["REMOTE_ADDR"] * * * *127.0.0.1
_SERVER["DOCUMENT_ROOT"] * * *C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] * * * ad...@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] * *C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] * * * *49894
_SERVER["GATEWAY_INTERFACE"] *CGI/1.1
_SERVER["SERVER_PROTOCOL"] * *HTTP/1.1
_SERVER["REQUEST_METHOD"] * * GET
_SERVER["QUERY_STRING"] * * * no value
_SERVER["REQUEST_URI"] * * * */test.php
_SERVER["SCRIPT_NAME"] * * * */test.php
_SERVER["PHP_SELF"] * /test.php
_SERVER["REQUEST_TIME"] * * * 1215467590
It looks as though you have the mysql directory in your include path,
but you do not have the mysql extension for PHP installed. Check this
link out for all the info you need to get it setup:

http://us3.php.net/manual/en/mysql.installation.php

Hopefully the fact that you're running Vista won't cause you any
additional complications, as I understand that new OS has caused all
kinds of software anomalies.
  #4  
Old July 8th, 2008, 06:25 PM
petersprc
Guest
 
Posts: n/a

re: Fatal error: Call to undefined function mysql_connect()


Hi,

Try commenting out this line in c:\php\php.ini and restarting:

extension=php_mysql.dll

On Jul 7, 6:02 pm, cgloba...@hotmail.com wrote:
Quote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks
>
System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20
>
Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613
>
Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator ad...@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5
>
PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] ad...@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590
  #5  
Old July 9th, 2008, 03:25 AM
DS
Guest
 
Posts: n/a

re: Fatal error: Call to undefined function mysql_connect()


For PHP 5.x try the MySQL Improved Extension "mysqli"
You call mysqli_init() followed by mysqli_real_connect()

=================================================

On 2008-07-07 15:02:18 -0700, cglobal25@hotmail.com said:
Quote:
Here is the output from phpinfo() on my laptop running windows vista.
As you can see mysql is mentioned several times in the output. I'm
not sure why i get this error. Php scripts that i save in the htdocs
folder seem to work as long as mysql is not called. Any ideas?
Thanks
>
System Windows NT ELMEU 6.0 build 6001
Build Date May 2 2008 18:01:20
>
Configure Command cscript /nologo configure.js "--enable-snapshot-
build" "--with-gd=shared" "--with-extra-includes=C:\Program Files
(x86)\Microsoft SDK\Include;C:\PROGRA~2\MICROS~2\VC98\ATL\INCLUDE; C:
\PROGRA~2\MICROS~2\VC98\INCLUDE;C:\PROGRA~2\MICROS ~2\VC98\MFC\INCLUDE"
"--with-extra-libs=C:\Program Files (x86)\Microsoft SDK\Lib;C:
\PROGRA~2\MICROS~2\VC98\LIB;C:\PROGRA~2\MICROS~2\V C98\MFC\LIB"
Server API Apache 2.0 Handler
Virtual Directory Support enabled
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\php\php.ini
PHP API 20041225
PHP Extension 20060613
>
Apache Version Apache/2.2.9 (Win32) PHP/5.2.6
Apache API Version 20051115
Server Administrator admin@hsd1.state.comcast.net
Hostname:Port 127.0.0.1:0
Max Requests Per Child: 0 - Keep Alive: on - Max Per Connection: 100
Timeouts Connection: 300 - Keep-Alive: 5
Virtual Server No
Server Root C:/Program Files/Apache Software Foundation/Apache2.2
Loaded Modules core mod_win32 mpm_winnt http_core mod_so mod_actions
mod_alias mod_asis mod_auth_basic mod_authn_default mod_authn_file
mod_authz_default mod_authz_groupfile mod_authz_host mod_authz_user
mod_autoindex mod_cgi mod_dir mod_env mod_include mod_isapi
mod_log_config mod_mime mod_negotiation mod_setenvif mod_php5
>
PHP_SELF /test.php
_SERVER["HTTP_HOST"] 127.0.0.1
_SERVER["HTTP_USER_AGENT"] Mozilla/5.0 (Windows; U; Windows NT 6.0; en-
US; rv:1.9) Gecko/2008052906 Firefox/3.0
_SERVER["HTTP_ACCEPT"] text/html,application/xhtml+xml,application/
xml;q=0.9,*/*;q=0.8
_SERVER["HTTP_ACCEPT_LANGUAGE"] en-us,en;q=0.5
_SERVER["HTTP_ACCEPT_ENCODING"] gzip,deflate
_SERVER["HTTP_ACCEPT_CHARSET"] ISO-8859-1,utf-8;q=0.7,*;q=0.7
_SERVER["HTTP_KEEP_ALIVE"] 300
_SERVER["HTTP_CONNECTION"] keep-alive
_SERVER["PATH"] C:\Windows\system32;C:\Windows;C:\Windows
\System32\Wbem;C:\Program Files\Microsoft SQL Server\90\Tools\binn\;C:
\Acer\Empowering Technology\eDataSecurity\;C:\Acer\Empowering
Technology\eDataSecurity\x86;C:\Acer\Empowering Technology
\eDataSecurity\x64;C:\Program Files\MySQL\MySQL Server 5.0\bin
_SERVER["SystemRoot"] C:\Windows
_SERVER["COMSPEC"] C:\Windows\system32\cmd.exe
_SERVER["PATHEXT"] .COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;. MSC
_SERVER["WINDIR"] C:\Windows
_SERVER["SERVER_SIGNATURE"] no value
_SERVER["SERVER_SOFTWARE"] Apache/2.2.9 (Win32) PHP/5.2.6
_SERVER["SERVER_NAME"] 127.0.0.1
_SERVER["SERVER_ADDR"] 127.0.0.1
_SERVER["SERVER_PORT"] 80
_SERVER["REMOTE_ADDR"] 127.0.0.1
_SERVER["DOCUMENT_ROOT"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs
_SERVER["SERVER_ADMIN"] admin@hsd1.state.comcast.net
_SERVER["SCRIPT_FILENAME"] C:/Program Files/Apache Software Foundation/
Apache2.2/htdocs/test.php
_SERVER["REMOTE_PORT"] 49894
_SERVER["GATEWAY_INTERFACE"] CGI/1.1
_SERVER["SERVER_PROTOCOL"] HTTP/1.1
_SERVER["REQUEST_METHOD"] GET
_SERVER["QUERY_STRING"] no value
_SERVER["REQUEST_URI"] /test.php
_SERVER["SCRIPT_NAME"] /test.php
_SERVER["PHP_SELF"] /test.php
_SERVER["REQUEST_TIME"] 1215467590

  #6  
Old July 9th, 2008, 12:25 PM
cglobal25@hotmail.com
Guest
 
Posts: n/a

re: Fatal error: Call to undefined function mysql_connect()


Thanks for the quick responses. I'll try the solutions and let you
all know.

Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Fatal error: Call to undefined function mysql_connect() Julian Bowler answers 49 January 5th, 2009 09:59 PM
Totally lost! "Fatal error: Call to undefined function: mysql_connect()" awdsites@gmail.com answers 5 January 16th, 2006 07:55 PM
Another "Fatal error: Call to undefined function: mysql_connect()"Question Grant Nosbush answers 5 August 5th, 2005 08:57 PM
HELP: Fatal error: Call to undefined function: mysql_connect() in /var/www/html/index.php BT answers 1 July 17th, 2005 12:02 AM