From: [EMAIL PROTECTED]
Operating system: redhat 8.0
PHP version: 4.2.3
PHP Bug Type: Recode related
Bug description: recode is "silent"
I have compiled php 4.2.3 on redhat 8.0 with
-----php configure CGI---
./configure --with-mysql=/usr --enable-sysvsem
--enable-sysvshm --with-gd=yes --with-zlib --with-ttf
--with-zlib-dir=/usr --with-gd-dir=/
usr/ --with-jpeg-dir=/usr/lib/ --enable-gd-imgstrttf
--with-config-file-path=/etc/httpd/conf/ --enable-trans-sid
--with-png-dir=/usr/ --with
-sablot --with-recode --with-curl --with-openssl
---------
The dso is the same one it just has --with-apxs added and the
results are the same on cgi and dso
All compiles fine php runs ok but when i try to use an recode
function from php script it doesnt do anyhing.
so an test line containing only
'echo recode("../qp","sas=32");'
doesnt return anything. I have an old working system with
4.0.6 and recode 3.5 which returns what it should [thats
'sas=3D32']
Recode it self works in the shell
[tmp]#cat recode.txt
sas=32
recode ../qp recode.txt
[tmp]# cat recode.txt
sas=3D32
i tried also making an error [i didn`t suply any parameters to
the function] and it warns me with "...
Wrong parameter count for recode() in ..."
I tried with recode rpm from redhat, i tried mine [compiled it my
self] no diffrence it just doesnt return anything.
--
Edit bug report at http://bugs.php.net/?id=19776&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=19776&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=19776&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=19776&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=19776&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=19776&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=19776&r=support
Expected behavior: http://bugs.php.net/fix.php?id=19776&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=19776&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=19776&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=19776&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=19776&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=19776&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=19776&r=isapi