Im using Debian testing, i have installed php-cli and when i try to execute a php script it output the source instead of executing it.
Example:
 php test.php
 <?
 phpinfo();
 ?>
any ideas how to fix this behavior, i tried reinstalling and purging no results.
Find following line in your php.ini file: short_open_tag = Off
And change it to: short_open_tag = On
Change <? to <?php. Short tags must not be enabled.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With