M
M
mbhusty2021-06-15 10:11:16
PHP
mbhusty, 2021-06-15 10:11:16

PHP not working in MAMP PRO. How to setup?

Updated to version 6.3.1 from 5.7. In the previous one, everything worked ok on all versions of php, but after the update, projects start only on 5.6, nothing further.
Decided to check something. I created a test host and added an entry to index.php there. I get an empty page in the layout of which . But if you write then everything works, but as you understand, this is not a solution to the problem. Tell me where to dig?
<?echo phpinfo();?>
<!--?echo phpinfo();?-->

<?php echo phpinfo();?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Eugene, 2021-06-15
@mbhusty

In the php settings of the selected version, enable the short_open_tag option

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question