Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF

Trabla: Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 x64 localhost ( XAMPP 5.6.24 ) - open source PHP content management system ( CMS ) / content management framework ( CMF )

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial



MODX (originally MODx) is a free, open source content management system and web application framework for publishing content on the world wide web and intranets. MODX is licensed under the GPL, is written in the PHP programming language, and supports MySQL and Microsoft SQL Server as the database. It was awarded Packt Publishing's Most Promising Open Source Content Management System in 2007.

Solving:



Watch on YouTube

1.  Download and install XAMPP 5.6.24 from official site:
https://www.apachefriends.org/download.html

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 1



2. Download MODX Revolution 2.5.1 CMS / CMF  source files from :
https://modx.com

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 2

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 3

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 4

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 5


3. Create folder \modx  in XAMPP htdocs folder

C:\xampp\htdocs\modx

and copy all files from downloaded MODX Revolution 2.5.1 CMS / CMF  .zip source

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 6

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 7


4. Run XAMPP Control Panel 

open php.ini file ( Apache ->  Config-> PHP(php.ini) )

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 8

- change max_execution_time value
from max_execution_time=30 to max_execution_time=600

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 9


- save  & close php.ini
- start Apache
- start Database

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 10


5. Open in browser following url to start MODX Revolution 2.5.1 CMS / CMF web installation

http://localhost/modx/setup

Click "Select" button.

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 11

6. "Welcome" page of MODX Revolution 2.5.1 CMS / CMF web installation

- click "Next"

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 12


7. "Install Options" page of MODX Revolution 2.5.1 CMS / CMF web installation

- select "new install"
- click "Next" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 13


8. "Database Connection and Admin Login information" page of MODX Revolution 2.5.1 CMS / CMF web installation

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 14

Now we need to create Database for MODX Revolution 2.5.1 CMS / CMF

1) Open phpMyAdmin in new browser tab (or window :) )

 http://localhost/phpmyadmin

2) Open SQL tab
3) Execute following query

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 15

CREATE DATABASE `modx` 
DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;

CREATE USER 'modx-owner'@'localhost'; 
CREATE USER 'modx-owner'@'127.0.0.1';
CREATE USER 'modx-owner'@'::1';

SET PASSWORD 
FOR 'modx-owner'@'localhost' = PASSWORD('modx123$%');
SET PASSWORD 
FOR 'modx-owner'@'127.0.0.1' = PASSWORD('modx123$%');
SET PASSWORD 
FOR 'modx-owner'@'::1' = PASSWORD('modx123$%');


GRANT ALL PRIVILEGES ON 
`modx`.* TO 'modx-owner'@'localhost' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`modx`.* TO 'modx-owner'@'127.0.0.1' WITH GRANT OPTION;
GRANT ALL PRIVILEGES ON 
`modx`.* TO 'modx-owner'@'::1' WITH GRANT OPTION;

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 16

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 17

Go back  to MODX Revolution 2.5.1 CMS / CMF  installation page

- type Database type mysql
- type Database host localhost
- type Database login name -  modx-owner
- type Database password- modx123$%
- type Database name -  modx

- click "Test database server connection and view collation"

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 18

- click "Create or test selection of your database" link

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 19

- type your admin data
- click "Next" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 20


9. "Installation Summary" page of MODX Revolution 2.5.1 CMS / CMF web installation

- click "Install" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 21

- click "Next" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 22



10. "Thank you for installing" page of MODX Revolution 2.5.1 CMS / CMF web installation

- enable checkbox "Check this to DELETE the setup directory from the filesystem "
- click "Login" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 23


11. Admin login page of MODX Revolution 2.5.1 CMS / CMF

- type admin login / password
- click "Login" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 24


Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 25


12. Post-installation steps

- make file config.inc.php READONLY

  - goto folder C:\xampp\htdocs\modx\core\config\
  - right mouse click on file config.inc.php, select "Properties"
  - enable checkbox "Read-only"
  - click "Apply" button
  - click "Ok" button

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 26


- rename ht.access to .htaccess in folder C:\xampp\htdocs\modx

 - open Windows command promt
 - type  CD C:\xampp\htdocs\modx  and press Enter
 - type RENAME ht.access  .htaccess  and press Enter


Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 27


- rename ht.access to .htaccess in folder C:\xampp\htdocs\modx\core\

 - open Windows command promt
 - type  CD C:\xampp\htdocs\modx\core\  and press Enter
 - type RENAME ht.access  .htaccess  and press Enter

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 28


Hooray :) !!! Enjoy MODX Revolution 2.5.1 CMS / CMF   !!!


Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 29

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 30

Install MODX Revolution ( Revo ) 2.5.1 on Windows 7 localhost - opensource PHP CMS / CMF tutorial 31


No comments:

Post a Comment