Some days I'm in big trouble with my PHP on OS X 10.8.2 mountain lion. I did a clean installation of the x mountain lion and did all the updates. I'm currently with x 10.8.2. I activated the apache through the terminal (sudo apachectl start), all right and normal. I tested apache (http://localhost/) on my safari browser, appeared its works!. I edited my httpd.conf through the terminal uncomment the line LoadModule php5_module libexec/apache2/libphp5.so to enable PHP. I created the file info.php in my document root (<? Php phpinfo ();?>). My problem is now, when I go through testing in the browser (http://localhost/info.php) appears only the code (<? Php phpinfo ();?>), Ie, is not playing my PHP. I've done several files. Php and only interprets the code in the browser. Already tested on all browsers and also not worked. Please somebody me some solution, I do not know what's going wrong. I thank all who try to solve my problem. Thank you!