Page 2 of 2

Re: enable mysql within php, how?

Posted: Wed Feb 20, 2008 3:48 pm
by liljester
in your php.ini file, change line 372 to this:

Code: Select all

display_errors = On
also change line 377 to this:

Code: Select all

display_startup_errors = On
those should let you see what errors php is generating.

after you make changes to php.ini, be sure to restart your web service.

Re: enable mysql within php, how?

Posted: Wed Feb 20, 2008 6:19 pm
by gphp
So, I am back to the original error!

Code: Select all

Fatal error: Call to undefined function mysql_connect() in C:\www\Apache\htdocs\db_connect.php on line 4
That has to do with mysql but what I do not know?
Thanks,
George

it is a bug in mysql:

Code: Select all

my_thread_global_end()
I guess now I need to find where to get the windows version patch or a different download.

Re: enable mysql within php, how?

Posted: Wed Feb 20, 2008 11:21 pm
by gphp
I got it together "FINALLY"!!!
There is a solution on mysql website. I needed php_mysql.dll and php_mysqli.dll and their connector libmysql.dll files.
Thanks.

Re: enable mysql within php, how?

Posted: Thu Feb 21, 2008 8:31 am
by liljester
... didnt i say that.. twice?