View previous topic :: View next topic |
Author |
Message |
BigBen747 -
Joined: 30 May 2007 Posts: 28
|
Posted: Wed Jul 25, 2007 3:17 pm Post subject: db connect error |
|
|
I keep getting a error, when i stopped the sql server and the web server, when doing something, and when i started it back up, I got:
Fatal error: Call to undefined function mysql_connect() in H:\Program Files (x86)\Abyss Web Server\htdocs\lbc\db\mysql4.php on line 48 |
|
Back to top |
|
|
loloyd -
Joined: 03 Mar 2006 Posts: 435 Location: Philippines
|
Posted: Thu Jul 26, 2007 4:16 am Post subject: |
|
|
try restarting your mysql server and see if that works. _________________
http://home.loloyd.com/ is online if the logo graphic at left is showing. |
|
Back to top |
|
|
BigBen747 -
Joined: 30 May 2007 Posts: 28
|
Posted: Thu Jul 26, 2007 4:24 am Post subject: |
|
|
i've done that ( a lot of times ) even reinstalled it, and reconfigerd it, and restarted the webserver. Same error. |
|
Back to top |
|
|
olly86 -
Joined: 25 Apr 2003 Posts: 993 Location: Wiltshire, UK
|
Posted: Thu Jul 26, 2007 1:15 pm Post subject: Re: db connect error |
|
|
BigBen747 wrote: | Fatal error: Call to undefined function mysql_connect() in H:\Program Files (x86)\Abyss Web Server\htdocs\lbc\db\mysql4.php on line 48 |
This error refers to your PHP config. It indicates that the mysql libraries are not available. Have you enabled them in the config file? _________________ Olly |
|
Back to top |
|
|
BigBen747 -
Joined: 30 May 2007 Posts: 28
|
Posted: Thu Jul 26, 2007 2:05 pm Post subject: |
|
|
where is it at? |
|
Back to top |
|
|
loloyd -
Joined: 03 Mar 2006 Posts: 435 Location: Philippines
|
Posted: Fri Jul 27, 2007 2:56 am Post subject: |
|
|
look for all instances of "mysql" in your php.ini file and check on them.
my guess is, under Extensions section, you have not enabled the mysql extension.
extension=php_mysql.dll
if you see a
;extension=php_mysql.dll
remove the leading semi-colon. _________________
http://home.loloyd.com/ is online if the logo graphic at left is showing. |
|
Back to top |
|
|
BigBen747 -
Joined: 30 May 2007 Posts: 28
|
Posted: Fri Jul 27, 2007 3:04 am Post subject: |
|
|
its enabled, also i checked the others, there good i guess. |
|
Back to top |
|
|
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jul 27, 2007 11:53 pm Post subject: |
|
|
BigBen747 wrote: | its enabled, also i checked the others, there good i guess. |
Have you enabled it in the right php.ini file?
We strongly suggest that you use our preconfigured PHP 5 package which support MySQL out of the box: http://www.aprelium.com/abyssws/php5win.html . _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
|
|