httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joseph A Nagy Jr <joseph_a_nagy...@charter.net>
Subject Re: [users@httpd] PHP Problems
Date Wed, 17 Sep 2003 12:26:41 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Tuesday 16 September 2003 23:13, Robert Andersson wrote this in an 
attempt to be witty or informative:
> Joseph A Nagy Jr wrote:
> > > I may be out of touch here, but PHP as input filter??? [...]
> >
> > That was from /etc/httpd/conf.d/php.conf which was installed by
> > mod_php
>
> Ok, although I still cannot understand what PHP would do as input
> filter. AFAIK, input filters are used to filter the incoming request,
> and as mod_php cannot determine whether its actions (whatever that
> is) apply to the resource in this stage, why it does it beats me. Oh
> well...
>
> > I also have regular PHP installed but haven't a clue on how to use
> > it. I was hoping I could use mod_php like one can use mod_perl.
>
> Just LoadModule it, and use the AddType; and it should be it.
>
> > Yes, the file is index.php.
>
> If you access it as http://yourhost/php/index.php, does it work?
>
> If not, try to go back to the basics. Skim PHP's installation
> instructions for Apache (2):
> http://www.php.net/manual/en/install.apache2.php
>
> In short, what to do:
>
> 1)  "LoadModule php4_module pathto/mod_php4.so"

Already loaded, as stated in the message to which you responded.

>
> 2) "AddType application/x-httpd-php .php .phtml"

Also added, convienant how you left out that part. Mozilla now tries to 
download index.php

<snip>
- -- 
Wielder of the mighty +1 LARTsaber of Unsubscribe Instructions At End of
Message, the +3 Clue-by-Four of No Attachments to a Mailing List, and
the -4 Shield of No Spell Checker.
http://joseph-a-nagy-jr.homelinux.org http://mc-luug.homelinux.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQE/aFMGnjt9jEvKYeARAoMuAJ4zC2pLN0iZ4YtrNj685SLE07GECwCeN/3d
qHpISPJCDnM1lyjXEB6ufDI=
=4ZFe
-----END PGP SIGNATURE-----


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message