PHP short_open_tag not working + php.ini wiped out from dashboard
Posted: Tue Jul 14, 2020 7:07 pm
Hey all!
I have many PHP script that use a short open tag "<?" instead of "<?php". I tried changing the var short_open_tag to On in the following files. Restarted apache but it didn't fix it.
ALSO - I tried configuring it through the VestaCP dashboard in Server->Apache->Configure php.ini. Once I did that, it WIPED OUT the above files and replaced them with the mostly-empty one from the dashboard. Check out this weirdness...

Is that a bug? I would think so because now there are no php.ini options set anywhere!!!
Thanks!
I have many PHP script that use a short open tag "<?" instead of "<?php". I tried changing the var short_open_tag to On in the following files. Restarted apache but it didn't fix it.
Code: Select all
./etc/php/7.3/cli/php.ini
./etc/php/7.3/fpm/php.ini
./etc/php/7.3/cgi/php.ini

Is that a bug? I would think so because now there are no php.ini options set anywhere!!!
Thanks!