Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Eric Covener
On Thu, Jul 7, 2022 at 1:06 PM Stormy-SDLU wrote: > > On 2022-07-06 21:34, Frank Gingras wrote: > > Paul, > > > > httpd does not call php includes, period. This is processed by php alone. > > Frank, thanks, perhaps my poor choice of words. I had this in mind: > >

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread David Copeland
Does it work if you rename index.html to index.php ? On 2022-07-07 13:05, Stormy-SDLU wrote: > On 2022-07-06 21:34, Frank Gingras wrote: >> Paul, >> >> httpd does not call php includes, period. This is processed by php >> alone. > > Frank, thanks, perhaps my poor choice of words. I had this in

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Stormy-SDLU
On 2022-07-06 21:34, Frank Gingras wrote: Paul, httpd does not call php includes, period. This is processed by php alone. Frank, thanks, perhaps my poor choice of words. I had this in mind: paul@sandbox:/etc/apache2/mods-enabled$ cat php7.4.load # Conflicts: php5 # Depends: mpm_prefork

Re: [users@httpd] Apache 2.4 and php

2022-07-07 Thread Frank Gingras
Paul, You should respond to the list, so that other folks can benefit from the answers. Now, you embedded php code in .html files, which is a very bad idea, as you now have to use the php module to parse every single html file. I recommend that you not do that. On Wed, 6 Jul 2022 at 21:34,

Re: [users@httpd] Apache 2.4 and php

2022-07-06 Thread Frank Gingras
Paul, httpd does not call php includes, period. This is processed by php alone. On Wed, 6 Jul 2022 at 18:31, Paul wrote: > On 2022-07-06 08:27, Frank Gingras wrote: > > First off, I would suggest not using prefork and mod_php, unless traffic > is > > minimal and performance is not a concern.

Re: [users@httpd] Apache 2.4 and php

2022-07-06 Thread Paul
On 2022-07-06 08:27, Frank Gingras wrote: First off, I would suggest not using prefork and mod_php, unless traffic is minimal and performance is not a concern. Nowadays, the scalable solution is to use php-fpm, and use a threaded mpm like event. Many thanks. Point well taken, on my "to do"

Re: [users@httpd] Apache 2.4 and php

2022-07-06 Thread Frank Gingras
First off, I would suggest not using prefork and mod_php, unless traffic is minimal and performance is not a concern. Nowadays, the scalable solution is to use php-fpm, and use a threaded mpm like event. Secondly, for your issue, you will need to look into the php logs as php is generating the

[users@httpd] Apache 2.4 and php

2022-07-05 Thread Paul
I'm going nowhere for what must be a small glitch. Ubuntu server 20.04LTS, Apache/2.4.41 (Ubuntu) using mpm_prefork behind Nginx proxy server. We use php 7.4 for many thousands of static pages that use e.g. include 'inc/tophead.html';?> giving us " lang="en"> , css, js, etc" sent to

[users@httpd] apache 2.4 and php on Freebsd

2017-07-08 Thread @lbutlr
Is anyone running Apache 2.4 and mod_php (either 5.6 or 7.0)? Despite many times building out of ports or manually, I cannot get apache to launch successfully with php enabled. Is there something else I can do to get php working? I can get apache to load with mod_php56, but loading php pages

Re: [users@httpd] Apache 2.4 with PHP-FPM

2016-08-29 Thread lester
If you can distinguish which url's need to use rewrite, and which do not, then extend the rewrite to only change the right ones. But I suspect that this is not possible, so you need some other way to identify which use each rule. Sent from my android device so quoting is crap ... need to kill

Re: [users@httpd] Apache 2.4 with PHP-FPM

2016-08-29 Thread khodadadeh
ada...@hotmail.com> To: users@httpd.apache.org Sent: Mon, 29 Aug 2016 13:18 Subject: [users@httpd] Apache 2.4 with PHP-FPM I have installed PHP-FPM 5.6  and Apache 2.4 with mod_proxy and mod_proxy_fcgi. I have two web sites on my server. One M

Re: [users@httpd] Apache 2.4 with PHP-FPM

2016-08-29 Thread lester
! -Original Message- From: khodadadeh <khodada...@hotmail.com> To: users@httpd.apache.org Sent: Mon, 29 Aug 2016 13:18 Subject: [users@httpd] Apache 2.4 with PHP-FPM I have installed PHP-FPM 5.6 and Apache 2.4 with mod_proxy and mod_proxy_fcgi. I have two web sites on my server. One M

[users@httpd] Apache 2.4 with PHP-FPM

2016-08-29 Thread khodadadeh
I have installed PHP-FPM 5.6 and Apache 2.4 with mod_proxy and mod_proxy_fcgi. I have two web sites on my server. One Magento and the other one that is written using Laravel framework. Magento has URLs like: http://domain.com/index.php/ACP/ index.php exists in document root. Laravel has URLs