Menu

PHP 4.2.1

Help
2002-05-31
2002-06-24
  • Dominique Stender

    Hey folx,

    I've just tried to install microcode 0.96 on Redhat 7.1, PHP 4.2.1 with mcrypt 2.5.0 and it doesn't work.

    The encoder and stuff seems to work just fine and compiling the decoder on a blank PHP --with-microcode-shared --with-apxs=/path/to/apxs
    as suggested in the manual resulted in the promised microcode.so.

    I moved the .so file in PHP's extension dir and even added symlinks to /usr/local/lib and the like.

    In php.ini I added the line extension=microcode.so with varying information (with path, without path, with "", without "", ...).

    No matter what I do, PHP complains about function databay_microcode_include() not being defined. The microcode extension does NOT appear in the output from phpinfo();

    However when I add dl("microcode.so"); to my script the error disappears. Unfortunatelly the page does not generate any output at all, resulting in "Document contained 0 Bytes" in Netscape and and nice 404 Error in MSIE.
    The plaintext include file that I encrypted does contain nothing but phpinfo();. No PHP tags, no nothing. I even used the purify program but to no effect.

    Another thing: I tried installing the Zend Optimizer (v1.3.1 I think) as well. The appropriate lines are added to the php.ini but the extension does not appear in the output of phpinfo(); as well. Maybe this gives you a hint...

    Thanks in advance,

    Dominique

     
    • Dominique Stender

      Problem is solved, the 0.97 version works.
      Note: I configure'd PHP --with-microcode=shared, but I skipped apxs and it's still working when I use the dl(); method.

      Extending microcode through the php.ini does not work of course :)

      Keep up the good work!

      Dominique

       
    • Nobody/Anonymous

      I don't know what to do! I have PHP 4.2.1 with Apache 2.0.36. I compiled microcode with and without apxs. With it says it cannot open my encoded file and without my page is just not loading. Please help me! I cannot afford to pay for a commercial application that does theoreticly the same thing.

      Bogdan Albei,
      bogdan@e-technics.com

       
    • Dominique Stender

      PHP is not really supporting Apache 2.x yet. Status is labelled "experimental support" so I'd suggest you downgrade Apache to 1.3.26 until the v2 branch is completely tested and supported by PHP.

      Note that this might not solve your problem with microcode, but it _will_ for sure get a lot of potential errors out of the way.

      Greets,

      Dominique

       

Log in to post a comment.

MongoDB Logo MongoDB