• 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

Forwarded to devs Plesk php.ini web editor converts to CRLF in Linux systems

agarzon

Basic Pleskian
TITLE:
Plesk php.ini web editor converts to CRLF in Linux systems
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Plesk Onyx Versión 17.8.11, CentOS Linux 7.6.1810 (Core)‬, x86_64 GNU/Linux
PROBLEM DESCRIPTION:
I noticed the web editor in the panel, where you can edit php.ini settings, converts the file to DOS Newlines CRLF instead preserving it as the original LF Unix ending.​
STEPS TO REPRODUCE:
  • Edit and save any change using the php.ini web editor in the Plesk panel
  • Chek the file format has changed: file /opt/plesk/php/7.3/etc/php.ini
  • if you get "ASCII text, with CRLF line terminators" it means the Plesk editor is changing the file format from Unix to DOS, which is bad.
  • The original file before any modification has no CRLF terminators. You can compare with any fresh installation and even with the build in /etc/php.ini file.
ACTUAL RESULT:
php.ini files are being converted from LF to CRLF.​
EXPECTED RESULT:
php.ini files should not be converted from their original terminators.​
ANY ADDITIONAL INFORMATION:
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Confirm bug
 

Attachments

  • screenshot-eros.venezuela-dns.net-8443-2019.03.06-11-03-04.png
    screenshot-eros.venezuela-dns.net-8443-2019.03.06-11-03-04.png
    167.8 KB · Views: 6
Thank you.
Bug has been confirmed and submitted as PPPM-10303
 
Back
Top