I set up php and mysql on my macbook, and I get the info page when I go to localhost, so I’m ready to start working on my website, but I want to develop on a specific port. So how can I make my server listen on say localhost:2727? Is there a configuration file I need to edit?
Im using the stock OS X webserver, so I believe its apache.
I’ve been adding my vhosts configurations to the
httpd-vhosts.conffile located for me at/etc/apache2/extra/httpd-vhosts.conf. Try adding something like the following to that file: