Michiel
Michiel

Reputation: 8103

Apache doesn't recognize PHP using a Mac

Today, I installed PHP, MySQL and Apache on my brandnew Mac, but for some reason Apache doesn't recognize the PHP extension... I followed this tutorial (just like last time) and for some reason the phpinfo.php file is showing nothing more then this:

<?php 
     phpinfo();
?>

What setting or configuration did I miss?

Upvotes: 2

Views: 676

Answers (2)

JeremyP
JeremyP

Reputation: 86691

Check your httpd.conf. You might find that the PHP module load command is commented out.

Upvotes: 0

Alex Coplan
Alex Coplan

Reputation: 13371

Why not use MAMP?

It installs all of them for you, it's free, and you simply have to open an app to launch both the MySQL and Apache severs.

Upvotes: 1

Related Questions