PHP/MySQL Issue
Posted: Sun Dec 14, 2008 11:42 am
I have the newest php(3.1.1) installed at c:\php with IIS running the web server. I have tested php and it is installed and running correctly showing me the contents of a phpinfo file. I have mysql installed to current default location at c:\program files\ etc. All this is setup on XP SP2 with no firewall and connections opened up on router to allow 3306. I can login to mysql via the command line with the user root and the password I set at install. However, I get this message after I hit ok. Whether I submit correct credentials or not. Note, I am the admin of this box.
PHP has encountered an Access Violation at 0101AC5A
Sometimes it shows that the page cannot be displayed. Has anyone seen this error and may know the problem? I've looked into my windows event viewer and I have an error under System with Source being WAM and problem listed:
I've tried changing the connection type to config, http, and cookie. Still no luck. I do have MySQL Administrator Tools and can connect to my MySQL via Administrator and Browser and what not. I'm stuck! Please help!
The HTTP server encountered an unhandled exception while processing the ISAPI Application '
php5ts!zend_mm_shutdown + 0x1140
php5ts!_efree + 0x39
'.
I havn't received this message in awhile. Friends can also view my login page. I feel safe I can provide that to the public. It's located at http://nemosolutions.mine.nu/phpadmin.
Phpinfo.php shows that mysql is installed. In fact, it can be reached at http://nemosolutions.mine.nu/phpinfo.php if anyone cares to see my config to help. I would really appreciate the help as I'm wanting to get a job I applied for and they user php with mysql as their primary web development. I believe I covered everything. I will post a reply if I realize I forgot something heh. Thanks again for any help!
I changed my extension from mysql to msyqli, restarted mysql and now I get this:
#1045 - Access denied for user 'user'@'localhost' (using password: YES)
I modified my config.inc.php to a different user but to no avail
I've also just tried a simple php file to connect to my mysql.
<?php
mysql_connect("localhost", "some_user", "some_pass") or die(mysql_error());
echo "Connected to MySQL<br />";
mysql_close($dbh);
?>
I still get that same access violation...
PHP has encountered an Access Violation at 0101AC5A
Sometimes it shows that the page cannot be displayed. Has anyone seen this error and may know the problem? I've looked into my windows event viewer and I have an error under System with Source being WAM and problem listed:
I've tried changing the connection type to config, http, and cookie. Still no luck. I do have MySQL Administrator Tools and can connect to my MySQL via Administrator and Browser and what not. I'm stuck! Please help!
The HTTP server encountered an unhandled exception while processing the ISAPI Application '
php5ts!zend_mm_shutdown + 0x1140
php5ts!_efree + 0x39
'.
I havn't received this message in awhile. Friends can also view my login page. I feel safe I can provide that to the public. It's located at http://nemosolutions.mine.nu/phpadmin.
Phpinfo.php shows that mysql is installed. In fact, it can be reached at http://nemosolutions.mine.nu/phpinfo.php if anyone cares to see my config to help. I would really appreciate the help as I'm wanting to get a job I applied for and they user php with mysql as their primary web development. I believe I covered everything. I will post a reply if I realize I forgot something heh. Thanks again for any help!
I changed my extension from mysql to msyqli, restarted mysql and now I get this:
#1045 - Access denied for user 'user'@'localhost' (using password: YES)
I modified my config.inc.php to a different user but to no avail
I've also just tried a simple php file to connect to my mysql.
<?php
mysql_connect("localhost", "some_user", "some_pass") or die(mysql_error());
echo "Connected to MySQL<br />";
mysql_close($dbh);
?>
I still get that same access violation...