go to  ForumEasy.com   
JavaPro
Home » Archive » Message


[Email To Friend][View in Live Context][prev topic « prev post | next post » next topic]
  Integrate Apache httpd with PHP -- MOODLE (XAMPP )
 
Subject: Integrate Apache httpd with PHP -- MOODLE (XAMPP )
Author: Linux
In response to: Integrate Apache httpd with PHP -- MOODLE (Manual)
Posted on: 06/03/2017 10:58:08 PM


https://docs.moodle.org/33/en/Complete_install_packages_for_Windows

Step 0: Close pre-existing applications using port 80 & 443

-- Kill other Apache server process, if any
-- Kill Skype which might be using 80
-- Kill VMWareHostd which might be using 443

Step 1: Download XAMPP package for Windows

-- Go to: https://download.moodle.org/windows
-- Download package: MoodleWindowsInstaller-latest-33.zip
-- Upzip the package to new folder: C:\MoodleXAMPP
-- Add into environment parameter "PATH" the value: C:\MoodleXAMPP\server

Step 2: Start Apache server

-- Run: C:\MoodleXAMPP\"Start Moodle.exe"
-- If failed, run: C:\MoodleXAMPP\"Stop Moodle.exe" first and then:
-- Run: C:\MoodleXAMPP\server>xampp_start -- to display detailed error message


Step 3: Start Moodle installation

-- Go to: http://localhost/ --> redirected to: http://localhost/admin/index.php
-- Select language
-- Specify the data path: C:\MoodleXAMPP\server\moodledata
-- Specify the database password: atreides1
-- Server checks -- this the best benift of using XAMPP package as it should contains all components/extensions
-- particularly the troublesome extension php_curl.dll

Step 4: Administrator user profile
-- User Name: admin
-- Pwd: Atr~#1
-- Email: ljzgbtc@yahoo.com
-- TimeZone: America/Los_Angeles

Step 5: Front page settings
-- Site's Full Name
-- Site's short Name
-- Site's description
-- Site's timezone
-- Allowing self-registration via email
-- Site's From email address

Step 6: Congratulations - Moodle has been installed
-- You are on Admin's page: http://localhost/my/



 

> On 06/03/2017 10:52:28 PM Linux wrote:



https://docs.moodle.org/29/en/Manual_install_on_Windows_7_with_Apache_and_MySQL

Step 1: Install Apache

-- Be sure that you have installed the latest C++ Redistributable Visual Studio 2015 : vc_redist_x64.exe
-- Go to: https://www.apachelounge.com/download/
-- Unzip the file into C:\
-- cd C:\Apache24\bin\
-- net stop WAS ==> to stop IIS which may had opened port 80
-- httpd -k install
-- httpd -k start
-- Type http://localhost/ to check how it works.

Step 2: Install PHP

-- Go to: http://php.net/downloads.php
-- Click on "Windows downloads"
-- Click on "Zip" under "VC14 x86 Thread Safe"
-- Extract zip file to C:\PHP\
-- Copy "C:\PHP\php.ini-development" to "C:\PHP\php.ini"
-- Edit the following lines:

memory_limit = 256M
post_max_size = 128M
upload_max_filesize = 128M

-- Edit the following lines:

extension=c:/php/ext/php_curl.dll
extension=c:/php/ext/php_gd2.dll
extension=c:/php/ext/php_intl.dll
extension=c:/php/ext/php_mbstring.dll
extension=c:/php/ext/php_mysqli.dll
extension=c:/php/ext/php_openssl.dll
extension=c:/php/ext/php_soap.dll
extension=c:/php/ext/php_xmlrpc.dll
extension=c:/php/ext/php_soap.dll
extension=c:/php/ext/php_ldap.dll

Step 3: Configure Apache to integrate PHP

-- Open "C:\Apache24\conf\httpd.conf"
-- Append the following lines:

LoadModule php7_module "C:/PHP/php7apache2_4.dll"
AddHandler application/x-httpd-php .php
PHPIniDir C:/PHP

-- Edit the following lines:

<IfModule dir_module>
DirectoryIndex index.php index.html
</IfModule>

-- Restart Apache:

C:\Apache24\bin>httpd -k restart

-- Creating a file called "test.php" under "C:\Apache24\htdocs"
In this file enter the single line...

<?php phpinfo();

-- Check by "http://localhost/test.php"

Step 4: Install MySQL

-- Go to: https://dev.mysql.com/downloads/
-- Take all as default, for exmaple, port number:3306
-- Root Password: at-1
-- User account:
Type: User Admin
ID/PWD: moodle/moodle

Step 5: Install Git

Step 6: Moodle install

-- Go To: http://localhost/moodle
--> http://localhost/moodle/install.php

Select Langurage --> Next --> Check environment --> (if fails) Which requirement(s) is/are missed --> Reload
--> (if succeedes)
Path:
Web address: http://localhost/moodle
Moodle directory: C:\Apache24\htdocs\moodle
Data directory: C:\MoodleData

Database:
Choose among: MySQL, MirialDB, PostgreSQL, ...

Database Settings:
Database host: localhost
Database name: moodle
Database user: root (this user is needed to create database name)
Database password: atreides1
Database port:

License terms --> agree

Server checks:

You must solve all the environmental problems (errors) found above before proceeding to install this Moodle version!

Reload







References:

 


 
Powered by ForumEasy © 2002-2022, All Rights Reserved. | Privacy Policy | Terms of Use
 
Get your own forum today. It's easy and free.