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.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



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.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

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.