Archives For Zend Server


If you need to know how to install Zend Server in Windows 2008 server, please visit my previous post: http://virtualizesharepoint.com/2011/04/26/installing-zend-server-community-edition-ce-in-windows-2008-server/

Copy Moodle to Zend Server directory

1. Download Standard Moodle Packages from http://download.moodle.org/ and unzip the files

Download Standard Moodle Packages

2. Go to your ZEND directory where you will see four folders.  Apache2, MySQL51, phpMyAdmin and Zend Server in you Windows 2008

Installing Moodle 2.0 using Zend Server

3. Open Apache2 folder and navigate to htdocs in Windows 2008

Installing Moodle 2.0 using Zend Serve : Apache Server  

4.  Move your Moodle files to htdocs folder in Windows 2008

Move Moodle Folder to Apache 2 htdocs folder

5. Now we need to make some changes to install.php file in Moodle folder. Before we do that, we need to create a database in MySQL.

Creating Database in MySQl using phpMyAdmin:

1. Open up your Zend Server by going to Start | All Program | Zend Server | in Windows 2008 Server

Opening Zend Server in Windows 2008

2.  Enter your password for Zend Server

Enter password for Zend Server

3.  Open up phpMyAdmin

Open phpMyAdmin in Zend Server

4. Enter your user name and password for phpMyAdmin

Login to phpMyAdmin in Windows 2008

5. Create a new database for Moodle. In this case, I am creating a database called moodle which is going to be used for Moodle installation in Windows 2008 server using Zend server.

Create MySQL Database in Windows

6. Your new database is ready for Moodle installation in Windows 2008 server using Zend

Moodle Database in phpMyAdmin

7. Now we have to go and create a user account for emoodle database.  Make sure you have your new database selected and click on privileges

Creating accounts in phpMyAdmin 

8. Click on add new user

Add new user in phpMyAdmin

9. Create a new user name and password and make sure you have Grant all privileges on database “emoodle”

Adding new user in phpMyAdmin

Configuring install.php file to install Moodle in Windows 2008 server using Zend server.

1. Go to your Moodle folder and open install.php

image

2.   In Moodle 1 x, we need to manually Add dbhost, dbuser, dbpass, dbtype, dbname and save the install.php file to moodle directory but in Moodle 2.0 we don’t need to make any changes.


  image

3. now open your browser and type in http://localhost/moodle and you should see the installation screen.  Select your language and click next

Moodle in Windows 2008 Server using Zend

4. Confirm your path and click next

Moodle path in Apache2 server

5.  Choose your database drive and click next

image

6.  Enter your database settings

Moodle 2.0 database settings

7. Click Continue after reading the copyright notice

image

8. Getting a new error message : Moodle 2.0 Error with Unicode format (UTF-8)

Please see my previous post how you can resolve this problem:
http://virtualizesharepoint.com/2011/04/27/it-is-required-that-you-store-all-your-data-in-unicode-format-utf-8-while-installing-moodle-2-0/

Moodle 2.0 Error with Unicode format (UTF-8)

9. Click next to run the installation and once it’s completed, you will see the General information window. Enter all the required information and click update profile.  Next window you will see your new Moodle 2.0

Moodle 2.0 Installation: General

10. Your Moodle site is ready for action in Windows 2008 server using Zend Server:

 

image


Installing Zend Server CE in Windows Server 2008 to run Moodle 2.0 using MySQL and Apache Server

1. Go to http://www.zend.com/en/products/server-ce/downloads and download Zend Server for Windows

2.  Run the installation files

Installing Zend Server in Windows Server

3.  Zend Server CE installation wizard

Zend Server CE installation wizard

4. Welcome to Zend Server Community Edition 5.1 Installer.  To continue click Next

Zend Server Installation Wizard in Windows Server

5.  Accept the term of the license agreement

Zend Server Installation: Licence Agreement

6.  Select the installation Method.  I am going for custom installation since I want to add PHPAdmin and MySQL

Custom Zend Server Installation in Windows Server
7.  Custom installation with phpMyAdmin and MySQL Server

Custom installation with phpMyAdmin and MySQL Server

 

8.  Installing an Apache Web Server in Windows 2008 Server.  Destination as D drive.

Installing an Apache Web Server in Windows 2008 Server

9. Default Port for Apache in Windows Server

 Default Port for Apache in Windows Server

10.Installation Settings Summary for Zend Server in Windows Server

Installation Settings Summary for Zend Server
11. Zend Server was successfully installed in Windows server 2008. Click finish to open Zend Server

image

12.   End User License Agreement. Add a check mark for the agreement and click next

image

 

13.  Set a password for your Zend Server Administration Interface

Zend Server Administration Interface

14. Newsletter Registration is optional and click next to access Administration Interface

image

15. Under Task click on Open phpMyAdmin

phpMyAdmin in Zend Server

16.  By default phpMyAdmin password for Zend Server installation in Windows Server is none. User name is root

user name: root
password: (nothing)

phpMyAdmin in Windows Server

17. Once you login into phpMyAdmin, you will see this message in the bottom of the screen saying root with no password

Root with no password for phpMyAdmin

18.  Click on Privileges in phpMyAdmin and setup a password for Root.

Setup password for Root in myPhpAdmin

This is how you install Zend Server in Windows 2008 server using phpMyAdmin and MySQL server.  In my next blog, I will speak about how you can install Moodle in Apache server.