• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

PHP source code showing up after upgrade to 7.5.4

anwarpp

New Pleskian
After upgrade to 7.5.4, all the client side stuff (mysql DBs, mail, websites) work fine. This includes php based websites also. But the plesk control panel itself dumps PHP code after the username and password are keyed in. The login prompt itself works, and the header also shows up, but below the header, we get something like :

#!/usr/local/psa/admin/bin/php ?4O֋{?q?:T??5ij?G?<??ʀBJp????q?:O┇$y??5?e

Looks like httpsd is not able to process (encrypted?) php pages ? I noticed that there is no httpsd.include files in the /usr/local/psa/admin/conf directory (but I cannot remember if it was there in the first place either).

I have backups from just before the upgrade, but it seem a restore is too much work for something that looks like a simple config issue. Anyone have any suggestions on how to get httpsd to correctly process the Plesk system php pages, instead of dumping them directly on the client browser ?

Thanks,
Anwar.
 
Looks like this got fixed by itself ?!?!?!?!?

I chose the language "English (United States)" once instead of "Interface Default" during login, and it showed all the icons after logging in. From that point onwards, everything started working !

There is a God somewhere out there :)

Anwar.
 
Fixed. Traced it down to the following rpm's not being updated during the first update.

psa-api-rpc-7.5.3-rhel3.build75050509.09
psa-api-rpc-doc-7.5.3-rhel3.build75050509.09

After installing these manually and restarting PSA, everything works fine.

Anwar.
 
You may want to see if any other 7.5.3 packages are still not updated:

rpm -qa |grep '7.5.3'
 
Back
Top