• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Running Plesk inside a Docker container - PHP not working

CubE135

New Pleskian
Hey, im currently trying to run a Plesk instance in a Docker container. Everything worked fine, until i tried to use PHP in a website.
I get a 503 Error when trying to access the website. I figured out, that PHP FPM is not running. The problem is, that i cannot start it either.
When i try to start PHP FPM, i get the following error:
Code:
Unable to start service: Unable to manage service by phpinimng: ('start', 'plesk-php73-fpm'). Error: invoke-rc.d: unknown initscript, /etc/init.d/plesk-php73-fpm not found. invoke-rc.d: could not determine current runlevel invoke-rc.d: unknown initscript, /etc/init.d/plesk-php73-fpm not found. invoke-rc.d: could not determine current runlevel invoke-rc.d: emulating initscript action "status", returning "unknown" Service plesk-php73-fpm is down after attempt to start it

How do i fix this?

Best regards,
CubE135
 
Plesk PHP-FPM is fetched from common Plesk repository where it configured to run under systemd, which is absent inside the Docker container.
As a possible solution change PHP handler type to FastCGI or use the PHP-FPM by OS vendor.
 
Hey, thank you for answering :)
I can not start PHP-FPM by OS vendor as it is not installed. When heading to Tools & Settings and clicking "Updates" under the "Plesk" Category, i get an error page with the following error: "ERR_CONNECTION_REFUSED". So im not able to install that feature.
 
Ok, i managed to open up the "Add and Remove Product Components" page. As seen in the screenshot, "PHP from OS vendor" seems to be installed, but i still can not start it.
I also have a valid Licence Key installed, that includes the service.
 

Attachments

  • ePqEZtlw884b.png
    ePqEZtlw884b.png
    9.5 KB · Views: 10
  • TfGvKWmp885b.png
    TfGvKWmp885b.png
    13.8 KB · Views: 9
Have you enabled "PHP-FPM by OS vendor" as PHP handler for your domain? Do you have any problems with it? How does this domain work with php files?
 
For some reason, "7.2.24 by OS vendor" is not in this list
 

Attachments

  • BfWWiu5v886b.png
    BfWWiu5v886b.png
    14.9 KB · Views: 5
Ok, it seems to work when switching to FastCGI.
Do i have to change that for every domain or can i somehow tell plesk to use FastCGI as default when adding new domains?
 

Attachments

  • 7F70m64U887b.png
    7F70m64U887b.png
    8 KB · Views: 2
You can define it is Service Plan and sync it to all subscriptions based on this Service Plan.
 
Back
Top