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?



LinkBack URL
About LinkBacks
Reply With Quote




