Re: Problem installing in custom folder when Perl is enabled

2020-03-15 Thread Martin Grigorov
Thank you for the answer, Maxim! Regards, Martin On Fri, Mar 13, 2020 at 4:22 PM Maxim Dounin wrote: > Hello! > > On Fri, Mar 13, 2020 at 03:12:35PM +0200, Martin Grigorov wrote: > > > I'm facing the following problem when I try to install Nginx in a custom > > folder: > > [...] > > > make[1]:

Error 512 after nginx setup

2020-03-15 Thread Adrian Vidican
Hi Everyone, First time I post here, hopefully I'm not gonna broke any rule. I setup Nginx on my Ubuntu 16.04 server to point my domain (using cloudflare) to my server where discourse.org is installed. Here's the default file in sites-available server { listen 80; l

Re: Unable to see a php page

2020-03-15 Thread Francis Daly
On Sun, Mar 15, 2020 at 05:19:57PM +0330, Mahmood Naderan wrote: Hi there, > I started php-fpm and opened localhost/index.php > This time I see the content of index.php as a plain text. > I have to do more debugging. Thanks. That's useful. I suggest that the first step is to look at the http he

Re: Unable to see a php page

2020-03-15 Thread Mahmood Naderan
Thank you for the feedback. I want to do some tests on a VM albeit the versions are old. I started php-fpm and opened localhost/index.php This time I see the content of index.php as a plain text. I have to do more debugging. Thanks. Regards, Mahmood On Sun, Mar 15, 2020 at 4:53 PM Francis D

Re: How to fix ERR_RESPONSE_HEADERS_TRUNCATED error

2020-03-15 Thread Francis Daly
On Sun, Mar 15, 2020 at 09:02:28AM -0400, bubunia2000ster wrote: Hi there, > User ->AWS Route 53(DNS resolution) -> AWS NLB > (443)-> nginx(implements path based routing to different backend EC2 > instances)--->http(backend ec2 instances) That says "the plan is http from nginx to backend".

Re: Unable to see a php page

2020-03-15 Thread Francis Daly
On Sun, Mar 15, 2020 at 03:58:30PM +0330, Mahmood Naderan wrote: Hi there, > For a test, I have installed nginx 1.0.15 with php 5.3 on an Ubuntu 14.04. > At the same time, I see this entry in /usr/local/nginx/logs/error.log > > 2020/03/15 15:50:20 [error] 4808#0: *5 connect() failed (111: Conne

How to fix ERR_RESPONSE_HEADERS_TRUNCATED error

2020-03-15 Thread bubunia2000ster
Hi all, I am implementing a small application to test the path based routing functionality using nginx. My set up is something as below: User ->AWS Route 53(DNS resolution) -> AWS NLB (443)-> nginx(implements path based routing to different backend EC2 instances)--->http(backend ec2 instances

Unable to see a php page

2020-03-15 Thread Mahmood Naderan
Hi, For a test, I have installed nginx 1.0.15 with php 5.3 on an Ubuntu 14.04. The settings related to php in nginx.conf are as below where I removed the comments for simplicity. server { listen 80; server_name localhost; location / { root /home/ub

Re: nginx and php settings

2020-03-15 Thread Mahmood Naderan
I don't know what is going on for this problem. All things look normal. I will post in another thread which I did all necessary modifications. Regards, Mahmood On Sat, Mar 14, 2020 at 3:54 PM Mahmood Naderan wrote: > >fastcgi_param SCRIPT_FILENAME > /usr/local/nginx/html/$fastcgi_script_na