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