Vesta Control Panel - Forum

Community Forum

Skip to content

Advanced search
  • Quick links
    • Main site
    • Github repo
    • Google Search
  • FAQ
  • Login
  • Register
  • Board index Main Section General Discussion Debian/Ubuntu
  • Search

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)

Debian/Ubuntu related topics
Post Reply
  • Print view
Advanced search
166 posts
  • Page 10 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • 12
  • …
  • 17
  • Next
dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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)
  • Quote

Post by dpeca » Mon Mar 23, 2020 9:14 pm

websystems wrote: ↑
Sun Mar 22, 2020 5:11 pm
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.
Edit /etc/php/7.3/fpm/pool.d/*.conf file and restart FPM after that.
Top

websystems
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)
  • Quote

Post by websystems » Mon Mar 23, 2020 10:52 pm

dpeca wrote: ↑
Mon Mar 23, 2020 9:14 pm
Edit /etc/php/7.3/fpm/pool.d/*.conf file and restart FPM after that.
This solves the problem. Thank you!
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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
  • Quote

Post by dpeca » Mon Mar 23, 2020 11:08 pm

I just added support for 7.4
Top

YellowJuice
Posts: 7
Joined: Tue Jul 18, 2017 1:39 am
Contact:
Contact YellowJuice
Website

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
  • Quote

Post by YellowJuice » Wed Apr 08, 2020 1:44 am

Thank you, great tutorial, everything worked fine.
Top

xstocler
Posts: 12
Joined: Thu May 09, 2019 2:28 am

Os: CentOS 6x
Web: nginx + php-fpm
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
  • Quote

Post by xstocler » Thu Apr 09, 2020 11:08 pm

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

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'
Step 2 > Failed

Code: Select all

apt-get update
a2enmod proxy_fcgi setenvif
Returns a command not found in a2enmod.

I tried as root and it still shows the same "error"
What to do?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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
  • Quote

Post by dpeca » Thu Apr 09, 2020 11:20 pm

xstocler wrote: ↑
Thu Apr 09, 2020 11:08 pm
Vestacp instaled nginx + php-fpm
Tutorial is only valid for default instalation with Apache.
Top

xstocler
Posts: 12
Joined: Thu May 09, 2019 2:28 am

Os: CentOS 6x
Web: nginx + php-fpm
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
  • Quote

Post by xstocler » Thu Apr 09, 2020 11:35 pm

dpeca wrote: ↑
Thu Apr 09, 2020 11:20 pm
xstocler wrote: ↑
Thu Apr 09, 2020 11:08 pm
Vestacp instaled nginx + php-fpm
Tutorial is only valid for default instalation with Apache.


From what I understood it would work with nginx + php-fpm

Do you know where to find it?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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
  • Quote

Post by dpeca » Fri Apr 10, 2020 8:01 am

xstocler wrote: ↑
Thu Apr 09, 2020 11:35 pm
From what I understood it would work with nginx + php-fpm
Nope.
You can LATER turn-off Apache (see second post in this thread).
But anyway, in order to use this tutorial, you must first install Vesta with Apache.
Top

Bez
Posts: 78
Joined: Mon Feb 10, 2014 9:43 pm

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
  • Quote

Post by Bez » Tue Apr 14, 2020 9:21 am

Can you write instruction what to do to add PHP versions 5.3 to selector?
Top

dpeca
VestaCP Team
Posts: 473
Joined: Wed Nov 25, 2015 7:30 pm

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
  • Quote

Post by dpeca » Tue Apr 14, 2020 10:10 am

Bez wrote: ↑
Tue Apr 14, 2020 9:21 am
Can you write instruction what to do to add PHP versions 5.3 to selector?
Impossible on supported Debian versions (8, 9, 10).
The only way is to try to compile it by yourself.
Top


Post Reply
  • Print view

166 posts
  • Page 10 of 17
    • Jump to page:
  • Previous
  • 1
  • …
  • 8
  • 9
  • 10
  • 11
  • 12
  • …
  • 17
  • Next

Return to “Debian/Ubuntu”



  • Board index
  • All times are UTC
  • Delete all board cookies
  • The team
Powered by phpBB® Forum Software © phpBB Limited
*Original Author: Brad Veryard
*Updated to 3.2 by MannixMD
 

 

Login  •  Register

I forgot my password