Have put together several sites using it and all has been well.until today. I've had MAMP installed on my computer for over a year. I have a similar problem and have tried everything. This is the first time I've asked a question here. Once you understand the role of the web and database servers, and where you need to store your PHP files, it becomes a lot easier.įirst, I'm just learning php, and have been reading your book PHP Solutions (about 1/3 through). I've been using PHP/MySQL for about 10 years, but I remember my own confusion when I first started. Very occasionally, problems are also caused by a firewall blocking access between Dreamweaver and the web and database servers. If you try to access pages in the other server's document root (htdocs in Apache), you'll get "page not found".Īnother problem is forgetting to start the web server and MySQL. Often, what happens is that you have two different servers running. Only one web server can listen on a particular port. Trying to install conflicting setups results in chaos. Or they forget that they installed a different setup a year or so ago. They seek for an alternative, and try installing it without uninstalling the first attempt. Unfortunately, many beginners panic when their setup doesn't work the first time. Setting up a testing environment with XAMPP, WAMP, EasyPHP, or MAMP is very simple. It works fine, but the :8888 is necessary for the browser to send the page request to the right destination. If you are using 127.0.0.1:8888, it means that the web server has been set up to listen for requests on a non-standard port (8888). So 127.0.0.1:80 or localhost:80 simply tells the browser to access the default port. The default port used by all web servers to listen for incoming requests is 80. The number after the colon indicates the port number that you want to access. Instead of using for the Web URL, I used, and everything works fine.ġ27.0.0.1 is the loopback IP address that all computers use to refer back to themselves. So, now, when I boot the computer, first I ran phpMyAdm and after that, Dreamweaver works fine. I launched Dreamweaver again, to continue my search for the solution and, surprise, it was working fine. I went to phpMyAdm, from Wamp, to see if it was correct. So I thought that the miraculous change of attitude from Dreamweaver came from there.īut, next day, after shutting down the computer, when I launched Dreamweaver I obtained the same message “could not find server localhost”. Installing PHP/MySQL/Apache with WAMP Server for DreamweaverĪnd followed the solution for the error that is referred and that happened with me too, which was successfully corrected. In my search for the solution I have seen one tutorial which is in Dreamweaver Club PHP, APPACHE and MySQL where insltalled with WAMP, from where I run phpMyAdm and localhost. I run under Windows 7 64 and with Dreamweaver CS5. And when I ran “localhost” the same thing happened.Īfter that, during another attempt with Dreamweaver, everything was fine. I had already verified that situation for several times and it was correct.īut, in the meanwhile, I ran “phpMyAdmin” and noticed that it found localhost, cause it opens in IE in that location.
0 Comments
Leave a Reply. |