Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Filipe Cifali
Jack, you have to either load mod_php (which comes from compiling / installing PHP in a certain way) or change the way you are using PHP on the overall with httpd. Searching for how to install mod_php on SUSE X (being X the version you are running) should provide frutiferous info, but I'm a

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Jack M. Nilles
Frank, My main concern is to get apache to run with php at all, never mind scalability issues. So far everything looks fine except that it doesn't work. Maybe somewhere in the bowels of SuSE 42.1 there is an error. Jack - To

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Frank Gingras
Jack, The point is not to use non-threaded to increase your performance and scalability. The event mpm has the ability to run many threads per process, which in turn can drastically increase the number of simultaneous clients you can serve. On Tue, Oct 2, 2018 at 4:34 PM Jack M. Nilles wrote:

Re: [users@httpd] Remove .php extension but still pass it to PHP-FPM

2018-10-02 Thread Frank Gingras
Why do you want to remove the extensions? On Tue, Oct 2, 2018 at 2:45 PM Filipe Cifali wrote: > You can reach that via mod_rewrite [1] and a combination of rules for > checking if the file exists before the proxy, depending on the proxy, > itself can do the checking. > > > [1]

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Jack M. Nilles
mpm_prefork_module is/was loaded. > On 2 Oct 2018, at 8:24, Frank Gingras wrote: > > http://wiki.apache.org/httpd/php is a good > starting point - I would recommend not using mod_php, unless you have a good > reason to use it. > > Nowadays, mod_proxy_fcgi

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Jack M. Nilles
The package manager (YaST) shows php5.5 as installed so it should have php-fpm in its code base. I notice that /etc/php5/apache2/php.ini at present has short_open_tag = Off which might be the clue to its ignoring all the code in these sites that use -- or not. The commented text is a tad

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Filipe Cifali
Also double check what version of PHP SUSE server pkg manager is providing now, this seems like a change of version where the pkg manager gone rogue (maybe missing dependency on tree?) On Tue, Oct 2, 2018 at 12:24 PM Frank Gingras wrote: > http://wiki.apache.org/httpd/php is a good starting

Re: [users@httpd] Remove .php extension but still pass it to PHP-FPM

2018-10-02 Thread Filipe Cifali
You can reach that via mod_rewrite [1] and a combination of rules for checking if the file exists before the proxy, depending on the proxy, itself can do the checking. [1] https://httpd.apache.org/docs/2.4/mod/mod_rewrite.html On Tue, Oct 2, 2018 at 3:41 PM Rose, John B wrote: > We would like

[users@httpd] Remove .php extension but still pass it to PHP-FPM

2018-10-02 Thread Rose, John B
We would like to strip select .php extensions within a web site but still have them passed to PHP-FPM when they are clicked on. Any help would be appreciated

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Frank Gingras
http://wiki.apache.org/httpd/php is a good starting point - I would recommend not using mod_php, unless you have a good reason to use it. Nowadays, mod_proxy_fcgi and php-fpm is trivial to set up, and allow you to use a threaded mpm, such as event. On Tue, Oct 2, 2018 at 11:21 AM Jack M. Nilles

Re: [users@httpd] 403 error upon upgrade

2018-10-02 Thread Jack M. Nilles
Sure enough, there seems to be no php module loaded: Loaded Modules: core_module (static) so_module (static) http_module (static) mpm_prefork_module (static) unixd_module (static) systemd_module (static) actions_module (shared) alias_module (shared) auth_basic_module (shared)