Re: kubuntu 22.04 + nginx + apache2 + php = 'service apache2 restart' regularly necessary

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx> 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@xxxxxxxxx> wrote:
/var/log/apache2/error.log 

On Wed, Jul 3, 2024 at 10:24 AM Rene Veerman <rene.veerman.netherlands@xxxxxxxxx> 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 '^$|^.*#' ¯\_(ツ)_/¯ :-)


--
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 '^$|^.*#' ¯\_(ツ)_/¯ :-)

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux