I have installed php many times and thought I understood what was required to display phpinfo(), but for some reason I just get '<?php phpinfo(); ?>' shown in my browser. I deleted all pkgs and started from scratch, installing only apache24, php56 and mod_php56 and adding a php.conf in apache's Include directory which simply contains
I'm sure I only needed to do this in the past to get phpinfo() working but I'm obviously missing something...
Code:
<FilesMatch "\.php$">
SetHandler application/x-httpd-php
</FilesMatch>
<FilesMatch "\.phps$">
SetHandler application/x-httpd-php-source
</FilesMatch>
I'm sure I only needed to do this in the past to get phpinfo() working but I'm obviously missing something...