Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

follow-up to thread 434-1500391, PHP on OS X

Status
Not open for further replies.

KarlHanzel

IS-IT--Management
Mar 29, 2009
1
US
In the referenced thread (now closed, otherwise i'd just add to it), jpadie suggests:

"it sounds like you have not added a php handler to your httpd.conf file"

And indeed, i found this to be the problem. But what's a "handler"?...

Not an apache2 expert, i found that what was needed to get the PHP code to execute on the server (rather than be just lamely passed for display in the browser), was to add the following line to my httpd.conf file:

AddHandler php5-script .php

Now, back to learning more about PHP. :^)


pax,
Karl
*----->
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top