* Anthony Irwin <firstname.lastname@example.org> [20030407 21:13 PDT]: > Hi, > > I know this is an easy question but I haven't been able to get this basic > setup to work, I can do it under redhat but the config files and packages > are different under Debian. > > If anyone can point me to a good Debian specific tutorial or give me some > quick tips then I would be greatful. > > Using 'apt-get install' I have installed php4, php4-cgi, apache and mysql. I > have uncommented the mime handler for php4 in the /etc/apache/httpd.conf > file, but when I try to run a php script in a web browser it asks me where I > want to save the file. > > I am trying to get this to work on both woody and unstable systems any > suggestions would be great. IIRC, following /usr/share/doc/README.Debian.gz has 4 simple steps that should get you up and running with little trouble. I only have apache and php4 installed. I don't think you need php4-cgi. Also, I think Debian's /etc/mime.types has all that's necessary, without needing any extra AddType handlers in httpd.conf; I only have "TypesConfig /etc/mime.types", and no uncommented AddHandler statements related to php. Just make sure you have the LoadModule line uncommented. good times, Vineet -- http://www.doorstop.net/ -- http://www.debian.org/ Set your computer Free.
Description: PGP signature