What's the difference between mod_php4, mod_php, and php?
Mike Starke
plug-discuss@lists.plug.phoenix.az.us
Sun, 15 Sep 2002 18:23:35 -0500
Maybe it's time for a 'find' or 'locate' ?
To answer your other question, on my Debian it yields
the following:
meg:~> grep -i php /etc/apache/*conf
grep: /etc/apache/conf: Is a directory
/etc/apache/httpd.conf:LoadModule php4_module /usr/lib/apache/1.3/libphp4.so
/etc/apache/srm.conf:DirectoryIndex index.html index.php3 index.php
/etc/apache/srm.conf:# For example, the PHP3 module (a separate Debian package)
/etc/apache/srm.conf:#AddType application/x-httpd-php3 .phtml
/etc/apache/srm.conf:#AddType application/x-httpd-php3-source .phps
v/r
Mike
On Sun, Sep 15, 2002 at 04:06:39PM -0700, Mark Berkwitt wrote:
Matt indicates the location of
/etc/httpd/conf
What should
grep -i php /etc/httpd/*conf
actually have done?
Also,
ls -l /etc/apache and
ls -l /etc/httpd
were not found.
On Sunday 15 September 2002 01:58 pm, der.hans wrote:
> Am 15. Sep, 2002 schwätzte Mark Berkwitt so:
> > 'Directory Page Search List' where was listed the following:
> > index.php
> > index.html
> > index.htm
> > index.shtml
> > Hmmm, so I added info.php, saved and tried the browser. Failed. So I
> > restarted apache and it worked.
> > Success is so much more fun. :o)
>
> Actually, please take it back out. The DirectoryIndex directive tells the
> server which file to pull up by default if the browser requests a
> directory. Standard is index.html, but you'll want index.php as well if
> you're doing php stuff. List items in the priority order you want.
>
> In this case info.php is just another page just like fred.html would be. I
> specifically chose something other than index.* to avoid the confusion of
> which comes first in the DirectoryIndex directive.
>
> If we get a grep of your apache config we can probably help you get it
> setup correctly.
>
> In the example below <directory> is the directory in which the file in
> which you changed the DirectoryIndex resides.
>
> grep -i php <directory>/*conf
>
> If you don't know which directory that was ( looks like you used a tool to
> make the change ), then please give us the results of:
>
> ls -l /etc/apache
> ls -l /etc/httpd
>
> Maybe someone who has RH will tell us where to find the conf files for
> apache.
>
> ciao,
>
> der.hans
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us
To subscribe, unsubscribe, or to change you mail settings:
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss