Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > HOWTO-Related Questions

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Thread Tools Display Modes
Old 28th March 2006, 17:31
chazaq chazaq is offline
Junior Member
Join Date: Mar 2006
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Apache2 with PHP4 and PHP5 on Debian Sarge

I am building a web server on which I want php to be able to send email to clients.
I installed Debian Sarge (netinstall cd) with Apache2 and followed your instructions (FalkoTimme's) on inserting php4 and php5.
However when I add the following to the apache2-default.conf
apache will not restart.
AddHandler php-script .php4
Action php-script /cgi-bin/php4
If I comment these lines out Apache restarts okay.

FYI- I am a Debian newbie.
Reply With Quote
Sponsored Links
Old 28th March 2006, 20:42
falko falko is offline
Super Moderator
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,752 Times in 2,582 Posts

What's in the Apache error log?
Did you follow the tutorial as close as possible, or did you do some modifications?
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
php5 and php4 at the same time Hans Installation/Configuration 15 22nd October 2008 14:02
How to upgrade PHP4 to PHP5 Jeroen Server Operation 14 10th November 2006 17:54
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
php5 on debian sarge (stable) ruskicar Installation/Configuration 5 16th February 2006 04:06

All times are GMT +2. The time now is 14:58.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.