2

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?

2
  • 1
    brandnew Mac good..... Commented Oct 26, 2011 at 12:43
  • What's wrong wit a brandnew Mac? Commented Oct 26, 2011 at 12:45

2 Answers 2

1

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.

Sign up to request clarification or add additional context in comments.

7 Comments

Maybe I'll try it, but i still would like to know what I missed during the setup of Apache...
I was considering installing them all manually, then I tried MAMP :)
Do I need to uninstall the previous installations? Or does MAMP overrides them all? Cause I can't launch my MySQL server...
ah - that can happen the first time - go in activity monitor, search mysqld, and kill all the processes called that - once you've done that, it should work
also to access your DB after that go to localhost:8888/phpMyAdmin
|
0

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

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.