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: > > paul@sandbox:/etc/apache2/mods-ena

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 mi

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 LoadMo

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, Frank

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. No

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" list

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 res

[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 clients

[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 r