i'm not a mac guy so this may be done by the php install, ...but are the
other two lines in httpd.conf.  The loadModule and AddModule lines?

LoadModule php4_module        libexec/libphp4.so

AddModule mod_php4.c

hth,
jeff


                                                                                       
                                                
                      Ken Tozier                                                       
                                                
                      <[EMAIL PROTECTED]        To:       [EMAIL PROTECTED]            
                                         
                      t.net>                   cc:                                     
                                                
                                               Subject:  [PHP-INSTALL] PHP on clean OS 
X Panther install doesn't work                  
                      11/02/2003 04:30                                                 
                                                
                      PM                                                               
                                                
                                                                                       
                                                
                                                                                       
                                                




I just did a clean install of OS X Panther, turned on personal web
sharing, created a test file named "test.php" with the contents "<?php
phpinfo() ?>" and placed copies in both my "Sites" and
"WebServer/Documents" folder, launched a browser and tried to open the
test file, no luck. All I'm getting is a page that contains the string
"<?php phpinfo() ?>". It's not running PHP.

I'm sure I'm missing something, but since PHP is included in the
Panther install, I'm assuming that it should be ready to go, correct?
Are additional steps required to get PHP running? The relevant lines of
the httpd.conf file seem to be uncommented:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

Anyone had any luck getting PHP working on Panther?

Thanks,

Ken Tozier

Reply via email to