gsquare567 Posted April 25, 2007 Share Posted April 25, 2007 i have tried installing it multiple times all separately, then tried xampp but the port 3306 error came up, probably because i didnt uninstall it. two questions: 1. should i uninstall and use wamp like in the sticky above, or is that a minor problem that i can fix and should use xampp, 2. how can i test it? i tried making a file called test.php with <?php php.info(); ?> somethin like that from a tut that should have worked but didnt, and saved it in the hpdocs or w/e and opened it and nothing. help? thanks in advance. Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/ Share on other sites More sharing options...
trq Posted April 25, 2007 Share Posted April 25, 2007 Sorry, your question is? Are you having trouble getting a working server? Please eleberate on your actual issues. Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-238354 Share on other sites More sharing options...
wildteen88 Posted April 25, 2007 Share Posted April 25, 2007 port 3306 is to do with MySQL and not Apache/PHP. By default MySQL listens to port 3306. When uninstalling MySQL it is important that you stop the service before your uninstall it, MySQL does attempt to stop the service if its running during unistall but this sometimes fails. If you don't stop the service then it can cause these sort of problems. Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-238367 Share on other sites More sharing options...
gsquare567 Posted April 25, 2007 Author Share Posted April 25, 2007 ok, well then why isnt my php working Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-238548 Share on other sites More sharing options...
trq Posted April 26, 2007 Share Posted April 26, 2007 ok, well then why isnt my php working Could be any of about 10000 different reasons, as I said.... Please eleberate on your actual issues. Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-239021 Share on other sites More sharing options...
gsquare567 Posted April 26, 2007 Author Share Posted April 26, 2007 why shouldnt it work. i installed wamp with 0 errors. i dont think it's working, but maybe im not using it right. do i save the .php files in the documentroot and open them with internet? Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-239193 Share on other sites More sharing options...
wildteen88 Posted April 26, 2007 Share Posted April 26, 2007 You have to save your .php files in wamps www folder (C:/wamp5/www) and then open up your desired web browser and go to http://localhost/myfile.php If you don't go to localhost then your php wont be parsed. Quote Link to comment https://forums.phpfreaks.com/topic/48661-port-3306-still-open/#findComment-239213 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.