|
Posted by Jerry Stuckle on 03/05/07 02:04
brett wrote:
> On Mar 4, 12:43 pm, PDannyD <dan1...@scenicplace.freeserve.co.uk>
> wrote:
>> brett wrote:
>>> I'm running PHP5 on Windows Vista with mysql 5.2. I have a simple php
>>> file with
>>> <?
>>> $dbc = mysql_connect ();
>>> ?>
>>> When I run the file, I get this error:
>>> Fatal error: Call to undefined function mysql_connect() in E:\www
>>> \mysite\connecttest.php on line 2
>>> PHP seems to be installed correctly. What could I be doing wrong?
>> What does phpinfo() bring up? If you can't see MySQL in there then it needs
>> to be installed/configured.
>
> I've installed the extensions and configured php.ini. I renamed php-
> recommended to php.ini since one didn't exist. I set the
> externsion_dir to my "ext" path but phpinfo() keeps showing it as c:
> \PHP5, which doesn't exist. Any idea why that is happening?
>
> Thanks.
>
Are you using the correct php.ini? phpinfo() will tell you.
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|