Ask a Question related to PHP Development, Design and Development.
-
John Nichel #1
Re: [PHP] PHP and mod_perl
Walter Torres wrote:Looks like Apache 2? Not too familiar with that (still using 1.3.x>>>-----Original Message-----
>>From: John Nichel [mailto:jnichel@by-tor.com]
>>Sent: Thursday, July 17, 2003 2:18 PM
>>To: jsWalter
>>Cc: [email]php-general@lists.php.net[/email]
>>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
myself), but it seems to me that SetHandler may be over-riding your
global http/php config.
John Nichel Guest
-
mod_perl and GD
Using: Apache/2.0.48 (Unix) mod_perl/1.99_13-dev Perl/v5.8.3 gd version 2.0.22 GD.pm version 2.12 on Redhat 9: 2.4.20-28.9smp -
mod_perl 1.99 Apache 2.0.48
Hello, I built a sever with apache and perl (cgi), and i used the mod_perl to boost my server, it actually works 4x time faster with mod_perl. ... -
Mod_perl & do()
Hi! I tryed to use do() function in mod_perl 1.27 but as I found out that does not work. For example test.pl: #!/usr/bin/perl my $test = 0;... -
mod_perl: my $var=1 if ...
I'm having trouble understanding something in mod_perl. The sub handler is: sub handler { ...stuff deleted... my $var=1 if... -
PHP and mod_perl
Anyone have any idea why I can't run PHP and mod_perl in the same web structure? I am getting this in my error log... 2508:...



Reply With Quote

