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.
TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 for Debian & Ubuntu (and optionally directly nginx-PHP-FPM)
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Hi Dpeca thank you for your reply
How did you get around "Cross Site Scripting (XSS)" protection on apache templates?
How did you get around "Cross Site Scripting (XSS)" protection on apache templates?
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
I didn't work on that.
All templates are Vesta official templates - just adapted to work with PHP-FPM.
If something should be fixed against XSS, then official Vesta templates should be fixed.
It's not relatred with this PHP selector.
All templates are Vesta official templates - just adapted to work with PHP-FPM.
If something should be fixed against XSS, then official Vesta templates should be fixed.
It's not relatred with this PHP selector.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Hi @dpeca,
I tried to make nginx - PHP-FPM wih php 5.6 and 7.0
on my debian9 default is set to php7.0
can you please guide and give command sh to this
I tried to make nginx - PHP-FPM wih php 5.6 and 7.0
on my debian9 default is set to php7.0
can you please guide and give command sh to this
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
I not working:
Code: Select all
root@vps556124:~# apt-get install php7.0-apcu php7.0-mbstring php7.0-bcmath php7.0-cli php7.0-curl php7.0-fpm php7.0-gd php7.0-intl php7.0-mcrypt php7.0-mysql php7.0-soap php7.0-xml php7.0-zip php7.0-memcache php7.0-memcached php7.0-zip update-rc.d php7.0-fpm defaults
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'php-apcu' instead of 'php7.0-apcu'
Note, selecting 'php-memcache' instead of 'php7.0-memcache'
Note, selecting 'php-memcached' instead of 'php7.0-memcached'
E: Unable to locate package update-rc.d
E: Couldn't find any package by regex 'update-rc.d'
E: Unable to locate package defaults
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
is it Ubuntu?AlbEagle wrote: ↑Wed Sep 25, 2019 10:14 amI not working:Code: Select all
root@vps556124:~# apt-get install php7.0-apcu php7.0-mbstring php7.0-bcmath php7.0-cli php7.0-curl php7.0-fpm php7.0-gd php7.0-intl php7.0-mcrypt php7.0-mysql php7.0-soap php7.0-xml php7.0-zip php7.0-memcache php7.0-memcached php7.0-zip update-rc.d php7.0-fpm defaults Reading package lists... Done Building dependency tree Reading state information... Done Note, selecting 'php-apcu' instead of 'php7.0-apcu' Note, selecting 'php-memcache' instead of 'php7.0-memcache' Note, selecting 'php-memcached' instead of 'php7.0-memcached' E: Unable to locate package update-rc.d E: Couldn't find any package by regex 'update-rc.d' E: Unable to locate package defaults
you should then report bug to https://github.com/oerdnj/deb.sury.org/issues
temporary fix is to avoid those packages from apt-get install line.
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Webmail and phpmyadmin don't work for me, I already tried changing group = www-data in the .conf (/etc/php/7.2/fpm/poold/....conf) even in 7.3.gatsukito wrote: ↑Mon Aug 05, 2019 2:56 pmGood afternoon dpeca
Roundcube works perfectly, but phpPgAdmin continues showing me the error about config, and only I have /etc/phppgadmin/config.inc.phpdpeca wrote: ↑Mon Aug 05, 2019 10:08 amin fpm pool.d conf file of that domain, group shold beRestart php-fpm after that change.Code: Select all
group = www-data
Code: Select all
Configuration error: Copy conf/config.inc.php-dist to conf/config.inc.php and edit appropriately.
Any advice?
Regards
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
after selecting php5.6 on one of my domains and trying to access i get a error 500
here is what is in the domain error log
here is what is in the domain error log
[proxy:error] [pid 23701] (2)No such file or directory: AH02454: FCGI: attempt to connect to Unix domain socket /run/php/php5.6-fpm-mydomain.com.sock (*) failed
[proxy_fcgi:error] [pid 23701] [client 192.168.1.208:38678] AH01079: failed to make connection to backend: httpd-UDS
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Is there a way to do this in Centos7??
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
It works fine on Debian 9.11, phpmyadmin and webmail work. Many thanks!
-
- Posts: 31
- Joined: Wed Oct 18, 2017 6:34 am
Re: TUTORIAL: PHP selector for PHP 5.6, 7.0, 7.1, 7.2, 7.3 for Debian and Ubuntu (and optionally directly nginx-PHP-FPM)
Debian9, fresh system, fresh VestaCP setup. PHP7.3-FPM
I have just spent a couple of hours trying to fix the memory_limit issue
Created phpinfo file and checked conf
Loaded Configuration File: php.ini
I take this ini file, edit it and it does not matter what I put there as memory_limit , I see no update after restarting apache and php. It is 256M, and scripts on our website needs more, so I get memory limit issues, and 500s.
I have just spent a couple of hours trying to fix the memory_limit issue
Created phpinfo file and checked conf
Loaded Configuration File: php.ini
I take this ini file, edit it and it does not matter what I put there as memory_limit , I see no update after restarting apache and php. It is 256M, and scripts on our website needs more, so I get memory limit issues, and 500s.