|
Posted by Martin on 10/09/76 11:33
Well, after much pain and agony, I've come to the conclusion that my
problem is not getting PHP to work - instead, it seems that the PHP
script is not able to open a connection to a MySQL database.
I put some tracing "echos" in my page and, when I open the page, it
executes down to the statement:
$conn=@mysql_connect( "localhost", "root", "mypassword" ) or die (
"Err:Conn" );
MySQLAdministrator seems to show that everything is ok with MySQL.
That is, it's running, the needed database is there, there's in it,
etc.
In the PHP.INI file, I have extension=php_mysql.dll active
(uncommented). The extension_dir is set to the correct folder.
I notice in the PHPInfo listng that MySQL does NOT show up (like PHP
doesn't know anything about MySQL?)
Any suggestions as to what I might want to look for here?
Thanks
On Wed, 30 Nov 2005 14:52:47 -0700, Martin <martinvalley@comcast.net>
wrote:
>Can someone point me to some step-by-step instructions for getting PHP
>to work using ISAPI?
>
>My environment:
>Windows XP Pro - Service Pack 2
>IIS 5.1
>PHP 5.1.1
>
>I'm setting up a new computer - to be used strictly for in-house
>development work.
>
>I find the PHP manual to be nearly incomprehensible; although I have
>followed the instructions as best I can.
>
>I found a good set of instructions here:
>http://psdforums.com/showthread.php?s=baf33df1b8ae8425ee3369db62c146c5&t=1366
>but they are for IIS 6.0 on Windows 2003. There are apparently some
>significant differences. Where he says to add a web service extension
>for PHP, my IIS doesn't even have the specified menu item.
>
>Help?
Navigation:
[Reply to this message]
|