-----Original Message----- From: CentOS [mailto:centos-bounces@centos.org] On Behalf Of James Hogarth Sent: den 21 september 2017 15:51 To: CentOS mailing list centos@centos.org Subject: Re: [CentOS] CentOS 7: changes to php.ini
When you have different applications with different needs it's best to either use mod_php specific directives within that virtualhost such as
here:
https://src.fedoraproject.org/rpms/owncloud/blob/master/f/owncloud- defaults.inc
Or honestly better still to not use mod_php and instead switch to php-fpm with separate application pools which each have their own php settings
like
this nginx based setup:
https://src.fedoraproject.org/rpms/owncloud/blob/master/f/owncloud- conf-nginx.conf
https://src.fedoraproject.org/rpms/owncloud/blob/master/f/owncloud-el7- php-fpm.conf
Would that be true even for really small installs. Like running one server with one, maybe two services relying on php? It feels rather over the top.
I use Apache and php because most good howto's out there are based on those assumptions.
-- //Sorin