Re: kubuntu 22.04 + nginx + apache2 + php = 'service apache2 restart' regularly necessary
| From: | Odhiambo Washington | Date: | Sun, 11 Aug 2024 11:33:34 +0000 |
| Subject: | Re: kubuntu 22.04 + nginx + apache2 + php = 'service apache2 restart' regularly necessary | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-328505@lists.php.net to get a copy of this message | ||
Your problem (without you providing more details as you've been told in the
askubuntu forum) appears simple enough to address.
I also don't even think it should be cluttering this PHP list unless you
are attributing the problem to PHP, in which case you should share the PHP
code you are running so that you can he helped in auditing it by any
experts willing to.
Let's say, for instance, I have a Debian VPS with 4GB or RAM and 2CPU
cores. I can run either Apache or Nginx on it. None of the has any issues
and I don't need to restart them unless for system upgrade.
So for now, here is my suggested solution:
1. apt remove --purge apache # Uninstall apache2
2. apt remove --purge phpX.X (you can get the X.X by running
php -v)
3. Start all over afresh installing your Apache and PHP. Follow the link
below and decide whether it is php7.4, php8.2 or php8.3 (whichever is
available in your Ubuntu version)
https://www.digitalocean.com/community/tutorials/how-to-configure-apache-http-with-mpm-event-and-php-fpm-on-ubuntu-18-04
4. Reenable your site as necessary: a2ensite mysite.conf
5. Restart apache2
See if that solved your problem.
On Sun, Aug 11, 2024 at 2:18 PM Rene Veerman <
rene.veerman.netherlands@gmail.com> wrote:
> sorry, i accidentally sent the previous message to you, while it was
> intended for Narcis Garcia..
>
> With kind regards,
> Rene AJM Veerman
> Owner + CEO, CTO & CFO for https://nicer.app and related
> websites.
>
>
> On Sun, Aug 11, 2024 at 1:15 PM Rene Veerman <
> rene.veerman.netherlands@gmail.com> wrote:
>
>> to unfreeze my browser when it requests a page from the server..
>>
>> With kind regards,
>> Rene AJM Veerman
>> Owner + CEO, CTO & CFO for https://nicer.app and
>> related websites.
>>
>>
>>
>> On Wed, Jul 3, 2024 at 8:08 PM Odhiambo Washington <odhiambo@gmail.com>
>> wrote:
>>
>>> /var/log/apache2/error.log
>>>
>>> On Wed, Jul 3, 2024 at 10:24 AM Rene Veerman <
>>> rene.veerman.netherlands@gmail.com> wrote:
>>>
>>>>
>>>>
>>>> https://askubuntu.com/questions/1518972/kubuntu-22-04-nginx-apache2-php-service-apache2-restart-regularly-nece
>>>>
>>>> i'd love some help with this! :)
>>>>
>>>> Met vriendelijke groet,
>>>> Rene AJM Veerman
>>>> Eigenaar + Algemeen, Technisch & Financieel directeur van
>>>> https://nicer.app en gerelateerde websites.
>>>>
>>>> With kind regards,
>>>> Owner + CEO, CTO & CFO for https://nicer.app
>>>> and related websites.
>>>>
>>>> see also https://facebook.com/rene.veerman.90
>>>>
>>>
>>>
>>> --
>>> Best regards,
>>> Odhiambo WASHINGTON,
>>> Nairobi,KE
>>> +254 7 3200 0004/+254 7 2274 3223
>>> In an Internet failure case, the #1 suspect is a constant: DNS.
>>> "Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
>>> [How to ask smart questions:
>>> http://www.catb.org/~esr/faqs/smart-questions.html]
>>>
>>
--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]