nginx addon
Posted by: anthos1984 (202.67.46.---)
Date: April 15, 2018 03:46AM

Apache is good webserver. But I rent webserver account which runs nginx webserver.
It is seriously different characteristics which makes my php apps didn't work.

I need only nginx server with everything as easy as wampserver tray control (www dir, vhost dir, service status, easy switching server, etc)


Is there any chance for nginx addon?

thankyou

Options: ReplyQuote
Re: nginx addon
Posted by: Otomatic (Moderator)
Date: April 15, 2018 09:11AM

Hi,

> Is there any chance for nginx addon?
At the long-term project stage; it being understood that the "long term" is of indefinite duration.

> It is seriously different characteristics which makes my php apps didn't work.
I'm very curious what PHP code might work with Apache, but not with nginx !!
PHP is a language for which, in its documentation, I have not (yet) seen any differences depending on the server used.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.3 32 bit - Apache 2.4.33 - PHP 7.2.6/7.1.18/7.0.30/5.6.36 - MySQL 5.7.22 - MariaDB 10.3.7
Wampserver 3.1.3 64 bit - Apache 2.4.33 - PHP 7.2.6/7.1.18/7.0.30/5.6.36 - MySQL 5.7.22 - MariaDB 10.3.7
PhPMyAdmin 4.8.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »



Edited 1 time(s). Last edit at 04/15/2018 10:30AM by Otomatic.

Options: ReplyQuote
Re: nginx addon
Posted by: Otomatic (Moderator)
Date: April 16, 2018 05:50PM

Hi,

> I need only nginx server with everything as easy as wampserver tray control ...
It is here that the qualitative "easy" takes on its full meaning.

As easy as it is to integrate PHP with Apache, a simple additional module load is enough in the Apache configuration file, for example:
LoadModule php7_module "${INSTALL_DIR}/bin/php/php7.2.4/php7apache2_4.dll"
As much as this is complicated with nginx, especially since it would seem that it requires non thread safe PHP versions while those already in place with Wampserver are thread safe and that there is no other way than to go through a proxy and php-cgi.exe.

Nevertheless, a first step has already been taken:
j:\wamp\bin\nginx\nginx1.13.12\nginx.exe
with the possibility to create a "wampnginx" service and start or stop it by Wampserver.

------------------------------------------------------------------------------------------------------------
Wampserver 3.1.3 32 bit - Apache 2.4.33 - PHP 7.2.6/7.1.18/7.0.30/5.6.36 - MySQL 5.7.22 - MariaDB 10.3.7
Wampserver 3.1.3 64 bit - Apache 2.4.33 - PHP 7.2.6/7.1.18/7.0.30/5.6.36 - MySQL 5.7.22 - MariaDB 10.3.7
PhPMyAdmin 4.8.0.1 - MysqlDumper 1.24.5
on W10 and W7 Pro 64 bit
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons
« Ce n'est pas parce qu'ils sont nombreux à avoir tort, qu'ils ont forcément raison. Coluche »
« It's not because they are many to be wrong, they are necessarily right. Coluche »

Options: ReplyQuote
Re: nginx addon
Posted by: anthos1984 (---.resources.indosat.com)
Date: May 03, 2018 12:09AM

> > It is seriously different characteristics which
> makes my php apps didn't work.
> I'm very curious what PHP code might work with
> Apache, but not with nginx !!
> PHP is a language for which, in its documentation,
> I have not (yet) seen any differences depending on
> the server used.

Its because some 'server variable' which is set by apache but not by nginx. For example "PATH_INFO". Also folder credential which depends on apache .htaccess

> It is here that the qualitative "easy" takes on its full meaning.
It's about AESTAN TRAY. I have put \bin\nginx\nginx1.13.12\nginx.exe. It works... but manually open the folder and run it. Not using good standard of WAMPSERVER tray menu.

Options: ReplyQuote


Sorry, only registered users may post in this forum.