Re: Debian 3.1: PHP install strategies
- From: gordon@xxxxxxxxxxxxxxx (Gordon Henderson)
- Date: Thu, 17 Aug 2006 14:57:04 +0000 (UTC)
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
.
- References:
- Debian 3.1: PHP install strategies
- From: bruce_phipps
- Re: Debian 3.1: PHP install strategies
- From: bruce_phipps
- Re: Debian 3.1: PHP install strategies
- From: Gordon Henderson
- Re: Debian 3.1: PHP install strategies
- From: bruce_phipps
- Debian 3.1: PHP install strategies
- Prev by Date: Re: Debian 3.1: PHP install strategies
- Next by Date: Re: Cups pauses after app. 6 jobs
- Previous by thread: Re: Debian 3.1: PHP install strategies
- Next by thread: Re: Debian 3.1: PHP install strategies
- Index(es):
Relevant Pages
|
|