# Apache Setup

**URL:** <https://forum.kirupa.com/t/apache-setup/168269>\
**Category:** programming\
**Created:** [November 5, 2005, 6:30pm UTC](https://forum.kirupa.com/t/apache-setup/168269 "2005-11-05T18:30:59Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amirag](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/amirag/32/872_2.png) [@amirag](https://forum.kirupa.com/u/amirag)\
**Post date:** [November 5, 2005, 6:30pm UTC](https://forum.kirupa.com/t/apache-setup/168269/1 "2005-11-05T18:30:59Z")

</div>

[left][font=Tahoma][size=3]Hi everybody,[/size][/font][/left]

[font=Tahoma][size=3]I want to ask about Apache install for PHP…[/size][/font]

[font=Tahoma][size=3]Every time I add the following lines, the apache stops working[/size][/font]

[font=Courier New]LoadModule php4\_module c:/php/sapi/php4apache.dll[/font]

[font=Courier New]AddModule mod\_php4.c[/font]

[font=Courier New]AddType application/x-httpd-php .php[/font]

[font=Tahoma][size=3]Where exactly should I put these lines in the Httpd file???[/size][/font]

[font=Tahoma][size=3]I have Apache version 2 and PHP version 4.2.1[/size][/font]

[font=Tahoma][size=3]Thank You[/size][/font]
