Re: PHP setup with apache
In a galaxy not too far away, John Griffiths spoke on Wed, Nov 15, 2000 at 09:07:10AM +1100:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> Hello all.
> I'm trying to get a Linux Apache Mysql Php (LAMP) setup going on a
> machine on my home network.
> running a potato base install i've happily got Apache and Mysql
> apt-get'ed and running fine.
> apt-get install php4
> runs away and does its stuff and tells me its happy and runs
> the problem is (i think) that its not putting the apache php module
> into /usr/lib/apache (i think i sadly don't have the bits to hand)
> and so apacheconfig isn't finding it and is taking it out of the
> httpd.conf (correctly)
> is there something else i should be getting/doing?
there should be a line in your /etc/apache/httpd.conf:
LoadModule php3_module /usr/lib/apache/1.3/libphp3.so
and in your /etc/apache/srm.conf:
AddType application/x-httpd-php3 .php3
(as you see, i'm using php3, you will have to substitute your values for
are these lines there? what does not work? can you post some
error messages/a description of what fails?
> any help will be appreciated.
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 7.0
> -----END PGP SIGNATURE-----
> Unsubscribe? mail -s unsubscribe firstname.lastname@example.org < /dev/null