My ISP just tried to install mod_perl for me on an Apache 1.3 instance and he said that when he put mod_perl in, php4 "choked".
I'm trying to get more information off him, but has anyone heard of an incompatibility?
Update: Here is some more information:
What I am trying to do is make a version of apache 1.x with the following modules. It compiles just fine, and everything works except php4, which causes segfaults. As soon as I take out mod_perl, php4 works fine again. Any suggestions?
mod_ssl
mod_frontpage
mod_perl
mod_php4
mod_so
mod_info
mod_status
mod_rewrite
Update 2: There is a known incompatibility due to the way Perl and PHP set environment variables. There is a workaround available:
* Recompile Perl itself with -DPERL_USE_SAFE_PUTENV, then
recompile mod_perl and Apache, in that order.
-OR-
* Replace all PHP calls to putenv() with apache_setenv().
Too quick for you all, but I'll leave this up incase anyone has similiar problems.
-Andrew.
Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
Read Where should I post X? if you're not absolutely sure you're posting in the right place.
Please read these before you post! —
Posts may use any of the Perl Monks Approved HTML tags:
- a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
| |
For: |
|
Use: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.