cdikland Posted October 3, 2007 Share Posted October 3, 2007 After about a 3 years 'vacation' I just installed Apache 2.2.4 along with Php v5.2.4 and MySQL v5.0.n on my PC running XP. Here is (one of) my problem(s) It would appear I missed somethings in the install or configuration of PHP as I can not connect to my database. In fact I dont get an error message at all just a generic "Website cannot display this page" error. I went as far as to strip the php file down to 1 line of php code only and the resulting file (without the HTML) looks like this ' ' ' <?php $db = mysql_connect("localhost", "cdikland", "meridian") OR DIE("Connect Error : ".mysql_error()); ?> ' ' ' The result? The error message I indicated above.. I checked my PHP.ini file which contains [php_MSSQL] extension=php_mssql.dll [php_MYSQL] extension=php_mysql.dll The Mysql database exists and I can access it either with admin tools or php version 4.2.n running on another server What could I be missing??? Quote Link to comment Share on other sites More sharing options...
trq Posted October 3, 2007 Share Posted October 3, 2007 Have you read this sticky? Quote Link to comment Share on other sites More sharing options...
cdikland Posted October 3, 2007 Author Share Posted October 3, 2007 I had done all what you had described in your post EXCEPT.... >:(Didnt copy the libmysql.dll file to the systems folder. Once I did, it worked Great stuff... Thanks lots Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.