WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: httpd is not running with apache2-mod-php5  (Read 2812 times)

Offline pbe

  • Newbie
  • *
  • Posts: 5
httpd is not running with apache2-mod-php5
« on: January 12, 2011, 12:01:03 PM »

I am using apache2.tcz.
httpd starts and it is running – no problems.

After I installed apache2-mod-php5.tcz version 5.3.5 httpd is not running after start.   
Are there any additional extensions necessary for apache-mod-php5.tcz?

Offline TaoTePuh

  • Full Member
  • ***
  • Posts: 172
Re: httpd is not running with apache2-mod-php5
« Reply #1 on: January 12, 2011, 12:31:23 PM »
I had to edit httpd.conf for php :

Code: [Select]
<IfModule php5_module>
        AddType application/x-httpd-php .php
</IfModule>

Offline pbe

  • Newbie
  • *
  • Posts: 5
Re: httpd is not running with apache2-mod-php5
« Reply #2 on: January 12, 2011, 12:58:57 PM »
This is for earlier versions see change-log

2010/09/14 PHP module is automatically added to Apache by mod_php5.conf file.

appache2-mode-php5 adds automatically "Include conf/php5/mod_php5.conf" to httpd.conf

Offline pbe

  • Newbie
  • *
  • Posts: 5
Re: httpd is not running with apache2-mod-php5
« Reply #3 on: January 13, 2011, 10:40:46 AM »
solved
after a complete new installation httpd is running