📜 ⬆️ ⬇️

Manage local web server configuration for multiple projects

Often it is necessary to develop several sites simultaneously. Sometimes, for each site you have to choose a specific version of PHP, MySQL, and with specific settings. I used to create bat files that ran the desired configuration, then decided to jot down a small utility.


Web Controll Interface

The principle of operation is extremely simple. In the settings paths are added to different versions of PHP, MySQL. Next, specify the path to the Apache directory and its directory.
')
Configure Web Controll

When you run the project starts mysqld.exe. php.ini from the directory of the selected version is copied to the Windows folder, the path to php? apache.dll is entered into the Apache config

The program lacks the choice of the Apache version, you can also add support for other databases, but so far I haven’t had such a need.

With the program I spread source codes on C #. I apologize in advance for the curvature of the code, under .NET I have very little experience so far, here I decided to experiment with the framework.

You can download it here.

Source: https://habr.com/ru/post/28341/


All Articles