Install Flarum v0.1.0 Beta on Windows 7 localhost - opensource PHP Forum - Part 1

Trabla: Install Flarum v0.1.0 Beta on Windows 7 x64 localhost ( XAMPP 5.6.28 ) - opensource PHP Forum - Part 1


Install Flarum v0.1.0 Beta on Windows 7 localhost - opensource PHP Forum
Flarum is the next-generation forum software that makes online discussion fun. It's simple, fast, and free.



Solving - Part 1 ( Part 2:


Watch on YouTube

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

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 1

2. Download and install PHP Composer from official site:
https://getcomposer.org/download/

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 2

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 3



3. Create folder flarum in C:\xampp\htdocs
e.g.
C:\xampp\htdocs\flarum

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 4


4. Open Windows Command Promt ( CMD ) and do following steps:

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 5


- type CD  C:\xampp\htdocs\flarum   
and press Enter button

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 6


- type composer create-project flarum/flarum . --stability=beta
and press Enter button

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 7

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 8

- close CMD windows

5. Open file in text editor

C:\xampp\htdocs\flarum\composer.json

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 9

- insert following string
"zendframework/zend-stratigility": "1.2.*",
after string
"require": {

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 10

- save & close file

6.  Open Windows Command Promt ( CMD ) and do following steps:

type CD  C:\xampp\htdocs\flarum   
and press Enter button

type composer  update
and press Enter button

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 11


C:\Users\samuraikit>CD  C:\xampp\htdocs\flarum

C:\xampp\htdocs\flarum>composer  update
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 0 installs, 1 update, 1 removal
  - Removing http-interop/http-middleware (0.2.0)
  - Updating zendframework/zend-stratigility (1.3.2 => 1.2.1) Downloading: Conne
 Downloading: 100%
Writing lock file
Generating autoload files

C:\xampp\htdocs\flarum>

close CMD windows

7.  Run XAMPP Control Panel

- Open php.ini  ( Apache -> Config -> PHP( php.ini ) )

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 12

- find & set max_execution_time=600 ( default is 30 )

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 13

- find 
include_path=C:\xampp\php\PEAR
replace with
;include_path=C:\xampp\php\PEAR   ( add semicolon )

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 14

find 
;include_path = ".;c:\php\includes"
replace with
include_path = ".;C:\xampp\php\PEAR"

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 15

save close file

-  start Apache and Database 

Install Flarum v0.1.0 on Windows 7 localhost opensource PHP Forum tutorial 16


Goto - Part 2 

No comments:

Post a Comment