apache 2.2.4/php 5.0.2
[Thu Jan 25 16:51:11 2007] [notice] Apache/2.2.4 (Unix) PHP/5.2.0
configured -- resuming normal operations
[Thu Jan 25 16:51:11 2007] [info] Server built: Jan 24 2007 17:14:05
[Thu Jan 25 16:51:11 2007] [debug] worker.c(1740): AcceptMutex: sysvsem
(default: sysvsem)
I can't get this apache to so much as respect the DocumentRoot I set for
it. The goal is to run amavis-stats on this box so I nee to make the
below alias work:
Alias /amavis-stats/ "/usr/local/share/amavis-stats/"
<Directory /usr/local/share/amavis-stats/>
Options +FollowSymLinks
AllowOverride None
order allow,deny
allow from all
<IfModule mod_expires.c>
ExpiresByType image/png M60
</IfModule>
</Directory>
Here are all the lines in httpd.conf containing string: php
------------------------------------------------------------------------------
LoadModule php5_module /usr/local/apache/modules/libphp5.so
#AddHandler php5-script php
# Add index.php to your DirectoryIndex line:
#DirectoryIndex index.html index.php
#AddType text/html php
#AddType application/x-httpd-php-source phps
<IfModule mod_php3.c>
<IfModule mod_php5.c>
DirectoryIndex index.php index.php3 index.html
<IfModule !mod_php4.c>
DirectoryIndex index.php3 index.html
<IfModule !mod_php3.c>
<IfModule
mod_php5.c>
DirectoryIndex
index.php
index.html
index.htm
<IfModule
!mod_php4.c>
DirectoryIndex index.html index.php
AddHandler cgi-script .cgi .php
I can't even get phpinfo.php to display my build of php.
Not sure where to begin.
apachectl -t spews an error if the below is enabled:
AddType application/x-httpd-php-source phps
--
No folly is more costly than the folly of intolerant idealism.
-- Winston Churchill
Reply to: