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

Benjamin <[email protected]> Mon, 12 Aug 2024 07:34:06 +0800
Newsgroups gmane.comp.php.general
Message-ID <[email protected]>
Do NOT use js frameworks, just write it by hand.
Js in web pages is easy, do not make it complex. 




> On Aug 12, 2024, at 3:44 AM, Rene Veerman <[email protected]> wrote:
> 
> okay, well i'd want to continue to run php as an apache2 module, instead of that fpm stuff that i've never used before.
> but i know how to re-install it, and how that can sometimes be useful, according to you, someone who specializes in hosting and server maintenance.
> 
> however, i got a fresh *.iso file from kubuntu.com <http://kubuntu.com/> for installing this 22.04 installation,
> and just restore a backup of /etc/nginx, /etc/apache2 and /etc/letsencrypt.
> 
> so i was hoping it would work without flaws right out of the .iso box
> but it didnt :(
> 
> btw, as a guy specializing in pixel art forms and database backend code,
> i got little other options but to post on this list and askubuntu.com <http://askubuntu.com/>
> i'm sorry about not knowing which log files to post,
> and not wanting to reveal my /etc files 
> (however i can vouch for their validity, i've even taken a look at it, 
> and apache2 and nginx config files i can read perfectly well by now) because that would be revealing security sensitive data,
> but to post all of my code would be just far too many lines of code for you all to read,
> and would also harm me in the paycheck that i hope to one day get for 22 years of my time on all of this.
> 
> With kind regards,
>   Rene AJM Veerman 
>   Owner + CEO, CTO & CFO for https://nicer.app <https://nicer.app/> and related websites.
> 
> 
> 
> 
> On Sun, Aug 11, 2024 at 1:51 PM Odhiambo Washington <[email protected] <mailto:[email protected]>> wrote:
> And if you think Apache is the bottleneck, you can use Nginx+PHP:
> 
> https://www.rosehosting.com/blog/configure-php-fpm-with-nginx-on-ubuntu-22-04/ <https://www.rosehosting.com/blog/configure-php-fpm-with-nginx-on-ubuntu-22-04/>
> 
> Although that means you start entering a new area - Nginx.
> I am only suggesting it because your needs are simple enough and also because you don't know where your problem is.
> 
> 
> -- 
> 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 <http://www.catb.org/~esr/faqs/smart-questions.html>]