On Mon, Mar 16, 2020 at 09:40:40PM +0330, Mahmood Naderan wrote:
Hi there,
> OK with this configuration:
>
> location ~ \.php$ {
> root /home/ubuntu/htdocs/public_html;
> fastcgi_pass 127.0.0.1:9000;
> fastcgi_index index.php;
>
OK with this configuration:
location ~ \.php$ {
root /home/ubuntu/htdocs/public_html;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME
$document_root$fastcgi_script_name;
include
On 15/03/2020 14:00, Francis Daly wrote:
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 tha
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
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
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
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