The two most common mistakes are changing the value inside the commented section (lines starting with ; are not executed) and changing the wrong configuration.
In /etc/php/VERSION/ you will find multiple folders, such as cli, mods-available, apache, etc. based on your server set up. For instance, if you want to change the config for the PHP module used by Apache, you should go to /etc/php/VERSION/apache/php.ini.
People often modify the config in the cli folder by mistake as multiple online tutorials suggest the command php -i | grep "Loaded Configuration File" to find your php.ini file, however, this command will often direct you to the cli config.
When using Apache, you will also have to run sudo systemctl reload apache2 (for Debian-based distributions) to enable the changes.
<?=$someVar; ?>(as replace for<?php echo) should work regardless of the settingshort_open_tagin PHP 5.4. Anything other you want to do with short tags isn't recommended, strongly!Then I instaled wamp 2.2 with php 5.4php.inifile.short_open_tag = Offbelow theshort_open_tag = On.