I need to develop a website for a server that has PHP short tags set to OFF Is it possible to set this option only for one host in MAMP PRO (4)?
Asked
Active
Viewed 457 times
1 Answers
0
I believe that Mamp Pro uses one php.ini
file for all sites but you may be able to work around this by enabling PHP Short Tags via your .htaccess
on a site-by-site basis.

Andrew
- 3,335
- 5
- 36
- 45
-
I had trouble doing this in PHP 7.2 but it works fine in PHP 7.1, it doesn't seem to have been deprecated but perhaps just a bug in Mamp 4.4. – Andrew Feb 09 '18 at 01:26