Walter Torres wrote:
-----Original Message-----
From: John Nichel [mailto:[EMAIL PROTECTED]
Sent: Thursday, July 17, 2003 2:18 PM
To: jsWalter
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP and mod_perl


Look in your Apache configuration. Are you telling it to process *.php files as PHP? I seriously doubt this is a mod_perl issue....I've been using them together for quite some time.

http://www.by-tor.com/phpinfo.php



Thanks for the reply!


This is from my php.conf...

   Action application/x-httpd-php "/etc/php/php.exe"
   ScriptAlias /php/ "/etc/php/"

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

DirectoryIndex index.php


This is from my mod_perl.conf...


   LoadModule perl_module modules/mod_perl.so
   PerlRequire "./conf.d/mod_perl.pl"

DirectoryIndex index.pl


This is from my test_site.conf...


   # Turn on mod_perl
   <Location />
      SetHandler perl-script
      PerlResponseHandler ModPerl::Registry
      Options +ExecCGI
      PerlOptions +ParseHeaders
   </Location>

Just thought I'd send you this as I read your page from your link.

Thanks

Walter

Looks like Apache 2? Not too familiar with that (still using 1.3.x myself), but it seems to me that SetHandler may be over-riding your global http/php config.



-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to