# PHP.ini file access

**URL:** <https://forums.interworx.com/t/php-ini-file-access/22289>\
**Category:** General Discussion\
**Created:** [September 20, 2021, 12:22am UTC](https://forums.interworx.com/t/php-ini-file-access/22289 "2021-09-20T00:22:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mj2324](https://forums.interworx.com/letter_avatar_proxy/v4/letter/m/6a8cbe/32.png) [@Mj2324](https://forums.interworx.com/u/Mj2324)\
**Post date:** [September 20, 2021, 12:22am UTC](https://forums.interworx.com/t/php-ini-file-access/22289/1 "2021-09-20T00:22:04Z")

</div>

How do I set **short\_open\_tag on** in the php.ini file and restart apache server. I’ve tried SSH but doesn’t seem to get to php.ini via the terminal.

When trying to SSH into terminal steps:

1. ssh root@xx.xxx.xx.xxx
2. Password  
3.[server.example xxx] #

What would I do next?

Thank you in advance

---

<div class="post-metadata">

**Author:** ![d2d4j](https://forums.interworx.com/user_avatar/forums.interworx.com/d2d4j/32/16_2.png) [@d2d4j](https://forums.interworx.com/u/d2d4j)\
**Post date:** [September 20, 2021, 8:10am UTC](https://forums.interworx.com/t/php-ini-file-access/22289/2 "2021-09-20T08:10:47Z")

</div>

Hi

Welcome to IW forums

You could search the forums for your answer but to save you time, please see this post, which shows the position of the php.ini files you may want to change, as you have not stated which PHP version you are looking to change

You simple then edit using vim or any text editor the correct php.ini file and locate the short\_open\_tag and change it to on from off

save and restart php packages (probably best to restart from within nodeworx, system services, web server, restart all php-fpm packages)

If you are not sure about php.ini, please do not change any settings as you could stop or weaken things

Many thanks

John

[Activate PHP extensions - General Interworx Control Panel Info / General Inquries - Interworx Forum](https://forums.interworx.com/t/activate-php-extensions/20644/4)

---

<div class="post-metadata">

**Author:** ![Mj2324](https://forums.interworx.com/letter_avatar_proxy/v4/letter/m/6a8cbe/32.png) [@Mj2324](https://forums.interworx.com/u/Mj2324)\
**Post date:** [October 5, 2021, 11:54pm UTC](https://forums.interworx.com/t/php-ini-file-access/22289/3 "2021-10-05T23:54:37Z")

</div>

Thanks for this thought I responded.
