The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

PROBLEM!: Apache/PHP and ionCube using the new builds.

Discussion in 'EasyApache' started by LiNUxG0d, Jul 31, 2003.

  1. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Hey all,

    This is more an FYI than anything else.

    Problem:

    I use ionCube Encoder with my PHP to protect our scripts. When using this encoder, you need to enable the loaders so that Apache/PHP can correctly serve the encoded php pages.

    I was reinstalling the ionCube loaders into the new Apache build and noticed that I couldn't restart Apache. Note, that the loaders are as simple as one lign of code:

    zend_extension = /usr/ionCube/ioncube_loader_lin_4.3.so

    Now, I delete this line, Apache starts. I leave it, it won't start...


    Resolution:

    Execute the /scripts/easyapache and choose option 6. once you do that go to the PHP module section, hit enter (which, by the way, isn't THAT obvious... grrrr) and DOWNGRADE your PHP.

    It fixed it for me, and I'll bet it'll fix it for you.

    Have a good one people!

    Jamie

    cPanel.net Support Ticket Number:
     
  2. amard

    amard Well-Known Member

    Joined:
    Jan 18, 2003
    Messages:
    100
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Herts, UK
    Hi,

    You don't need to downgrade, just install the Apache module in the same directory as php.ini and set the user as root.

    Then make sure that the zend_extension line in php.ini for Ioncube is above the existing Zend line. Save it and restart Apache.

    That should sort it all out.

    HTH

    Rob

    cPanel.net Support Ticket Number:
     
  3. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Can you elaborate a bit on what you mean here?

    just install the Apache module in the same directory as php.ini

    What Apache mod?

    cPanel.net Support Ticket Number:
     
  4. LiNUxG0d

    LiNUxG0d Well-Known Member

    Joined:
    Jun 25, 2003
    Messages:
    206
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Gatineau, Quebec, Canada
    Another good question for you...

    How can you be right when the Zend extension's are commented out on a rebuild? Also, how will it work, keeping in mind that the libs aren't in the same directory anymore... they're in /usr/local/Zend/lib/Optimizer-2.1.0/php-x.x.x/

    I've got a shiny penny for the smart person out there. :D

    cPanel.net Support Ticket Number:
     
  5. tAzMaNiAc

    tAzMaNiAc Well-Known Member

    Joined:
    Feb 16, 2003
    Messages:
    559
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    Sachse, TX
    Let's see.

    I have ionCube 4.3 working fine.

    Zend working fine.

    And I've got PHP 4.3.2.

    Brenden

    cPanel.net Support Ticket Number:
     
Loading...

Share This Page