What's the difference between mod_php4, mod_php, and php?
Mark Berkwitt
plug-discuss@lists.plug.phoenix.az.us
Sun, 15 Sep 2002 10:23:05 -0700
Oops. There is no file index.php. I was looking into index.html, which if fed
into the browser via 127.0.0.1/index.html generates the same error message.
On Sunday 15 September 2002 10:07 am, Mark Berkwitt wrote:
> First, I tried using 127.0.0.1/index.php in the browser and I received the
> following error:
> An error occured while loading http://127.0.0.1/index.php:
>
> Could not connect to host 127.0.0.1
>
> I suppose I should note that I have k12LTSP (Redhat) installed with 2 nics
> where one goes to my cable modem and the other is set to a local 192. etc,
> should this matter, which I doubt.
>
> I've scanned the file /var/www/html/index.php as you suggested and I don't
> see the entry 'phpinfo()'. I thought since I had checked the entry to
> install 'server' packages that apache would be running.
> Is there a test to see if apache is running, let alone if it's running with
> php support?
>
> On Sunday 15 September 2002 08:10 am, Kevin Brown wrote:
> > 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:
> >
> > In your web root folder (most likely /var/www/html for RH7.3)
> > vi index.php
> > <? phpinfo() ?>
> >
> > Now if apache is running then point your browser to the machine
> >
> > 127.0.0.1/index.php
> >
> > and see what comes up.
> >
> > > What's the difference between mod_php4, mod_php, and php packages?
> > > As directed on page 30 of 'Beginning PHP4' I ran $rpm -q mod_php4 to
> > > which I was told 'no such package installed. I do, however, have
> > > php-4.1.2-7 installed.
> > > Do I still need mod_php4? I found it at rpmfind.net. In fact I found
> > > all three above 'variations' of php-- php, mod_php and mod_php4.
> > > I wish I knew what each was used for to understand what I still need to
> > > install.
> >
> > -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
> > 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