<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
	<id>http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Installation_guide_for_Windows_using_EasyPHP</id>
	<title>Installation guide for Windows using EasyPHP - История изменений</title>
	<link rel="self" type="application/atom+xml" href="http://wiki.mipt.ru/index.php?action=history&amp;feed=atom&amp;title=Installation_guide_for_Windows_using_EasyPHP"/>
	<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Installation_guide_for_Windows_using_EasyPHP&amp;action=history"/>
	<updated>2026-05-06T21:53:59Z</updated>
	<subtitle>История изменений этой страницы в вики</subtitle>
	<generator>MediaWiki 1.42.1</generator>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Installation_guide_for_Windows_using_EasyPHP&amp;diff=141&amp;oldid=prev</id>
		<title>Олег Давидович: 1 версия импортирована</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Installation_guide_for_Windows_using_EasyPHP&amp;diff=141&amp;oldid=prev"/>
		<updated>2024-10-14T16:47:09Z</updated>

		<summary type="html">&lt;p&gt;1 версия импортирована&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;ru&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Предыдущая версия&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Версия от 16:47, 14 октября 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;ru&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(нет различий)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Олег Давидович</name></author>
	</entry>
	<entry>
		<id>http://wiki.mipt.ru/index.php?title=Installation_guide_for_Windows_using_EasyPHP&amp;diff=140&amp;oldid=prev</id>
		<title>1&gt;Tim@horizoneducationnetwork.org: clean up, typos fixed: a utf-8 → an utf-8</title>
		<link rel="alternate" type="text/html" href="http://wiki.mipt.ru/index.php?title=Installation_guide_for_Windows_using_EasyPHP&amp;diff=140&amp;oldid=prev"/>
		<updated>2022-06-02T15:15:56Z</updated>

		<summary type="html">&lt;p&gt;clean up, typos fixed: a utf-8 → an utf-8&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;*Return to [[Windows installation]]&lt;br /&gt;
&lt;br /&gt;
Moodle requires that a webserver, PHP and a supported database be installed to run on Windows. This may be achieved by using EasyPHP, a package that bundles all the software you need in the form of Apache (webserver), PHP and MySQL (database) into a single Windows application. Please note however, that EasyPHP is not designed to be used for a production server. Here are the steps from start to finish.&lt;br /&gt;
&lt;br /&gt;
==Preparation==&lt;br /&gt;
&lt;br /&gt;
# Firstly, if you have ever installed MySQL before (even as part of another package), uninstall it all, delete all the MySQL files and make sure you delete &amp;#039;&amp;#039;c:\my.cnf&amp;#039;&amp;#039; and &amp;#039;&amp;#039;c:\windows\my.ini&amp;#039;&amp;#039;. You might want to do a search and delete ANY file called &amp;#039;&amp;#039;my.cnf&amp;#039;&amp;#039; or &amp;#039;&amp;#039;my.ini&amp;#039;&amp;#039;.&lt;br /&gt;
# If you&amp;#039;ve ever installed PHP before delete any files called php4ts.dll from around your Windows directory, as well as any files called php.ini.&lt;br /&gt;
==Get EasyPHP==&lt;br /&gt;
# Download EasyPHP from here: [http://www.easyphp.org/easyphp-devserver.php EasyPhp DevServer 13.1]&lt;br /&gt;
&lt;br /&gt;
==Install EasyPHP 1.7 - Note: Obsolete version. See Section Below.==&lt;br /&gt;
# Run the downloaded file: &amp;#039;&amp;#039;easyphp1-7_setup.exe&amp;#039;&amp;#039;. The installation process is in French but is much like installing any other Windows program - I advise accepting the defaults and letting it all install. Note: that &amp;quot;Suivant&amp;quot; means Next and &amp;quot;Oui&amp;quot; means Yes.&lt;br /&gt;
# At the end of the install leave the checkbox selected to &amp;quot;Lancer EasyPHP&amp;quot; (Start EasyPHP) and hit the &amp;quot;Terminer&amp;quot; button. You might be taken to an information web page which you can safely ignore.&lt;br /&gt;
# If all went well - congratulations! Apache, PHP and MySQL are all installed and running! You should see a black E in your toolbar tray. You can right click on it to get a menu which will let you control the running programs, but you won&amp;#039;t be needing that for now.&lt;br /&gt;
#Some things may be in French and you may prefer English. You can download this file http://www.easyphp.org/telechargements/dn.php?F=indexUS_1.7 which contains English versions of www and home folder in the EasyPHP1-7 folder. These can be copied over the default files.&lt;br /&gt;
&lt;br /&gt;
    contains English versions of www and home folder in the EasyPHP1-7 folder. These can be copied over the default files.&lt;br /&gt;
&lt;br /&gt;
==Install EasyPHP 1.13==&lt;br /&gt;
&lt;br /&gt;
# Run the downloaded file: EasyPHP-DevServer-13.1VC9-setup.exe (or whatever the current version is). It will prompt you to select your language. I choose all of the other defaults. Note: VC9 is for Windows XP to Windows 8. VC11 is for Windows 7 &amp;amp; 8.&lt;br /&gt;
# At the end of the install leave the checkbox selected to &amp;quot;Start EasyPHP&amp;quot;.&lt;br /&gt;
# If you experience an error starting EasyPHP, it might be because inetinfo.exe is running. Bring up Windows Task Manager by typing CTRL+ALT+DELETE. Find inetinfo.exe in the task list, highlight it and click &amp;quot;End Process.&amp;quot; Right-click on the EASYPHP icon and restart the process.&lt;br /&gt;
# If all went well - congratulations! Apache, PHP and MySQL are all installed and running! You should see a black E in your toolbar tray. Right click on it to get a menu which will let you control the running programs.&lt;br /&gt;
# Configure PHP to extend the max execution from 30 seconds to something more, otherwise your installation will fail due to exceeding this 30 second time limit.&lt;br /&gt;
&lt;br /&gt;
==Create a database==&lt;br /&gt;
#  The next thing you need to do is to set up a database for Moodle to use. Right-click the black E in the toolbar tray and choose Administration, then click DB Management (beside PHPMyAdmin). Alternatively, using a browser, go to http://localhost/mysql/ (note the final slash).&lt;br /&gt;
# If asked for a username, use &amp;quot;&amp;#039;&amp;#039;root&amp;#039;&amp;#039;&amp;quot; with a &amp;#039;&amp;#039;blank password&amp;#039;&amp;#039;. You should see a phpMyAdmin web interface that allows you to create a new databases and user accounts.&lt;br /&gt;
# Create a new database by typing &amp;quot;moodle&amp;quot; into the field and hitting the &amp;quot;Create&amp;quot; button and don&amp;#039;t forget to specify an utf-8 collation for the database being created. That was easy!&lt;br /&gt;
# You can also create a new user to access your database if you want. This can be a bit tricky for a first-time user, so you might just want to use the existing user &amp;quot;root&amp;quot; with no password in your Moodle config for now, and fix this later.&lt;br /&gt;
&lt;br /&gt;
==Get Moodle!==&lt;br /&gt;
# You&amp;#039;re ready to install Moodle! Download the latest release of Moodle from [http://moodle.org/download Moodle.org], then unzip the archive.&lt;br /&gt;
==Installing Moodle==&lt;br /&gt;
# Copy your moodle files into the directory where you installed EasyPhP &amp;#039;&amp;#039;C:\Program Files\EasyPHP\www&amp;#039;&amp;#039; or &amp;#039;&amp;#039;C:\Program Files\EasyPHP-DevServer-13.1VC9\data\localweb&amp;#039;&amp;#039; for the newst EasyPHP version. You can either copy the entire moodle directory (i.e. &amp;#039;&amp;#039;C:\Program Files\EasyPHP\www\moodle&amp;#039;&amp;#039;) or copy all the &amp;#039;&amp;#039;contents&amp;#039;&amp;#039; of the moodle directory. If you choose this second option then you will be able to access your Moodle home page using &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost/&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039; instead of &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost/moodle/&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039;.&lt;br /&gt;
# Make a new empty folder somewhere else for Moodle to store uploaded files in, e.g.: &amp;#039;&amp;#039;C:\moodledata&amp;#039;&amp;#039;&lt;br /&gt;
# Go into your Moodle folder. Make a copy of &amp;#039;&amp;#039;config-dist.php&amp;#039;&amp;#039;, and call it &amp;#039;&amp;#039;config.php&amp;#039;&amp;#039;&lt;br /&gt;
==Edting the config.php file==&lt;br /&gt;
Edit &amp;#039;&amp;#039;config.php&amp;#039;&amp;#039; using a text editor (Notepad will do, just be careful that it doesn&amp;#039;t add unwanted spaces at the end).&lt;br /&gt;
# Put in all your new database info:&lt;br /&gt;
#  $CFG-&amp;gt;dbtype = &amp;#039;mysql&amp;#039;;&lt;br /&gt;
#* $CFG-&amp;gt;dbhost = &amp;#039;localhost&amp;#039;;&lt;br /&gt;
#* $CFG-&amp;gt;dbname = &amp;#039;moodle&amp;#039;;&lt;br /&gt;
#* $CFG-&amp;gt;dbuser = &amp;#039;root&amp;#039;;&lt;br /&gt;
#* $CFG-&amp;gt;dbpass = &amp;lt;nowiki&amp;gt;&amp;#039;&amp;#039;&amp;lt;/nowiki&amp;gt;;&lt;br /&gt;
#* $CFG-&amp;gt;dbpersist = true;&lt;br /&gt;
#* $CFG-&amp;gt;prefix = &amp;#039;mdl_&amp;#039;;&lt;br /&gt;
# And put in all your file paths&lt;br /&gt;
#* $CFG-&amp;gt;wwwroot = &amp;#039;http://localhost/moodle&amp;#039;; // Use an external address if you know it.&lt;br /&gt;
#* $CFG-&amp;gt;dirroot = &amp;#039;C:\Program Files\EasyPHP\www\moodle&amp;#039;;&lt;br /&gt;
#* $CFG-&amp;gt;dataroot = &amp;#039;C:\moodledata&amp;#039;;&lt;br /&gt;
#Save config.php - you can ignore the other settings if there are any.&lt;br /&gt;
&lt;br /&gt;
==The web based installer==&lt;br /&gt;
# You&amp;#039;re nearly there now! The rest of the setup is all web-based. Visit &amp;#039;&amp;#039;&amp;lt;nowiki&amp;gt;http://localhost/moodle/admin/&amp;lt;/nowiki&amp;gt;&amp;#039;&amp;#039; with your browser to continue the setup via your browser.&lt;br /&gt;
# To use zip files with Moodle (for example the backups use zip) you might need to enable &amp;quot;zlib&amp;quot;. You can do this by going to your EasyPHP directory (C:\Program Files\EasyPHP), and running the program phpini.exe in there. Put a mark in the checkbox next to &amp;quot;zlib.dll&amp;quot;. Close that window, then go to the black E in your toolbar and right-click it to get a menu - select &amp;quot;Restart&amp;quot; from this menu.&lt;br /&gt;
==Setting a Cron==&lt;br /&gt;
# Lastly, you need to set up some sort of cron. See the [[Installing Moodle#Set up cron|Installation guide]] for more details on this.&lt;br /&gt;
==Tips==&lt;br /&gt;
If you don&amp;#039;t or can&amp;#039;t use EasyPHP, here are a few tips to make sure your PHP is set up correctly and avoid common problems:&lt;br /&gt;
*  Make sure you enable the GD module so Moodle can process images - you may have to edit php.ini and remove the comment (;) from this line: &amp;#039;extension=php_gd2.dll&amp;#039;.&lt;br /&gt;
* Make sure you enable the Zlib module so that you can create and unpack zip files from within Moodle.&lt;br /&gt;
* Make sure sessions is turned on - you may have to edit php.ini and fix the directory for &amp;#039;&amp;#039;session.save_path&amp;#039;&amp;#039; - instead of the default &amp;quot;/tmp&amp;quot; use a Windows directory like &amp;quot;c:/temp&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
[[Category:Administrator]]&lt;br /&gt;
[[Category:Installation]]&lt;/div&gt;</summary>
		<author><name>1&gt;Tim@horizoneducationnetwork.org</name></author>
	</entry>
</feed>