Page 1 of 1

How to make Apache run PHP on Debian

Posted: Tue Aug 23, 2005 11:17 pm
by birdbrain
Thanks b.addis for the advice on using Debian Stable. Installed once I upgraded libgcc1

Next problem is that when I click on the zm directory from a browser I get the download dialog. How do I make apache (not apache2) execute the php scripts?
I tried this

<Directory /var/www/zm>
Options +ExecCGI
</Directory>

but it still shows the download dialog after starting

Using Debian Stable 2.4.24

Re: How to make Apache run PHP on Debian

Posted: Wed Aug 24, 2005 11:25 am
by maximum
if you haven't php4 running this mean that php4 is not installed. i think you need to install:

# apt-get install php4 php4-cgi php4-common php4-gd php4-mysql

ciao,
MaX