I updated ports and system the other day and now I can't get PHP working at all.
[cmd=]<? echo phpinfo(); ?>[/cmd] gives no output (blank screen). Any plain HTML file in that directory works fine.
I've got this in php.conf:
I've got this in httpd.conf:
It seemed to be working ok even after the update, but when I restarted Apache, that's when it stopped working.
[cmd=]<? echo phpinfo(); ?>[/cmd] gives no output (blank screen). Any plain HTML file in that directory works fine.
I've got this in php.conf:
Code:
# more php.conf
PHP_VER=5
PHP_VERSION=5.4.4
PHP_SAPI=cli cgi mod
PHP_EXT_INC=pcre spl
I've got this in httpd.conf:
Code:
LoadModule php5_module libexec/apache22/libphp5.so
<IfModule mod_php5.c>
DirectoryIndex index.php index.html
</IfModule>
<IfModule mod_php5.c>
AddType application/x-httpd-php .php .html
AddType application/x-httpd-php-source .phps
</IfModule>
It seemed to be working ok even after the update, but when I restarted Apache, that's when it stopped working.