• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here:Home » Troubleshoot Not enabling PHP x.y FPM by default Notice on Ubuntu Server

By Abhishek Ghosh June 25, 2023 10:05 am Updated on June 25, 2023

Troubleshoot Not enabling PHP x.y FPM by default Notice on Ubuntu Server

Advertisement

If you are receiving the notice “Not enabling PHP x.y FPM by default” (with Apache webserver) after upgrading your Ubuntu server then you need to spend time behind the server and remain attentive during reboot. After I received this notice, I Google searched and read at least 50 web pages to understand where the error is arriving. The main information I got from Linode’s community:

Vim
1
https://www.linode.com/community/questions/23136/not-enabling-php-80-fpm-by-default

stevewi is a skilled person and his observation will not be wrong.

This is an example from an Ubuntu 20.04 LTS with PHP 7.2:

Advertisement

---

Vim
1
2
3
4
5
6
7
8
...
Processing triggers for php7.2-fpm (7.2.34-39+ubuntu20.04.1+deb.sury.org+1) ...
NOTICE: Not enabling PHP 7.2 FPM by default.
NOTICE: To enable PHP 7.2 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.2-fpm
NOTICE: You are seeing this message because you have apache2 package installed.
...

 

What is the Official Fix of This Notice?

 

You are receiving this message either because you are using an older version of Ubuntu (not the latest one) or you are using an older version of PHP. Ubuntu lists the date of the end of standard support (EOS):

Vim
1
https://wiki.ubuntu.com/Releases

Probably your system supports PHP 8.x out of the box, and there are references to PPAs of that version. You are “forcefully” chosen a PHP version to run PHP-FPM which Ubuntu’s apt does not support.

This is probably a bug which is not fixed. EOS in Canonical’s language means EOL. If you run pro security-status command, you’ll receive this information:

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
1272 packages installed:
     995 packages from Ubuntu Main/Restricted repository
     158 packages from Ubuntu Universe/Multiverse repository
     116 packages from third parties
     3 packages no longer available for download
 
To get more information about the packages, run
    pro security-status --help
for a list of available options.
 
This machine is receiving security patching for Ubuntu Main/Restricted
repository until 2025.
This machine is NOT attached to an Ubuntu Pro subscription.
 
Ubuntu Pro with 'esm-infra' enabled provides security updates for
Main/Restricted packages until 2030.
 
Ubuntu Pro with 'esm-apps' enabled provides security updates for
Universe/Multiverse packages until 2030 and has 37 pending security updates.
 
Try Ubuntu Pro with a free personal subscription on up to 5 machines.
Learn more at https://ubuntu.com/pro

Ubuntu Pro is free up to five servers for personal usage. Their “personal usage” includes usage for “small business”. They have not mentioned whether you can run a professional WordPress blog on the server and make money while using their free subscription. Whether you’ll use their free offer or not, it is your decision.

We suggest upgrading the server to the latest version and trying to use the latest version of PHP.

Troubleshoot Not enabling PHP xy FPM by default Notice on Ubuntu Server

 

Is This Notice Dangerous?

 

Yes, the PHP-FPM on your server may not work after a reboot. Because we use Apache, we can enable mod prefork, mod_php, and disable mpm_event to avoid disaster after a reboot. Apache needs some scripts to do this automatically.

If you are using NGINX, the situation will be pathetic. If do not know whether it happens with NGINX too. Presently, PHP-FPM will be up and running, you can run htop and watch php-fpm: pool www are working. Also, you can run ps -ef | grep php to check. But it is difficult to say whether a reboot will keep PHP-FPM running.

When you are a single person managing one or more servers with serious and earning websites, you should use failproof things which are clearly licensed under GPL compatible license.

After all mpm_event is almost fail-proof. When we suggest to Install Apache MPM Event and PHP-FPM on Ubuntu Server, we assume that you can fight to fix odd issues.

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Troubleshoot Not enabling PHP x.y FPM by default Notice on Ubuntu Server

  • Nginx WordPress Installation Guide (All Steps)

    This is a Full Nginx WordPress Installation Guide With All the Steps, Including Some Optimization and Setup Which is Compatible With WordPress DOT ORG Example Settings For Nginx.

  • WordPress & PHP : Different AdSense Units on Mobile Devices

    Here is How To Serve Different AdSense Units on Mobile Devices on WordPress With PHP. WordPress Has Function Which Can Be Used In Free Way.

  • XCache Admin Page on Nginx-PHP5-FPM (Ubuntu, HP Cloud)

    Here is How to Setup a XCache Admin Page on Nginx-PHP5-FPM on Ubuntu Instance Running on HP Cloud. It Gives a Clear Graphical Idea of Caching.

  • Changing Data With cURL for OpenStack Swift (HP Cloud CDN)

    Changing Data With cURL For Object is Quite Easy in OpenStack Swift. Here Are Examples With HP Cloud CDN To Make it Clear. Official Examples Are Bad.

performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

Get new posts by email:

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

Copyright © 2023 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy