I have successfully compile the microcode.so. Have
also managed to done the purify and encode. But now, I have problem in decoding. When I tried to run the display.php (refer to below), the browser simply gets hang with nothing on the screen. Why is this so?
My encoding process is as follows:
1. purify the test.php example found in the encoder directory - purify test.php purify-test.php.
2. encode the purified script - encode purify-test.php enc-test.php 20
3. create a display.php file as follows:
<?PHP
databay_microcode_include("enc-test.php");
?>
- I have place the microcode.so at the extension directory.
Now, when I try to execute this file (display.php), the browser hangs.
Is the server trying to look for the key? Wouldn't it prompt any sort of error if key is missing or not found? Is the key compiled into the microcode.so or is it supposed to be placed in /etc/microcode/default.key?
Would greatly appreciate it if someone can help me on this.
Thanks and best regards,
Tina
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have successfully compile the microcode.so. Have
also managed to done the purify and encode. But now, I have problem in decoding. When I tried to run the display.php (refer to below), the browser simply gets hang with nothing on the screen. Why is this so?
My encoding process is as follows:
1. purify the test.php example found in the encoder directory - purify test.php purify-test.php.
2. encode the purified script - encode purify-test.php enc-test.php 20
3. create a display.php file as follows:
<?PHP
databay_microcode_include("enc-test.php");
?>
- I have place the microcode.so at the extension directory.
Now, when I try to execute this file (display.php), the browser hangs.
Is the server trying to look for the key? Wouldn't it prompt any sort of error if key is missing or not found? Is the key compiled into the microcode.so or is it supposed to be placed in /etc/microcode/default.key?
Would greatly appreciate it if someone can help me on this.
Thanks and best regards,
Tina
see my another thread:
https://sourceforge.net/forum/message.php?msg_id=1566955
I can't resolve this without help too. I'm sure "krichter" ( Karsten Richter ) can help :))
Piotr D.
Hi folks,
first of all: sorry for delay,
I am currently quite busy with other projects, and did
not have time to care for this problem.
A first test of microcode on PHP 4.2.1 lead to the same problem, seems to be a bug. (Versions up to 4.1.0 are definitely working!)
I am currently working on it.
Added a Bug Report (request #570100) revisit SourceForge page for fixes...
Regards
Karsten Richter
Warning: Invalid library (maybe not a PHP library) 'microcode.so' in /var/www/html/test2.php on line 2
I conpile it myself
-phpize
-make
then copy microcode.so to extensions folder.
I call microcode.so with:
dl("microcode.so");