<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/php-screw/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/php-screw/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Fri, 12 Aug 2011 04:51:49 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/php-screw/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>failed to build php_screw-1.5 in CentOS 6/PHP 5.3.2</title><link>https://sourceforge.net/p/php-screw/bugs/8/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I failed to build php_screw-1.5 in CentOS 6/PHP 5.3.2&lt;/p&gt;
&lt;p&gt;[root@snake php_screw-1.5]# phpize &lt;br /&gt;
Configuring for:&lt;br /&gt;
PHP Api Version:         20090626&lt;br /&gt;
Zend Module Api No:      20090626&lt;br /&gt;
Zend Extension Api No:   220090626&lt;br /&gt;
[root@snake php_screw-1.5]# vi php_screw.h&lt;br /&gt;
[root@snake php_screw-1.5]# vi my_screw.h &lt;br /&gt;
[root@snake php_screw-1.5]# ./configure &lt;br /&gt;
checking for grep that handles long lines and -e... /bin/grep&lt;br /&gt;
checking for egrep... /bin/grep -E&lt;br /&gt;
checking for a sed that does not truncate output... /bin/sed&lt;br /&gt;
checking for cc... cc&lt;br /&gt;
checking for C compiler default output file name... a.out&lt;br /&gt;
checking whether the C compiler works... yes&lt;br /&gt;
checking whether we are cross compiling... no&lt;br /&gt;
checking for suffix of executables... &lt;br /&gt;
checking for suffix of object files... o&lt;br /&gt;
checking whether we are using the GNU C compiler... yes&lt;br /&gt;
checking whether cc accepts -g... yes&lt;br /&gt;
checking for cc option to accept ISO C89... none needed&lt;br /&gt;
checking how to run the C preprocessor... cc -E&lt;br /&gt;
checking for icc... no&lt;br /&gt;
checking for suncc... no&lt;br /&gt;
checking whether cc understands -c and -o together... yes&lt;br /&gt;
checking for system library directory... lib&lt;br /&gt;
checking if compiler supports -R... no&lt;br /&gt;
checking if compiler supports -Wl,-rpath,... yes&lt;br /&gt;
checking build system type... x86_64-unknown-linux-gnu&lt;br /&gt;
checking host system type... x86_64-unknown-linux-gnu&lt;br /&gt;
checking target system type... x86_64-unknown-linux-gnu&lt;br /&gt;
checking for PHP prefix... /usr&lt;br /&gt;
checking for PHP includes... -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib&lt;br /&gt;
checking for PHP extension directory... /usr/lib64/php/modules&lt;br /&gt;
checking for PHP installed headers prefix... /usr/include/php&lt;br /&gt;
checking if debug is enabled... no&lt;br /&gt;
checking if zts is enabled... no&lt;br /&gt;
checking for re2c... no&lt;br /&gt;
configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers.&lt;br /&gt;
checking for gawk... gawk&lt;br /&gt;
checking for php_screw support... yes, shared&lt;br /&gt;
checking whether to enable php_screw support... yes, shared&lt;br /&gt;
checking for a sed that does not truncate output... (cached) /bin/sed&lt;br /&gt;
checking for fgrep... /bin/grep -F&lt;br /&gt;
checking for ld used by cc... /usr/bin/ld&lt;br /&gt;
checking if the linker (/usr/bin/ld) is GNU ld... yes&lt;br /&gt;
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B&lt;br /&gt;
checking the name lister (/usr/bin/nm -B) interface... BSD nm&lt;br /&gt;
checking whether ln -s works... yes&lt;br /&gt;
checking the maximum length of command line arguments... 1966080&lt;br /&gt;
checking whether the shell understands some XSI constructs... yes&lt;br /&gt;
checking whether the shell understands "+="... yes&lt;br /&gt;
checking for /usr/bin/ld option to reload object files... -r&lt;br /&gt;
checking for objdump... objdump&lt;br /&gt;
checking how to recognize dependent libraries... pass_all&lt;br /&gt;
checking for ar... ar&lt;br /&gt;
checking for strip... strip&lt;br /&gt;
checking for ranlib... ranlib&lt;br /&gt;
checking command to parse /usr/bin/nm -B output from cc object... ok&lt;br /&gt;
./configure: line 6280: /usr/bin/file: No such file or directory&lt;br /&gt;
checking for ANSI C header files... yes&lt;br /&gt;
checking for sys/types.h... yes&lt;br /&gt;
checking for sys/stat.h... yes&lt;br /&gt;
checking for stdlib.h... yes&lt;br /&gt;
checking for string.h... yes&lt;br /&gt;
checking for memory.h... yes&lt;br /&gt;
checking for strings.h... yes&lt;br /&gt;
checking for inttypes.h... yes&lt;br /&gt;
checking for stdint.h... yes&lt;br /&gt;
checking for unistd.h... yes&lt;br /&gt;
checking for dlfcn.h... yes&lt;br /&gt;
checking for objdir... .libs&lt;br /&gt;
checking if cc supports -fno-rtti -fno-exceptions... no&lt;br /&gt;
checking for cc option to produce PIC... -fPIC -DPIC&lt;br /&gt;
checking if cc PIC flag -fPIC -DPIC works... yes&lt;br /&gt;
checking if cc static flag -static works... no&lt;br /&gt;
checking if cc supports -c -o file.o... yes&lt;br /&gt;
checking if cc supports -c -o file.o... (cached) yes&lt;br /&gt;
checking whether the cc linker (/usr/bin/ld) supports shared libraries... yes&lt;br /&gt;
checking whether -lc should be explicitly linked in... no&lt;br /&gt;
checking dynamic linker characteristics... GNU/Linux ld.so&lt;br /&gt;
checking how to hardcode library paths into programs... immediate&lt;br /&gt;
checking whether stripping libraries is possible... yes&lt;br /&gt;
checking if libtool supports shared libraries... yes&lt;br /&gt;
checking whether to build shared libraries... yes&lt;br /&gt;
checking whether to build static libraries... no&lt;br /&gt;
configure: creating ./config.status&lt;br /&gt;
config.status: creating config.h&lt;br /&gt;
config.status: executing libtool commands&lt;br /&gt;
[root@snake php_screw-1.5]# make&lt;br /&gt;
/bin/sh /root/php_screw-1.5/libtool --mode=compile cc  -I. -I/root/php_screw-1.5 -DPHP_ATOM_INC -I/root/php_screw-1.5/include -I/root/php_screw-1.5/main -I/root/php_screw-1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib  -DHAVE_CONFIG_H  -g -O2   -c /root/php_screw-1.5/php_screw.c -o php_screw.lo &lt;br /&gt;
libtool: compile:  cc -I. -I/root/php_screw-1.5 -DPHP_ATOM_INC -I/root/php_screw-1.5/include -I/root/php_screw-1.5/main -I/root/php_screw-1.5 -I/usr/include/php -I/usr/include/php/main -I/usr/include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/include/php/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /root/php_screw-1.5/php_screw.c  -fPIC -DPIC -o .libs/php_screw.o&lt;br /&gt;
/root/php_screw-1.5/php_screw.c: In function ‘zm_startup_php_screw’:&lt;br /&gt;
/root/php_screw-1.5/php_screw.c:124: error: ‘struct _zend_compiler_globals’ has no member named ‘extended_info’&lt;br /&gt;
/root/php_screw-1.5/php_screw.c: In function ‘zm_shutdown_php_screw’:&lt;br /&gt;
/root/php_screw-1.5/php_screw.c:133: error: ‘struct _zend_compiler_globals’ has no member named ‘extended_info’&lt;br /&gt;
make: *** [php_screw.lo] Error 1&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 12 Aug 2011 04:51:49 -0000</pubDate><guid>https://sourceforge.netdfc3598482b40e8931e1835ada4c5dc52c14d230</guid></item><item><title>VC6 compile error(用VC6编译时不能通过)</title><link>https://sourceforge.net/p/php-screw/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;用VC6编译时不能通过，出现下面的错误，不知道怎么调整&lt;/p&gt;
&lt;p&gt;\php_screw.c(59) : error C2491: 'pm9screw_compile_file' : definition of dllimport function not allowed&lt;br /&gt;
\php_screw.c(79) : error C2198: 'org_compile_file' : too few actual parameters&lt;br /&gt;
\php_screw.c(85) : error C2198: 'org_compile_file' : too few actual parameters&lt;br /&gt;
\php_screw.c(94) : error C2198: 'org_compile_file' : too few actual parameters&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Thu, 22 Nov 2007 04:42:49 -0000</pubDate><guid>https://sourceforge.netfbf7bb3576346ea42c5c98e300f15d3bb8cdd724</guid></item><item><title>PHP CLI cant execute encrypted .php</title><link>https://sourceforge.net/p/php-screw/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In CLI mode the output of .php files arent decrypted, raw content &lt;br /&gt;
are displayed.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jose Rey</dc:creator><pubDate>Sun, 21 Mar 2004 17:44:52 -0000</pubDate><guid>https://sourceforge.net76a35ca57aa18e08cbfde7d619d78141b7dc49f6</guid></item><item><title>show_source() shows the source</title><link>https://sourceforge.net/p/php-screw/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;show_source ( string filename ) shows the source which &lt;br /&gt;
makes this whole software useless.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jarkko</dc:creator><pubDate>Mon, 08 Dec 2003 12:18:21 -0000</pubDate><guid>https://sourceforge.netda28bbb528470747e0966961167497a4405923c5</guid></item><item><title>Security issue</title><link>https://sourceforge.net/p/php-screw/bugs/4/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;To decrypt an encrypted php script is enough to follow&lt;br /&gt;
the following steps:&lt;br /&gt;
- open php_screw.so with a disassebler (for example ldasm)&lt;br /&gt;
- find the keyword pm9screw_mycryptkey&lt;br /&gt;
- take the &amp;amp;quot;file offset&amp;amp;quot; info&lt;br /&gt;
- open php_screw.so with an hexeditor (vi, hexedit,&lt;br /&gt;
whatever, ...)&lt;br /&gt;
- go to the offset taken from ldasm&lt;br /&gt;
- read 10 bytes&lt;/p&gt;
&lt;p&gt;You have the key to decrypt php-screw encrypted scripts&lt;/p&gt;
&lt;p&gt;than...&lt;br /&gt;
- use the following code to decrypt the script:&lt;/p&gt;
&lt;p&gt;FILE *fp;&lt;br /&gt;
char *data;&lt;br /&gt;
char *res;&lt;br /&gt;
int len;&lt;br /&gt;
int i;&lt;/p&gt;
&lt;p&gt;fp = fopen(encrypted_script, &amp;amp;quot;r&amp;amp;quot;);&lt;br /&gt;
len = fseek(fp, 0L, SEEK_END);&lt;br /&gt;
fseek(fp, 0L, SEEK_SET);&lt;br /&gt;
fread(data, len, 1, fp);&lt;/p&gt;
&lt;p&gt;for(i = 0 ; i &amp;amp;lt; len ; i++)&lt;br /&gt;
{&lt;br /&gt;
res[i] = ~(data[i] ^ pm9screw_mycryptkey[(len -&lt;br /&gt;
i) % (sizeof(pm9screw_mycryptkey) / 2]);&lt;br /&gt;
}&lt;/p&gt;
&lt;p&gt;... encryption should first of all secure...&lt;/p&gt;
&lt;p&gt;why don't use a well known secure cipher like 3DES ,&lt;br /&gt;
Blowfish, Twofish, CAST, etc.?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Sat, 03 May 2003 01:15:27 -0000</pubDate><guid>https://sourceforge.net610c76294455e9a97e30a4a354696f3f92ab85fc</guid></item><item><title>error while loading shared libraries</title><link>https://sourceforge.net/p/php-screw/bugs/3/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;i using php screw 1.2.1.&lt;br /&gt;
installation is sucesfully finished.&lt;br /&gt;
but when i tryed to execute encrypted script via httpd, &lt;br /&gt;
error was ocurred.&lt;br /&gt;
then i showed a error log and found a message.&lt;/p&gt;
&lt;p&gt;/usr/local/apache/bin/httpd: error while loading shared &lt;br /&gt;
libraries: /usr/local/lib/php/extensions/php_screw.so:&lt;br /&gt;
undefined symbol: inflateInit_&lt;/p&gt;
&lt;p&gt;i used this script for envrypting.&lt;/p&gt;
&lt;p&gt;&amp;amp;lt;? phpinfo() ?&amp;amp;gt;&lt;/p&gt;
&lt;p&gt;my hardware and software is ...&lt;br /&gt;
ibm intelistaiton&lt;br /&gt;
Turbolinux 7 server&lt;br /&gt;
apache 1.3.27&lt;br /&gt;
php 4.2.2&lt;br /&gt;
(configure option is&lt;br /&gt;
'./configure' \
'--enable-mbstring' \
'--enable-mbstr-enc-trans' \
'--with-apxs=/usr/local/apache/bin/apxs' \
'--with-pgsql=/usr/local/pgsql' \
'--enable-mbregex' \
'--with-DEAPI' \
'--enable-trans-sid' \
'--enable-wddx' \
'--with-xml' \
)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shota shota</dc:creator><pubDate>Mon, 09 Dec 2002 05:06:11 -0000</pubDate><guid>https://sourceforge.net14a01060ef014b52a486636940e648f3c8456225</guid></item><item><title>missing configure script in distribution</title><link>https://sourceforge.net/p/php-screw/bugs/2/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;The code for 1.2 does not compile due to a missing&lt;br /&gt;
configure script.  I had to manually create a Makefile&lt;br /&gt;
from scratch, which took several hours, in order to get&lt;br /&gt;
this stuff to compile. I'm using a stock Red Hat 7.3&lt;br /&gt;
Linux box.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 11 Oct 2002 07:07:56 -0000</pubDate><guid>https://sourceforge.net36e63fcbea027701e26bbd26e1df7f193ff35fd6</guid></item><item><title>Can't compile extension</title><link>https://sourceforge.net/p/php-screw/bugs/1/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;make[1]: Entering directory `/home/james_su/php_screw-&lt;br /&gt;
1.2'&lt;br /&gt;
/bin/sh /home/james_su/php_screw-1.2/libtool --&lt;br /&gt;
mode=compile gcc -I. -I/home/james_su/php_screw-1.2/ -&lt;br /&gt;
I/home/james_su/php_screw-1.2/main -&lt;br /&gt;
I/home/james_su/php_screw-1.2 -&lt;br /&gt;
I/usr/local/include/php -I/usr/local/include/php/main -&lt;br /&gt;
I/usr/local/include/php/Zend -&lt;br /&gt;
I/usr/local/include/php/TSRM  -DHAVE_CONFIG_H  -prefer-&lt;br /&gt;
pic  -c php_screw.c &amp;amp;amp;&amp;amp;amp; touch php_screw.slo&lt;br /&gt;
gcc -I. -I/home/james_su/php_screw-1.2/ -&lt;br /&gt;
I/home/james_su/php_screw-1.2/main -&lt;br /&gt;
I/home/james_su/php_screw-1.2 -&lt;br /&gt;
I/usr/local/include/php -I/usr/local/include/php/main -&lt;br /&gt;
I/usr/local/include/php/Zend -&lt;br /&gt;
I/usr/local/include/php/TSRM -DHAVE_CONFIG_H -c &lt;br /&gt;
php_screw.c  -fPIC -DPIC -o php_screw.lo&lt;br /&gt;
php_screw.c: In function `pm9screw_fopen':&lt;br /&gt;
php_screw.c:85: warning: passing arg 2 of &lt;br /&gt;
`pm9screw_ext_fopen' discards qualifiers from pointer &lt;br /&gt;
target type&lt;br /&gt;
php_screw.c: In function `screw_zend_startup':&lt;br /&gt;
php_screw.c:90: `tsrm_ls' undeclared (first use in &lt;br /&gt;
this function)&lt;br /&gt;
php_screw.c:90: (Each undeclared identifier is &lt;br /&gt;
reported only once&lt;br /&gt;
php_screw.c:90: for each function it appears in.)&lt;br /&gt;
make[1]: *** [php_screw.slo] Error 1&lt;br /&gt;
make[1]: Leaving directory `/home/james_su/php_screw-&lt;br /&gt;
1.2'&lt;br /&gt;
make: *** [all-recursive] Error 1&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymous</dc:creator><pubDate>Fri, 09 Aug 2002 13:32:18 -0000</pubDate><guid>https://sourceforge.net89a63377c11572f79c04acec5859b7a98eab8e09</guid></item></channel></rss>