{"id":21810694,"url":"https://github.com/samdark/wnmp-dev","last_synced_at":"2025-04-13T22:11:28.004Z","repository":{"id":18647472,"uuid":"21854269","full_name":"samdark/wnmp-dev","owner":"samdark","description":"Development environment: Windows + nginx + MySQL + PHP","archived":false,"fork":false,"pushed_at":"2020-10-27T13:57:15.000Z","size":2606,"stargazers_count":50,"open_issues_count":0,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2025-03-27T12:38:26.269Z","etag":null,"topics":["development","mariadb","mysql","nginx","php","webserver","windows"],"latest_commit_sha":null,"homepage":null,"language":"Batchfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/samdark.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null},"funding":{"patreon":"samdark"}},"created_at":"2014-07-15T09:36:16.000Z","updated_at":"2025-03-15T20:57:35.000Z","dependencies_parsed_at":"2022-09-24T15:00:43.636Z","dependency_job_id":null,"html_url":"https://github.com/samdark/wnmp-dev","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fwnmp-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fwnmp-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fwnmp-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/samdark%2Fwnmp-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/samdark","download_url":"https://codeload.github.com/samdark/wnmp-dev/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248788925,"owners_count":21161727,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["development","mariadb","mysql","nginx","php","webserver","windows"],"created_at":"2024-11-27T13:37:13.635Z","updated_at":"2025-04-13T22:11:27.967Z","avatar_url":"https://github.com/samdark.png","language":"Batchfile","funding_links":["https://patreon.com/samdark"],"categories":[],"sub_categories":[],"readme":"wnmp-dev\n========\n\nwnmp-dev is development environment for Windows that consists of nginx, MySQL (or MariaDB) and PHP.\n\nInstallation\n------------\n\n1. Clone `https://github.com/samdark/wnmp-dev.git` or [download as archive](https://github.com/samdark/wnmp-dev/archive/master.zip).\n2. Download PHP [from PHP for Windows website](http://windows.php.net/download/). You need `nts` and `x86` zip.\n3. Extract archive. PHP 5.5 should end up in `php55`, PHP 5.4 should end up in `php54` etc.\n4. Download [MariaDB](https://downloads.mariadb.org/) or [MySQL](https://dev.mysql.com/downloads/windows/installer/),\n   put it to `mariadb`.\n5. Copy `nginx/conf/vhosts/example._conf` to `nginx/conf/vhosts/mysite.conf`, edit it to point to your webroot.\n6. Add domain chosen to your hosts file.\n7. Run `start_all.bat`.\n8. Enjoy.\n\nSwitching PHP versions\n----------------------\n\nBy default it starts 4 instances of PHP 7 FastCGI on port 9000 but it's possible to switch versions by running\n`restart_php php54`. It's also possible to specify number of `php-cgi.exe` instances and port via\n`restart_php php54 4 9000`. If you need another PHP version create new directory `php-directory` for it, put PHP there\nand then you'll be able to run `restart php-directory`.\n \nCredits\n-------\n\n- PHP CGI spawner (`php-cgi-spawner.exe`): https://github.com/deemru/php-cgi-spawner\n- Nginx: https://nginx.org/\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fwnmp-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamdark%2Fwnmp-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamdark%2Fwnmp-dev/lists"}