testing php locally [resolved]

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
bobvaz
Forum Newbie
Posts: 6
Joined: Wed Dec 06, 2006 9:19 am

testing php locally [resolved]

Post by bobvaz »

I have php and apache on a local host using it for testing.....however, I am unable to call a php page from an html program - it seems I always have to change the extension from html to php to make it work. Why is this
Last edited by bobvaz on Tue Jan 30, 2007 10:25 am, edited 2 times in total.
User avatar
Kieran Huggins
DevNet Master
Posts: 3635
Joined: Wed Dec 06, 2006 4:14 pm
Location: Toronto, Canada
Contact:

Post by Kieran Huggins »

you need to either edit your apache config file or add as .htaccess file to add the file extensions that php processes.

Search for addType and addHandler, there was a topic about this not long ago.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Is this thread about Unit Testing?
User avatar
Luke
The Ninja Space Mod
Posts: 6424
Joined: Fri Aug 05, 2005 1:53 pm
Location: Paradise, CA

Post by Luke »

bobvaz, I can understand why you would think this is the appropriate place to post this question, but just for your information (not coming down on you or anything), "testing" in this forum is in reference to Unit Testing.

Not a big deal, I just thought you should know. :)
bobvaz
Forum Newbie
Posts: 6
Joined: Wed Dec 06, 2006 9:19 am

Post by bobvaz »

Thanks to all.....I apologize for the error .
Post Reply