On Wed, 23 Mar 2005 09:58:09 -0500, Chris Winters <chris@xxxxxxxxxxxx> wrote:
> * Richard Hubbell (richard.hubbell@xxxxxxxxx) [050322 18:18]:
> > Using a mod_perl server (no proxy) with OI and when I enable the
> > Include /oi/website/httpd_modperl_solo.conf and restart the server
> > I lose php.
> >
> > From the apache/conf/error_log file:
> > (using Include /oi/website/httpd_modperl_solo.conf )
> >
> > Apache/1.3.31 (Unix) mod_perl/1.29 configured -- resuming normal operations
> >
> > (not using Include /oi/website/httpd_modperl_solo.conf )
> >
> > Apache/1.3.31 (Unix) mod_perl/1.29 PHP/4.3.8 configured -- resuming
> > normal operations
> >
> > What's going on here?
>
> I've never seen this before. Does PHP actually not work after you've
> brought in mod_perl functionality? (I'm not sure of the relationship
PHP and mod_perl worked fine until I
Include httpd_modperl_solo.conf
I found a solution but have run into another problem (see below).
The solution was to do this: ( load php after include )
apache/conf/httpd.conf:
Include /oi/website/conf/httpd_modperl_solo.conf
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php .phtml .php3 .html .htm
AddType application/x-httpd-php-source .phps
> between being advertised in the server-info line and actually
> working...)
lsof shows me that the php .so was loaded but php was not
working.
>
> The next thing to do is whittle it down to the simplest case. What if
> you comment out the OI2 stuff (the PerlRequire and pointer to
> Apache::OpenInteract2) and make a super-simple mod-perl handler. Does
> the same result occur?
See above.
The other problem I see now is that if I go to "System Documentation" page
and click on "View OpenInteract Documentation" it wants to save the index.html
as a file (it opens the save file as dialog box in my browser).
Thanks.
Richard
>
> If so, I'd ping the mod_perl mailing list for help:
>
> http://perl.apache.org/maillist/modperl.html
>
> Chris
>
> --
> Chris Winters (http://www.cwinters.com)
> Building enterprise-capable snack solutions since 1988
>
-------------------------------------------------------
This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005
Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows
Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register
by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click
|