Default short_open_tag = Off in php.ini settings on site creation

Hi,

Is there a way to define default php.ini settings for new sites? short_open_tag = On is the default setting and I need it be set to Off.

Thanks,

Gareth

  1. Ensure the local website is stopped.
  2. Click “Site Folder” link and it should open the file manager application.

  1. Navigate the folders to find the /conf/php/php.ini.hbs file.

  1. Use a text editor application to change the short_open_tag parameter value and save the change.

  1. Go back to LocalWP application.
  2. Click the [Start Site] link in the top-right corner.
  3. Click the “Details” link to open the /local-phpinfo.php page in the web browser for the local website.

  1. Scroll down to the short_open_tag parameter and confirm the new value is working as expected.

image

  1. Done.