Re: PHP and mod_perl
| From: | John Nichel | Date: | Thu, 17 Jul 2003 19:44:44 +0000 |
| Subject: | Re: PHP and mod_perl | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-155670@lists.php.net to get a copy of this message | ||
Walter Torres wrote:
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.-----Original Message----- From: John Nichel [mailto:jnichel@by-tor.com] Sent: Thursday, July 17, 2003 2:18 PM To: jsWalter Cc: php-general@lists.php.net Subject: Re: [PHP] PHP and mod_perlLook 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.phpThanks 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