Ehsan Ali
Ehsan Ali

Reputation: 1432

How to create windows installer for php web application (install php, apache, mysql)

How to create windows installer for php web application? I want install PHP, MySQL, Apache with custom config and put my php file script in root of windows. As matter of fact I want to have a WAMP or XAMPP with custom configuration and my custom php file and my custom database in mysql.

What should I do?

Upvotes: 1

Views: 2832

Answers (1)

garrettmills
garrettmills

Reputation: 822

XAMPP is licensed as GPLv2, so you can package it along with your CMS to distribute. (See the license info here.)

What you could do is use a pre-build install creator tool (like Install Creator 2) install XAMPP and then extract your CMS files as well. You could then have a short PHP setup script that sets up your databases and what not that you could program the installer to execute from the command line.

Upvotes: 1

Related Questions