Just couple of steps more before you can begin working with Wordpress.Īs wordpress installation will ask us for the database details where it will generate the initial tables and data. That's all is required to start executing Wordpress code on your localhost via XAMPP. Thus when we enter myproject.local in our browser it will get the connect to the local IP address 127.0.0.1 on which your XAMPP apache server is running etc/hosts file translate our domain names to IP address. Now open file /etc/hosts and add following entry into it. You can modify these two according to the name of the domain you want to access your local wordpress site with, and the folder name in which you kept the wordpress code. We are adding a new host myproject.local in the virtualHost and we will access the directory /opt/lampp/htdocs/myProject with it. ĭocumentRoot "/opt/lampp/htdocs/myProject" ![]() Open file /opt/lampp/etc/extra/nf and add the following virtual host entry into the file. Let's go ahead and create a Virtual Host for the Wordpress Site, Before we start with the wordpress installation in our browser. Move your downloaded wordpress folder ( myProject) to /opt/lampp/htdocs directory With XAMPP all the PHP source code to be executed goes into the htdocs directory. Now we need a home for the wordpress source code from where they can be executed. Change the name of the folder to your desired project name. The files will be extracted in a folder named wordpress. Go ahead and extract the zip with your favorite zip extractor. The wordpress source code will be download as a zip compressed file. xampp localhost default pageĪs the next step, Let's go ahead and download the latest release of Wordpress code from the official Wordpress website. You should see the following page when you access localhost on your browser. If you XAMPP is installed correctly and if you have the apache service running under it. Once the XAMPP is Installed, you should be able to access the XAMPP Console from where you can start or stop the necessary services. If you are on Linux Machine, the install location for XAMPP will be /opt/lampp XAMPP Official website download linkįollow the steps to install the XAMPP. Download the XAMPP version > 7.0.0 which contains PHP version 7.0.0 Download it from the apache friends official website. ![]() Since in this tutorial we are using XAMPP to install Wordpress, XAMPP should take care of the requirements.įirst of all we need to download and install XAMPP. The above are the official requirements for a system to install Wordpress. MySQL 5.6 or greater OR MariaDB 10.0 or greater.
0 Comments
Leave a Reply. |