httpd not loading php?
[lazarus:/usr/local] root# php -v
PHP 4.4.4 (cli) (built: Jan 19 2007 19:18:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
[lazarus:/usr/local] root# httpd -V
Server version: Apache/1.3.33 (Darwin)
Server built: Mar 20 2005 15:08:27
Server's Module Magic Number: 19990320:16
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D USE MMAPSCOREBOARD
-D USE MMAPFILES
-D HAVE FCNTL_SERIALIZEDACCEPT
-D HAVE FLOCK_SERIALIZEDACCEPT
-D SINGLE LISTEN_UNSERIALIZEDACCEPT
-D DYNAMIC MODULELIMIT=64
-D HARD SERVERLIMIT=2048
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT ERRORLOG="/var/log/httpd/errorlog"
-D TYPES CONFIGFILE="/etc/httpd/mime.types"
-D SERVER CONFIGFILE="/etc/httpd/httpd.conf"
-D ACCESS CONFIGFILE="/etc/httpd/access.conf"
-D RESOURCE CONFIGFILE="/etc/httpd/srm.conf"
[lazarus:/usr/local] root# httpd -L | grep php
[[nothing]]
[lazarus:/usr/local] root# cat /etc/httpd/httpd.conf | grep php
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
<IfModule mod_php4.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# Since most users will want index.php to work we
# also automatically enable index.php
DirectoryIndex index.html index.php
[[So, it's not commented out, and not fighting with PHP5.]]
What am I missing?
dafydd
PHP 4.4.4 (cli) (built: Jan 19 2007 19:18:59)
Copyright (c) 1997-2006 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
[lazarus:/usr/local] root# httpd -V
Server version: Apache/1.3.33 (Darwin)
Server built: Mar 20 2005 15:08:27
Server's Module Magic Number: 19990320:16
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D USE MMAPSCOREBOARD
-D USE MMAPFILES
-D HAVE FCNTL_SERIALIZEDACCEPT
-D HAVE FLOCK_SERIALIZEDACCEPT
-D SINGLE LISTEN_UNSERIALIZEDACCEPT
-D DYNAMIC MODULELIMIT=64
-D HARD SERVERLIMIT=2048
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/sbin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="/var/run/httpd.scoreboard"
-D DEFAULT_LOCKFILE="/var/run/httpd.lock"
-D DEFAULT ERRORLOG="/var/log/httpd/errorlog"
-D TYPES CONFIGFILE="/etc/httpd/mime.types"
-D SERVER CONFIGFILE="/etc/httpd/httpd.conf"
-D ACCESS CONFIGFILE="/etc/httpd/access.conf"
-D RESOURCE CONFIGFILE="/etc/httpd/srm.conf"
[lazarus:/usr/local] root# httpd -L | grep php
[[nothing]]
[lazarus:/usr/local] root# cat /etc/httpd/httpd.conf | grep php
LoadModule php4_module libexec/httpd/libphp4.so
AddModule mod_php4.c
<IfModule mod_php4.c>
# If php is turned on, we repsect .php and .phps files.
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
# Since most users will want index.php to work we
# also automatically enable index.php
DirectoryIndex index.html index.php
[[So, it's not commented out, and not fighting with PHP5.]]
What am I missing?
dafydd
Powerbook G4, Mac OS X (10.4.10)