![]() ![]() Be sure that your MySQL environment is running in xamp beforehand and that you have an empty for Wordpress to do its thing (create database worpress_sandbox). If done right you will see a wordpress installation wizard that will ask you for your database details. "ĮrrorLog "logs/-error_log"ĬustomLog "logs/-access_log" ServerAdmin "Insert path to Wordpress root here. Once you setup your web server your first call to v will bring up a wizard that will ask you all the questions required in human readable format.Ĭonfigure a virtual host specifically for your wordpress site. I also assume that you enabled virtual hosts in your nf file.ĭelete the wp-config.php you just created leaving only the example one they provide. I assume you want the Wordpress clone to run under the URL v. This is how I would setup my environment. Download In this article, we’ll take a closer look at MAMP, gauge its pros and cons, and then list our top eight recommended MAMP alternatives. My apache port is set to 8888 and document root is set to Applications/Mamp/htdocs where my cloned project directory is, so not sure what am I doing wrong? VirtualDocumentRoot /Applications/MAMP/htdocs/%-2+ ServerAdmin "/Applications/MAMP/Library/docs/"ĮrrorLog "logs/-error_log"ĬustomLog "logs/-access_log" common ServerAlias ErrorLog "logs/-error_log"ĬustomLog "logs/-access_log" common ServerAdmin "/Applications/MAMP/Library/docs/" ![]() # match a ServerName or ServerAlias in any block. # The first VirtualHost section is used for all requests that do not # Almost any Apache directive may go into a VirtualHost container. # You may use the command line option '-S' to verify your virtual host # for further details before you try to setup virtual hosts. This is indicated by the asterisks in the directives below. # use only name-based virtual hosts so the server doesn't need to worry about # machine you can setup VirtualHost containers for them. MAMP is a solution stack composed of free and open-source and proprietary commercial software used together to develop and run dynamic websites on Apple Macintosh computers. # If you want to maintain multiple domains/hostnames on your This is how the vhosts file on mamp looks like: # I have configured wp-config.php file: define('DB_NAME', 'superselma') The requested URL /superselma was not found on this server. I have restarted MAMP server and went to see the website in the browser, but all I get is the message: And have added an entry to /etc/hoststhat looks like this now: 127.0.0.1 localhost I have also created and imported the database to MAMP server. I have cloned wordpress git repository to my htdocs directory on MAMP server locally. ![]()
0 Comments
Leave a Reply. |