We are happy to announce that Vesta is back under active development as of 25 February 2024. We are working on v1 candidate and expect to engage more with the community over the coming months. We are committed to open source, and we encourage contributors to help us build the future of Vesta.
php-fpm +nginx
-
- Posts: 3
- Joined: Fri May 19, 2017 12:51 pm
php-fpm +nginx
Hey,
I have the latest Vesta installed on Ubuntu 16.04.
I'm using php 5.6 in my server and I want run php 7.1 for roundcube and phpmyadmin.
I edit /etc/nginx/conf.d/webmail.inc according below:
But, when I run in the server, still show php 5.6. I try search for conflicts in configuration files, but I don't know much about nginx.
Can you help me? Please!
I have the latest Vesta installed on Ubuntu 16.04.
I'm using php 5.6 in my server and I want run php 7.1 for roundcube and phpmyadmin.
I edit /etc/nginx/conf.d/webmail.inc according below:
Code: Select all
location /webmail {
alias /var/lib/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /var/lib/roundcube/$1;
#fastcgi_pass 127.0.0.1:9000;
fastcgi_pass unix:/run/php/php7.1-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
}
Code: Select all
phpinfo()
Can you help me? Please!
Re: php-fpm +nginx
Did you restart PHP and Nginx?
-
- Posts: 3
- Joined: Fri May 19, 2017 12:51 pm
Re: php-fpm +nginx
Yes! But didn't work!Phogo wrote:Did you restart PHP and Nginx?