What's the difference between mod_php4, mod_php, and php?

Mark Berkwitt plug-discuss@lists.plug.phoenix.az.us
Sun, 15 Sep 2002 13:19:51 -0700


Interesting... I removed it as you suggested, restarted the server and I was 
still able to display info.php.

On Sunday 15 September 2002 12:55 pm, Mike Starke wrote:
> There should be no need to add 'info.php' to the Directory Page Search
> list. I would remove.
>
>
> On Sun, Sep 15, 2002 at 12:43:53PM -0700, Mark Berkwitt wrote:
>  Hans,
>  #locate libphp4.so ->  /usr/lib/apache/libphp4.so
>  #grep -i php /etc/apache/*.conf  ->  No such file or dir
>  #ls -l /var/www/html/info.php   ->   No such...
>  #echo ...
>  #ls   from /html/ directory shows info.php now exists.
>  However it won't display on Konqueror. Now it just so happens I was going
>  through 'Apache Configurator' when your email arrived and had noticed a
>  '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)
>
>  Thanks.
>
>  On Sunday 15 September 2002 11:44 am, der.hans wrote:
>  > Am 15. Sep, 2002 schwätzte Kevin Brown so:
>  > > What distro are you running?  RedHat hasn't had a mod_php module since
>  > > RH5.2. PHP 4.1.2 is PHP4.  To see if it is working with your apache
>  > > server:
>  >
>  > OK, how that we know that the php package provides what you need, let's
>  > see if you've got the parts.
>  >
>  > Send us the results of these two commands:
>  >
>  > locate libphp4.so
>  > grep -i php /etc/apache/*.conf
>  >
>  >
>  > Someone please correct those for Red Hat if they should be different.
>  >
>  > Mark, rather than /etc/apache it might be /etc/httpd and there might be
>  > an extra conf in that path, e.g. /etc/httpd/*.conf,
>  > /etc/apache/conf/*.conf or /etc/httpd/conf/*.conf
>  >
>  > > In your web root folder (most likely /var/www/html for RH7.3)
>  > > vi index.php
>  > > <? phpinfo() ?>
>  >
>  > An easier way is to use echo in this case. Make sure the file doesn't
>  > exist via ls.
>  >
>  > ls -l /var/www/html/info.php
>  > echo '<? phpinfo() ?>' > /var/www/html/info.php
>  >
>  > Now try to open the file with a web browser on that machine.
>  >
>  > http://127.0.0.1/info.php
>  >
>  > 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
> -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> 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