jmoore2020 Posted October 18, 2007 Share Posted October 18, 2007 i have the newest versions of php, mysql and apache running on windows for learning purposes... ive seen many post of people who have had the same issues i am... when i try to access mysql using php nothing happens. php and apache work fine together... mysql is also up and running fine... ive tried variations of different code to login to mysql to do basic things.. but i get no error echoes or server errors. everyone's solution so far that i have found is to install a packaged version of the 3 apps. id like to figure this out without doing so. Thanks in advance Jason M. Quote Link to comment Share on other sites More sharing options...
~n[EO]n~ Posted October 18, 2007 Share Posted October 18, 2007 What error are u getting ??? Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 18, 2007 Share Posted October 18, 2007 i have the newest versions of php, mysql and apache running on windows for learning purposes... ive seen many post of people who have had the same issues i am... when i try to access mysql using php nothing happens. php and apache work fine together... mysql is also up and running fine... ive tried variations of different code to login to mysql to do basic things.. but i get no error echoes or server errors. everyone's solution so far that i have found is to install a packaged version of the 3 apps. id like to figure this out without doing so. Thanks in advance Jason M. Turn a setting called display_errors On within the php.ini if you are getting blank screens. PHP will now show errors which will help you know what's wrong. When you modify the php.ini make sure you restart Apache You're most probably get an error like "Call to undefined function: mysql_connect" when turn display_errors on. If you do please read this FAQ. Quote Link to comment Share on other sites More sharing options...
lewis987 Posted October 18, 2007 Share Posted October 18, 2007 easiest things i can think off that you havent done is (im on the same setup fully running in vista): Not Enabled the mysql extension Not added the php folder to the path environment other than that, im baffled. You will need to turn on "Display_errors" in the php.ini file 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.