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

Mark Berkwitt plug-discuss@lists.plug.phoenix.az.us
Mon, 16 Sep 2002 01:19:58 -0700


--------------Boundary-00=_A5VIQCSSZM7M3EDEPLNB
Content-Type: text/plain;
  charset="iso-8859-15"
Content-Transfer-Encoding: quoted-printable

Sorry, Hans, about the delay.  I was getting too mixed up so I just waite=
d=20
until later and reread the entire thread. I attached a text file with the=
=20
output from the grep command. If attached files don't work here, let me k=
now=20
and I'll include it in the body.
As for the locate
locate libphp4.so   ->  /usr/lib/apache/libphp4.so

Please look for a new thread I'll be starting about chkconfig.  I don't=20
understand what it does or what I need it for, that is for this situation=
=2E

Originally, I was interested in having Apache start at boot.




On Sunday 15 September 2002 03:59 pm, der.hans wrote:
> Am 15. Sep, 2002 schw=E4tzte Mark Berkwitt so:
> > #cd /sbin
> > #chkconfig httpd on
> > bash: chkconfig: command not found
>
> Good. If /sbin isn't in your path that shouldn't've worked. './chkconfi=
g'
> from within '/sbin' or '/sbin/chkconfig' from anywhere should.
>
> Are you running these as root? The '#' is normally an indication that
> you're at at root prompt, but there's also usually a space after it to =
make
> everything more readable.
>
> Note: the 'locate' and 'grep' commands don't need to be run as root, bu=
t
> 'chkconfig' does because it's changing a system parameter.
>
> '/sbin' should be in the path for root. When going to a root shell are =
you
> using 'su' or 'su -'?
>
> ciao,
>
> der.hans


--------------Boundary-00=_A5VIQCSSZM7M3EDEPLNB
Content-Type: text/plain;
  charset="iso-8859-15";
  name="grep_results"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment; filename="grep_results"

/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP>
/etc/httpd/conf/httpd.conf:LoadModule php_module         modules/mod_php.so
/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP3>
/etc/httpd/conf/httpd.conf:LoadModule php3_module        modules/libphp3.so
/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP4>
/etc/httpd/conf/httpd.conf:LoadModule php4_module        modules/libphp4.so
/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP>
/etc/httpd/conf/httpd.conf:AddModule mod_php.c
/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP3>
/etc/httpd/conf/httpd.conf:AddModule mod_php3.c
/etc/httpd/conf/httpd.conf:<IfDefine HAVE_PHP4>
/etc/httpd/conf/httpd.conf:AddModule mod_php4.c
/etc/httpd/conf/httpd.conf:# The following is for PHP4 (conficts with PHP/FI, below):
/etc/httpd/conf/httpd.conf:<IfModule mod_php4.c>
/etc/httpd/conf/httpd.conf:  AddType application/x-httpd-php .php4 .php3 .phtml .php
/etc/httpd/conf/httpd.conf:  AddType application/x-httpd-php-source .phps
/etc/httpd/conf/httpd.conf:# The following is for PHP3:
/etc/httpd/conf/httpd.conf:<IfModule mod_php3.c>
/etc/httpd/conf/httpd.conf:  AddType application/x-httpd-php3 .php3
/etc/httpd/conf/httpd.conf:  AddType application/x-httpd-php3-source .phps
/etc/httpd/conf/httpd.conf:# The following is for PHP/FI (PHP2):
/etc/httpd/conf/httpd.conf:<IfModule mod_php.c>
/etc/httpd/conf/httpd.conf:  AddType application/x-httpd-php .phtml
/etc/httpd/conf/httpd.conf:	DirectoryIndex index.php index.html index.htm index.shtml 

--------------Boundary-00=_A5VIQCSSZM7M3EDEPLNB--