|
Posted by shimmyshack on 09/09/07 08:01
On Sep 9, 6:19 am, "Colorado Trout"
<nospam.coloradotr...@mesanetworks.net> wrote:
> From a command prompt, the calls to mysql work, but from a browser they do
> not..
>
> Fatal error: Call to undefined function mysql_pconnect() in
> D:\work\php\chorelist.php on line 139
>
> is the error, but basically it just means it cannot find mysql..
yeah its probably means that you have not adjusted the php.ini file
that apache uses, whereas you have adjusted the php.ini file for the
client version of php.
This is usually because you have installed apache, php and mysql
separately, if you have (as you shuld have) set up php to run as a
module within apache, you will need to place a copy of the php.ini
file in apache/bin and then the server will use this rather than the
php.ini inside the php folder where php.exe resides. hope that makes
sense - a bit mangled cos it's early on sunday morning!
[Back to original message]
|