Hi all,

Is anything special required to compile PHP::Interpreter - say PHP compiled with specific settings? I just configure then compiled PHP v5.1.6 with the following options:

./configure --enable-embed --with-mysql --with-apxs=/usr/local/apache/ +bin/apxs
Yet I can't get PHP::Interpreter to compile. During "make test" I get
make test PERL_DL_NONLAZY=1 /usr/local/bin/perl "-MExtUtils::Command::MM" "-e" " +test_harness(0, 'blib/lib', 'blib/arch')" t/*.t t/1....................NOK 1 # Failed test 'use PHP::Interpreter;' # in t/1.t at line 6. # Tried to use 'PHP::Interpreter'. # Error: Can't load '/usr/local/downloads/PHP-Interpreter-1.0.1/b +lib/arch/auto/PHP/Interpreter/Interpreter.so' for module PHP::Interpr +eter: /usr/local/lib/libphp5.so: undefined symbol: ap_rwrite at /usr/ +local/lib/perl5/5.8.7/i686-linux/DynaLoader.pm line 230. # at (eval 3) line 2 # Compilation failed in require at (eval 3) line 2. # BEGIN failed--compilation aborted at t/1.t line 6.

similar errors follow

I'm not a C programmer and don't know even where to start looking at this. Any advice appreciated


In reply to Problems installing PHP::Interpreter by astroboy

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • 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:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.