
- #WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE INSTALL#
- #WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE SOFTWARE#
- #WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE CODE#
Make sure you have saved the file with.
#WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE CODE#
Open notepad and type the following code and save the file in the Test folder.XAMPP is multi cross-platform i.e it is available for Windows and Linux. Please create a new folder Test for the test page in htdocs. Pros of XAMPP: In XAMPP vs WAMP, XAMPP is easier to install.This directory contains all the data required to run a web page. Open the XAMPP directory present in C Drive and choose the htdocs folder (C:\xampp\htdocs for standard installations).I wanted to test the backup and in my Windows PC I installed Xampp for Windows 7.2.31 and configured the above backup on this server. This page can be stored under XAMPP's localhost and can run on the browser. WAMP Vs XAMPP WAMP works only in Windows operating system, whereas XAMPP is cross-platform, it works in Windows, Linux, Mac, etc. For backup purpose there is an offsite CentOS 7 remote server and I rsync the Moodle website, data directory and the database to that server. It means you have XAMPP installed properly on your system.įollow these steps to check whether the XAMPP server is configured correctly or not, and we can create a PHP test page. Now open any web browser and type: or 127.0.0.1, you should see the XAMPP screen. This will instruct XAMPP to initiate the Apache webserver.
#WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE SOFTWARE#
In the control panel, click on the start action for the Apache module. These packages contain Moodle plus all the other software needed to make it run on Windows: Apache, MySQL and PHP. Then point your config.PHP file at that database. If Apache will not start because of a port conflict then use config button to change the listening port to something like 127.0.0. Import the exported database using phpmyadmin on your WAMP server.

#WAMP OR XAMPP FOR WINDOWS 10 FOR TESTING MOODLE INSTALL#
Modules available on xampp control panel are:- XAMPP using Bitnami to install Moodle Download the latest version of XAMPP from Install XAMPP Use control.exe in XAMPP folder to start and stop Apache and MySQL Note the MySQL port. This panel can be used to start and stop various modules. XAMPP Control Panel provides us with complete control over all xampp components. XAMPP is a cross-platform software so that it can be used on any operating system. Any local copy can be accessed on the browser using a URL if xampp is active. this way typing that address on any computer will open that site, but again remember, now both localhost and 127.0.0.1 wont work (even on the computer where moodle is hosted), even on that computer you'll be typing to access moodle.Xampp allows us to work on a local server and test a local copy of websites using PHP code and mysql database. In similar way, if you want to access moodle on local network, you'll be assigning that config.php file with address like (assuming this is IP of computer hosting moodle).

but be aware, you wont be able to open moodle afterwards by typing / localhost etc In order to open the moodle using anything other than localhost, you have to change that address, so typing in will open moodle without any issues.

$CFG-> wwwroot = 'localhost' mentioned there. So whatever address you give into config files, Moodle will only be able to open using that, so if you open your config.php file, you'll see something like Ok not to worry, in addition to what Emma mentioned deleting the "cache" folder - if that didnt work, as well delete the "localcache" folder too - this happens when cache's get corrupted, and deleting them and refreshing the browser will re-create the two folders as well solving the issue.Īdditionally, Moodle runs based on its configuration file (config.php)
