[prev in list] [next in list] [prev in thread] [next in thread]
List: gentoo-user
Subject: Re: [gentoo-user] mod_php
From: Bill Six <billsix316 () yahoo ! com>
Date: 2004-09-07 16:29:04
Message-ID: 20040907162904.24071.qmail () web90101 ! mail ! scd ! yahoo ! com
[Download RAW message or body]
Hi,
I emerge apache2 and mod_php with USE="apache2" and
added the line to the correct file. I restarted
apache2.
However the file appears in my webbrowser as this:
"<html>
<head>
<title>PHP Test</title>
</head>
<body>
<?php echo '<p>Hello World</p>'; ?>
</body>
</html>
"
Do you know why it wasn't processed? Do php files
have to go into a directory other than htdocs?
Thanks,
Bill
--- Mike Williams <mike@gaima.co.uk> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On Monday 06 September 2004 21:39, Bill Six wrote:
> > Hi,
> >
> > I'm new to Gentoo. I emerged and got apache1.3 up
> and
> > running. I'd like to use mod_php.
> >
> > I've emerged it, however it doesn't seem to be
> working
> > (the php is not being processed).
> >
> > How would you install mod_php?
>
> Add "-D PHP4" to APACHE_OPTS in /etc/conf.d/apache,
> and restart apache.
>
> APACHE_OPTS may be named slightly differently, I use
> apache2 everywhere, and
> it's variable is named APACHE2_OPTS.
>
> - --
> Mike Williams
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.2.4 (GNU/Linux)
>
>
iD8DBQFBPMwhInuLMrk7bIwRAol6AJ0ecTVT8crzNuacLoH47DDGjc7msACeKqD7
> /9hEzmdzIHpb0esS6F96yP0=
> =zbKe
> -----END PGP SIGNATURE-----
>
> --
> gentoo-user@gentoo.org mailing list
>
>
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
gentoo-user@gentoo.org mailing list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic