Update:
My problem was with httpd.conf after all, not php.ini
. I was missing the following:
<FilesMatch \.php$> SetHandler application/x-httpd-php </FilesMatch>
http://wiki.apache.org/httpd/PHPDownload
(check other answers below too)
Original Question I'd like a way to test my php.ini file, because my server c开发者_如何学Gourrently cannot parse .php files. I'm having problems with my MimeTypes for PHP and I don't see any errors when I restart HTTPD.
If apache (or what web server you use) does not pass the control to the php - then you forgot to add AddType application/x-httpd-php .php
into your httpd.conf
精彩评论