Something very strange with php.ini load setting
hello,
im trying to turn off short_open_tag to off but with no success.
but as you can see in this screen shot form ea4 php multi editor (im using php 7) its already off..
Screenshot
so i dig a bit deeper, the 2 screen shot below are from phpinfo();
Screenshot
Screenshot
so you can see it still turned on?
I want ahead and run this line: ack -iR "short_open_tag = On" /
this is the outcome:
Screenshot
which file controlling it?! any help will be appreciated!
thanks
Matan
-
Hello, Is the PHPINFO file uploaded to the document root of the domain name, or a subdirectory within the document root? Since you are using PHP-FPM, you might be affected by the issue referenced on the following thread: .user.ini files not recursive Thank you. 0 -
it's on the root folder. Thanks 0 -
Hello, Feel free to open a support ticket using the link in my signature so we can take a closer look. Thank you. 0 -
Hello, I had the same issue and found this solution: 1) # nano /var/cpanel/userdata/user/domain.php_fpm.yaml where "user" is replaced with the cpanel user "domain" is replaced with domain 2) ADD php_admin_value[short_open_tag]: Off 3) Rebuild the PHP-FPM configuration # /usr/local/cpanel/scripts/php_fpm_config --rebuild for more info about the PHP-FPM values Configurations Values of PHP-FPM - Documentation - cPanel Documentation 0
Please sign in to leave a comment.
Comments
4 comments