You have the CLI interface to php and it obviously works. You uncommented the appropriate lines in the httpd.conf file, apparently ... did you test your Apache configuration?
[me@host]$ apachectl configtest
Assuming that works, try restarting Apache:
[me@host]$ apachectl graceful
If you still have problems after doing this, post back here.