Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Member
    Join Date
    Jan 2011
    Posts
    5

    Default PHP 5.3.4 and SourceGuardian 8.2

    I have a new client on my server which I want to encode his script with sourceguardian. The encoder reports no errors.

    Then, I have just re-compiled apache and php (using easyapache, got Apache 2.2.17, PHP 5.3.4) and added the SourceGuardian module (version 8.2, same as my encoder).

    Now, the problem is:
    When I call a script that is encoded directly (say index.php file), it gives me a 500 error - logs just stats "Premature end of script headers: index.php".
    But if I call a script that includes an encoded script, it works just fine. Or, in better words, if I leave index.php unencoded, but encode a config.php (or any other file that is included), it works just fine.

    I've used sourceguardian on another website (which is hosted on another server) and it works just fine. PHP version is 5.2 though and the loader is not embeded into php, it's a standalone module.

    Has anyone had any problems like this before?

  2. #2
    Member
    Join Date
    Jan 2011
    Posts
    5

    Thumbs up Re: PHP 5.3.4 and SourceGuardian 8.2

    I've posted the question but I think I've fixed it.

    I've uploaded the ixed loader from SourceGuardian's website, together with the ts (thread safe) version into php's extension_dir. Cpanel puts a loader there, but I think this loader is corrupted, or got corrupted when easyapache downloaded it.

    This procedure seems to have fixed the issue from the original post.

  3. #3
    Member
    Join Date
    Nov 2010
    Location
    Mexico
    Posts
    43
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: PHP 5.3.4 and SourceGuardian 8.2

    Tiago, I'll try your solution... I just reported a problem I had with SourceGuardian after last night updated my WHM/cPanel software

Similar Threads & Tags
Similar threads

  1. Module 'SourceGuardian' already loaded error after PHP 5.3.4 to 5.3.6 update
    By luigidelgado in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 04-01-2011, 07:02 PM
  2. Sourceguardian loader with php-4.4
    By sadique in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-02-2006, 10:24 AM
  3. how to install php 4.3.11 and sourceguardian 4.3.11.ixed.so
    By bsasninja in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 04-19-2005, 06:10 AM
  4. No Sourceguardian
    By netnameus in forum cPanel and WHM Discussions
    Replies: 18
    Last Post: 03-29-2005, 05:20 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube