x64architecture / wnmp Goto Github PK
View Code? Open in Web Editor NEWAn easy Nginx, MariaDB and PHP environment for Windows.
Home Page: https://wnmp.x64architecture.com
License: GNU General Public License v3.0
An easy Nginx, MariaDB and PHP environment for Windows.
Home Page: https://wnmp.x64architecture.com
License: GNU General Public License v3.0
I'm getting the same symptoms as this guy (dvrcthewrld) using wnmp:
composer/composer#3604
I think this can be solved by upgrading PHP
The mentioned issue #11 Happens in Wnmp Upgrade Installer 2.0.2.7.exe
When the setting "Update check interval" is modified in the GUI, the modification is not saved. It keeps the default, 7 days.
When i install it to any other location other than C:\Wnmp (like i install it in D:\WEBSERVER MICHAEL\Wnmp) the Phpmyadmin says "phpMyAdmin - Error
The mbstring extension is missing. Please check your PHP configuration."
One other thing i noticed that in phpinfo(); it shows "Loaded Configuration File : (none)" in case of D drive installation.
While in C drive installation, phpinfo(); shows "Loaded Configuration File : C:\Wnmp\php\php.ini" - This installation works smooth.
I'm attaching the some of the files that could be of help ,
Great software btw. Thanks a lot.
Issue Description:
PHP process will crash under stress on windows machine, and possible with out apparent reason.
Nginx will try to fulfill the request utill timeout.
and will log the following error:
"upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream"
Suggestion for fix:
An event handler should be added to process close of PHP CGI as well keeping track of the status of the php service internally( user started , user stopped )
declare flag: "PHPServiceStatus"
when user start service set PHPServiceStatus = "STARTED"
when user stop service set PHPServiceStatus = "STOPPED"
Handle PHP process Exit/End {
IF PHPServiceStatus = STARTED
Restart PHP process //assume crash
ELSE IF PHPServiceStatus = STOPPED
Do nothing
}
Hi, I use this on Windows Server 2008 R1 S Pack 1.
Sometimes PHP is dead....
In windows, you need to add a separate php-cgi through RunHiddenConsole.exe process when using cUrl, can be dealt with separately. Whether in wnmp startup php, direct start two processes?
From wnmp panel click on 'localhost' menu.
Than 'Click here to go to phpMyAdmin', link is : https:/localhost/phpmyadmin
in firefox is impossibile to go on for a trust problem of the x.509 certificate
in chrome is possibile to go on accepting the security risk.
Maybe is better to change the above link from https to http or put both in the home page.
It'd be great if we could have wnmp automatically minimize to systray on launch. With the option "Start all programs on launch" enabled, there is no need to use the GUI anyway.
Thanks!
http://getwnmp.org/ is showing the default "Welcome to nginx" page.
Also, https://mailman.getwnmp.org/mailman/listinfo/wnmp redirects to https://www.x64architecture.com/mailman/listinfo/wnmp, which returns a SSL certificate mismatch error and a "Error establishing a database connection" message.
missing features
adding a feature to autostart of wnmp on logon of windows
config which services to start on restart (php,mysql,nginx)
The Auto Updater crashes application due to an invalid url.
Checking for updates crashes the application, due to incorrect url.
By default xdebug uses :9000. This happens to also be the default ports that nginx spawns php processes on (/conf/php_processes.conf). Is is possible to change the default php ports, as I can see this issue cropping up for other users...
Using WNMP 2.1.7 in an isolated environment (no Internet access).
After I start it, the systray icon loads, however it doesn't show the control panel right away, and after a couple seconds I get an unhandled System.Net.WebException: The remote name could not be resolved: 'www.getwnmp.org'
I added www.getwnmp.com to my hosts file (resolving to 127.0.0.1), then run WNMP again, and .NET Framework throws another System.Net.WebException again: The remote server returned an error: (404) Not Found.
It should be trivial to catch these exceptions.
I'm still trying to resolve this with CF, but the latest updated seems to cause CouldFlare to throw 520 errors.
22/04/2014 12:28:55 [Wnmp Main] - Your version: 2.0.13.0 is up to date.
22/04/2014 12:28:55 [Wnmp Main] - Your control panel version: 2.2.6 is up to date.
Clicking on the config or log button and clicking an item opens it more than once.
Would it be possible to add an option that disables minimize-to-tray?
I modify configurations quite frequently and I need to start/stop servers because of that. I use Wnmp more in terms of a regular program than a background application, so it'd be neat to minimize it to the taskbar in the same manner as other "active" programs I have running.
I realize it might be an edge case, but if it's not too complicated I'd love a lil' checkbox/toggle button for this :)
Is it possible to turn off this feature? Is it a setting? A cannot really find some documentation for this.
First of all thank you very much.
I think if a slight modification will be better.
display_errors = On
display_startup_errors =On
extension=php_xdebug.dll
at last,Thank you !
I suggest you change the menu to something as below. Most menu items should go under a Help menu to follow Windows best practices and the options will be easier to reach directly from a settings menu
The issue is caused by the setting lastcheckforupdate not being set.
Not an issue per-say, but it would be great if you could bundle mysqldump.exe with MariaDB in future releases - it's really useful!
MariaDB doesn't start and when I try to open the MariaDB shell I get the following error.
ERROR 2003 (HY000): Can't connect to MySQL server on 'localhost' (10061 "Unknown
error")
My port 3306 is open and I tried disabling all firewalls.
On click Nginx config button showing Nginx logs menu.
I found bug in code Forms/Main.cs
#!c#
private void ngxconfig_Click(object sender, EventArgs e) { WnmpFunctions.nginxlogs_Click(sender, e); } // ngxconfig_Click
I'm still trying to debug what's going on but I upgraded from 2.1.7 to the current release
with my usual process of replace php.ini and nginx.conf with my custom versions
after upgrade everything returns a 504, it seems php is unresponsive when accessed through nginx, I can invoke it normally via the command line (php)
I co-worker said his version has said his version at home has broken too, so he's holding off on upgrading
the php script I'm testing against is just
<?php
die('test');
Critical vulnerability in OpenSSL can lead to stolen system memory via the tls heartbeat extension.
Eexcellent stack server!*
Your WNMP build make my self-hosted wordpress blog run lightning fast!
significantly faster than my previous nginx-MySQLbased server fm. other developer.
I just want the tray icon of Wnmp.exe look more charming, and suggest developer trim off the icon white square backgound, namely looks like your site logo.
For other wordpress users reference :
I encountered a minor issue, that "php_mysqli.dll" required by Wordpress is disabled by default in WNMP v.2.0.3. (actually since php5.5, this component is disabled by default.)
Wordpress show the msg. like this :
"Your PHP installation appears to be missing the MySQL extension which is required by WordPress"
Soln. : remove the ";" of ";extension=php_mysql.dll" ( ./php/php.ini, on line 900) to enable the extension, restart WNMP, and Bingo!
as the title...
This feature would add a new option: Automatically check for updates. And the option every day, week or month
When Wnmp is checking for updates it shows two windows, one for updating Wnmp, and another for updating the control panel.
Problem:
I was trying to figure out why C:\Wnmp\mariadb\data\my.ini
had no effect on the server, and ran mysqld --help --verbose
and got the following:
#!text
Default options are read from the following files in the given order:
C:\Windows\my.ini C:\Windows\my.cnf C:\my.ini C:\my.cnf C:\Wnmp\mariadb\my.ini C:\Wnmp\mariadb\my.cnf
Once I had moved my.ini into a folder where it was found, it complained about one of the parameters:
#!text
18:44:43 [ERROR] C:\Wnmp/mariadb\bin\mysqld.exe: unknown variable 'set-variable=lower_case_table_names=0'
18:44:43 [ERROR] Aborting
Solution(s):
\mariadb\data\
to \mariadb\
set-variable =
so that the line becomes lower_case_table_names=0
Since upgrading from 2.1.3 to 2.1.6 a few days ago I've had the PHP processes constantly drop on me. There's nothing in the PHP log, but the standard error log is littered with phpmyadmin trying to connect:
2015/02/27 18:49:17 [error] 8036#3716: *9642 no live upstreams while connecting to upstream, client: 127.0.0.1, server: local.development.com, request: "POST /index.php HTTP/1.1", upstream: "fastcgi://php_processes", host: "local.development.com", referrer: "https://local.development.com/phpmyadmin"
2015/02/27 18:49:18 [error] 8036#3716: *9866 upstream timed out (10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond) while connecting to upstream, client: 127.0.0.1, server: local.development.com, request: "POST /index.php HTTP/1.1", upstream: "fastcgi://127.0.0.1:9001", host: "local.development.com", referrer: "https://local.development.com/phpmyadmin"
Restarting the PHP processes fixes the issue for a few hours, but it happens regularly. Any ideas as to what could be causing this?
When editing Wnmp.ini outside of the GUI, Wnmp doesn't update the settings for the registry, or other options (don't remember off the top of my head).
Hey,
it would be nice to be able to switch between php versions.
I was able to make it work with PHP7 rc1 just by extracting binaries to the php folder but a list in the GUI would be nice.
Exactly what the title says, PHP crashes after a few hundred requests, All the error logs are clear, all the processes are running, the website seems to freeze and return an error.
Heya, awesome project!
Quick question, would it be possible to get the following modules compiled in?
Also, I'm going to stretch it a bit and it might not even be feasible but if you can get the phurple module (https://github.com/weltling/phurple) compiled, I'd be a very happy man :P. In fact, with some documentation, I would be more than happy to get the modules compiled myself and contribute them back.
It isn't currently possible to cURL local domains from other local URLs due to the single PHP CGI process.
This is pretty easy to fix manually, but it would be much better if it was "built in"...
The temp fix:
Spawn another PHP CGI process from a .bat file using the free RunHiddenConsole program:
@ECHO OFF
ECHO Starting PHP FastCGI...
set PATH=X:\Path\To\Wnmp\php;%PATH%
X:\Path\To\Program\RunHiddenConsole.exe X:\Path\To\Wnmp\php\php-cgi.exe -b 127.0.0.1:9001 -c X:\Path\To\Wnmp\php\php.ini
Define an upstream group in the http block:
upstream php_processes {
server 127.0.0.1:9000 weight=1;
server 127.0.0.1:9001 weight=1;
}
Make the FastCGI handler use it:
fastcgi_pass php_processes;
It would possibly be easiest if the upstream block was defined in its own file to be included in the main nginx.conf file and that way the GUI could have a drop down asking how many PHP CGI processes you wanted when you start it up (defaulting to 2) and automatically update (regenerate) this tiny file each time it's changed (reloading the NginX config).
Actually I always close it by mistake. It would be awesome to have this flag also :)
Thanks in advice
NginX and MariaDB after starting stops autmatically, when each process is started one at a time.
NginX does not even start when clicked on start all button.
In this case MariaDB starts and then stops
This is an odd error I can start a session, change the session path and see the session on the file system I can read from the session in my application but when I go to log out and as soon as session_destroy is called the application crashes with a 502 gateway error.
I cannot see any response in any of the error logs, I spoke to some people in #php and they said "that would indicate PHP segfaulting" they suggested asking the maintainer(s) of this project to try and get debugging information out of fastCGI
If you open the options form, the wnmp icon is missing.
Hi,
It would be great if you could kindly include MariaDB 64 Bit for windows.
Regards
Abi
Would it be possible to modify the "minimize to taskbar" feature so it only shows the "Wnmp has been minimized to the taskbar" tooltip the first time it gets minimized? I'm not certain it's really necessary to show it every time :)
Thanks!
is there a new version contain window+nginx+mysql+php?
php-cgi.exe keeps crashing on Windows Server 2012 on an arbitrary basis and doesn't restart even in the newest version of your WNMP. I really hope this gets fixed.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.