addhandle

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
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

addhandle

Post by pinehead18 »

I get php5 all installed. According to sever-info php5 is installed and working.

However, when i go to a .php file or .php file it just displays my <?php text so i know its not running.

So i added this to my apache config file


<IfModule mod_php5.c>
AddHandler application/x-httpd-php .inc .php .php5 .php4 .php3 .phtml
AddHandler application/x-httpd-php-source .phps
</IfModule>

And when i add that the server just starts then breaks.

HELP!

Thanks guys
\
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

We need more information. What do you mean by it "breaks?"
pinehead18
Forum Contributor
Posts: 329
Joined: Thu Jul 31, 2003 9:20 pm

Post by pinehead18 »

The server stops
Can't access webpages etc.
User avatar
superdezign
DevNet Master
Posts: 4135
Joined: Sat Jan 20, 2007 11:06 pm

Post by superdezign »

What version of Apache are you using? Have you followed the installation process for the correct version?
Post Reply