• The new Python extension is now available. It allows customers to deploy and manage WSGI-based Python applications on their websites directly from Plesk.
  • The Plesk Mobile apps for iOS and Android and the Plesk Mobile Center extension have been deprecated, and are no longer available for new installations. In Plesk Obsidian 18.0.84, the Plesk Mobile Center extension will be removed from servers during the upgrade, and the Plesk Mobile apps will lose their server management features.
  • The Social Login extension has been deprecated and will be removed in Plesk Obsidian 18.0.84. After that, it will no longer be possible to log in to Plesk with a Google, Facebook, GitHub account, or with a passkey. Plesk usernames and passwords, as well as logging in with a WebPros Account, are not affected.

PHP Won't Run as Apache Module

Chris Macpherson

New Pleskian
Hi,

I am currently running Plesk 10.4.4 on CentOS 5 (Parallels Plesk Panel v10.4.4_build1013111102.18 os_CentOS 5).

I ran into a problem with a PHP script I was using and after viewing the data from phpinfo() I noticed "Server API: CGI/FastCGI". Since this script requires I run PHP as an Apache Module I went to my service plans an updated the hosting parameters to Run PHP as -> Apache module. I synced my subscriptions and verified that the domain itself showed that PHP was running as a module.

Unfortunately phpinfo() is still showing "Server API: CGI/FastCGI" and the script still does not run.

I have restart httpd and even rebooted the server. Still no luck getting this to change.

My other Plesk server has PHP set to run as a module and shows "Server API: Apache 2.0 Handler" from phpinfo().

Any suggestions on how to fix this?

Thanks for your time,
Chris
 
Ok, I have discovered the problem but still need a solution. My server is set up as a VPS and has pp10-vps-optimized installed. Per the Plesk documentation, PHP will be available only through CGI when this is installed.

I found instructions for turning off the optimization here:
http://download1.parallels.com/Ples...e/plesk-unix-cli/index.htm?fileName=66542.htm

Unfortunately it seems Plesk 10.4.4 works a bit differently. My httpd.conf file does not have a line that I can uncomment to enable mod_php.so. I assume this is because of the addition of the Apache modules control in the interface (Tools & Settings -> Apache Modules).

Are there revised instructions for switching the panel back to normal operation mode in Plesk 10.4.4?

Thanks,
Chris
 
Back
Top