• 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

Accidentally deleted php.in - can this be fixed?

B

benny

Guest
Hi

I accidentally deleted the /usr/local/psa/admin/conf/php.ini file. Now my Plesk interface is broken. Can this be fixed? If so, could someone post the php.ini here that I would need?

Thanks so much.

Kind regards
Benjamin
 
Hi

Hi Benjamin,
What about the one located in /etc folder? if no then you can copy the php.ini from php sources though you will loose any specific php configuration settings you made previously.
IMHO PHP is using which ini can be located by looking at output of phpInfo() function. Create a test script to display the output of phpInfo() or simply invoke the php -i command line switch.

HIH.
 
Back
Top