Support » Localhost Installs » PHP code shown only as text

  • Hi WordPress people,

    I’ve installed succesfully MySQL and Apache to my MacBook Pro (I’d like to run WordPress first locally). But there’s obviously something wrong with the PHP settings (or something) because PHP code is shown only as text in web pages. It’s the same with wb-config.php and simple hello world stylish php files.

    I edited the httpd.conf file – deleted the # in front of the line LoadModule php5_module libezec/apache2/libphp5.so. I copied php.ini.default file to php.ini file without making any changes.

    Any ideas how to fix this?

    Thank you for your time and help already in advance!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘PHP code shown only as text’ is closed to new replies.