Re: Debian 3.1: PHP install strategies



In article <1155813463.417415.43320@xxxxxxxxxxxxxxxxxxxxxxxxxxx>,
<bruce_phipps@xxxxxxxxxxx> wrote:

Edit /etc/apt/sources.list

I have the following in mine:

deb http://www.debian-multimedia.org stable main
deb http://debian.blueyonder.co.uk/ stable main non-free contrib
deb http://security.debian.org/ stable/updates main contrib non-free

Thanks, Gordon. But I am using a dial up modem, so I prefer to download
packages at work, then install from my hard disk at home.

All PHP packages are now installed and apache2 config files edited
appropriately as shown in the PHP online manual.
But when I load a sample .php file into Mozilla it prompts me for an
application to use to open it.
Any ideas on this? I am *nearly* there!

Sure you've got the apache configs setup right?

A grep of one of my httpd.conf files shows:

LoadModule php4_module modules/libphp4.so
DirectoryIndex index.html index.html.var index.htm index.php
AddType application/x-httpd-php .php .phtml

create this as (eg) test.php:

<? phpinfo(); ?>

and if you get that working, the rest will "just work"..

Gordon
.



Relevant Pages

  • Probelms with apt-proxy
    ... deb-src http://localhost:9999/security stable/updates main ... deb http://localhost:9999/main stable main non-free contrib ... deb-src http://localhost:9999/main stable main non-free contrib ... deb http://P-Pro-200:9999/debian-non-US unstable/non-US main contrib non-free ...
    (Debian-User)
  • Re: [kde-linux] Using ctrl-alt-F# keys crashes KDE and X.
    ... deb-src http://ftp.debian.org/debian/ testing main non-free contrib ... deb http://ftp.debian.org/debian/ testing-proposed-updates main non-free contrib ... deb-src http://ftp.debian.org/debian/ testing-proposed-updates main non-free contrib ... deb http://security.debian.org/ stable/updates main contrib non-free ...
    (KDE)
  • Re: Debian 3.1: PHP install strategies
    ... deb http://debian.blueyonder.co.uk/ stable main non-free contrib ... deb http://security.debian.org/ stable/updates main contrib non-free ... All PHP packages are now installed and apache2 config files edited ...
    (uk.comp.os.linux)
  • Re: Newbie Having Much Trouble Getting Deb 2.4.18-bf2.4 To Work
    ... > Strange, I see no attachments in mutt, just see line after line like this... ... # deb http://security.debian.org/ stable/updates main ... deb-src http://ftp.us.debian.org/debian/ stable main non-free contrib ...
    (Debian-User)
  • Re: non-free
    ... deb http://security.debian.org/ stable/updates main contrib ... The reason that i mentioned the non-free part was because i am reading the ...
    (Debian-User)