Did you restart Apache afterwards? Did you wait for the restart window to expire (seconds between restarts)? Else the changes are not applied.
The check, that OS vendor PHP is activate:
Tools & Settings > General > PHP
Make sure that the OS vendor PHP is activated (green dot).
Simple other test: If you can open webmail, e.g. Roundcube, the default page in .php should normally work, too.