|
Posted by Evan Platt on 03/23/07 19:49
Hopefully someone here can help.. Not sure if this is a PHP or a
apache issue... This is a OS/X box.
So I had everything up and running.. Then I had a issue with PHP, so
reinstalled PHP from source. AFAICT, PHP is running fine.
# php -v
PHP 5.2.2-dev (cli) (built: Mar 21 2007 10:20:00)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
# apachectl -v
Server version: Apache/2.2.4 (Unix)
Server built: Mar 14 2007 13:39:49
in my httpd.conf
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
AddHandler php-script php
AddType text/html php
and two lines:
LoadModule php4_module modules/libphp4.so
LoadModule php5_module modules/libphp5.so
If I leave them both uncommented, it works. If I comment out 4 and
just leave 5 in, php files display as text.
# ls -al /Library/Apache2/modules/libphp5.so
14544 -rwxr-xr-x 1 root admin 14892824 Mar 21 10:21
/Library/Apache2/modules/libphp5.so*
What am I doing wrong?
Thanks.
Evan
Navigation:
[Reply to this message]
|