#18962 [Com]: session_register() does not work
| From: | hirac dot kasapoglu at turkcell dot com dot tr | Date: | Tue, 20 Aug 2002 07:11:55 +0000 |
| Subject: | #18962 [Com]: session_register() does not work | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-17266@lists.php.net to get a copy of this message | ||
ID: 18962
Comment by: hirac.kasapoglu@turkcell.com.tr
Reported By: hirac.kasapoglu@turkcell.com.tr
Status: Feedback
Bug Type: Session related
Operating System: Tru64 5.1
PHP Version: 4.2.2
New Comment:
php4-latest.tar.gz gives compile errors:
#./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
----> finished without errors
#make
......
/bin/ksh libtool --silent --mode=compile gcc -Imain/
-I/usr/tmp2/php4-200208192100/main/ -DPHP_ATOM_INC
-I/usr/tmp2/php4-200208192100/include
-I/usr/tmp2/php4-200208192100/main -I/usr/tmp2/php4-200208192100
-I/usr/tmp2/php4-200208192100/Zend -I/usr/local/mysql/include
-I/usr/tmp2/php4-200208192100/ext/xml/expat -DOSF1 -DUSE_HSREGEX
-DUSE_EXPAT -I/usr/tmp2/php4-200208192100/TSRM -g -O2 -prefer-pic -c
/usr/tmp2/php4-200208192100/main/streams.c -o main/streams.lo
/usr/tmp2/php4-200208192100/main/streams.c: In function
`_php_stream_stat':
/usr/tmp2/php4-200208192100/main/streams.c:238: structure has no member
named `_F64_stat'
/usr/tmp2/php4-200208192100/main/streams.c: In function
`php_stdiop_cast':
/usr/tmp2/php4-200208192100/main/streams.c:734: warning: cast to
pointer from integer of different size
*** Exit 1
Stop.
Previous Comments:
------------------------------------------------------------------------
[2002-08-19 16:27:18] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-08-19 08:30:19] hirac.kasapoglu@turkcell.com.tr
register_globals = On
all other option was set to default values for Apache and PHP.
------------------------------------------------------------------------
[2002-08-19 08:24:15] hirac.kasapoglu@turkcell.com.tr
GCC : 3.0.2
Apache: 1.3.26
PHP : 4.2.2
I compiled apache with:
./configure --prefix=/usr/local/apache --enable-module=so
I compiled php with:
./configure --with-mysql=/usr/local/mysql
--with-apxs=/usr/local/apache/bin/apxs
compilation was successful. Everything seems to be ok except when I try
to use session_register() functions. function return TRUE value but
sessions not stored.
I use XOOPS and postnuke portal systems. They did work on Linux machine
without any error, but same scripts' session related parts does not
work on Tru64.
Best regards
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18962&edit=1