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)
Edit /etc/php/7.3/fpm/pool.d/*.conf file and restart FPM after that.websystems wrote: ↑Sun Mar 22, 2020 5:11 pmDebian9, 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.
-
- Posts: 31
- Joined: Wed Oct 18, 2017 6:34 am
-
- Posts: 7
- Joined: Tue Jul 18, 2017 1:39 am
- Contact:
- Os: Debian 7x
- Web: apache + nginx
Re: 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-F
Thank you, great tutorial, everything worked fine.
Re: 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-F
Come on.
I created a VMWare with Debian 9.12
Vestacp instaled nginx + php-fpm
I started to execute the commands as follows the tutorial.
Step 1 > OK
Step 2 > Failed
Returns a command not found in a2enmod.
I tried as root and it still shows the same "error"
What to do?
I created a VMWare with Debian 9.12
Vestacp instaled nginx + php-fpm
I started to execute the commands as follows the tutorial.
Step 1 > OK
Code: Select all
apt-get update
apt install apt-transport-https ca-certificates
wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
sh -c 'echo "deb https://packages.sury.org/php/ stretch main" > /etc/apt/sources.list.d/php.list'
Code: Select all
apt-get update
a2enmod proxy_fcgi setenvif
I tried as root and it still shows the same "error"
What to do?
Re: 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-F
Can you write instruction what to do to add PHP versions 5.3 to selector?