#46444 [Fbk->Opn]: invalid session.save_path crashes -

From: Date: Tue, 04 Nov 2008 00:52:04 +0000
Subject: #46444 [Fbk->Opn]: invalid session.save_path crashes -
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-130583@lists.php.net to get a copy of this message
ID: 46444 User updated by: hostmaster at uuism dot net Reported By: hostmaster at uuism dot net -Status: Feedback +Status: Open Bug Type: Session related Operating System: Fedora Core 4 PHP Version: 5.2CVS-2008-10-31 New Comment: # make test Build complete. Don't forget to run 'make test'. +-----------------------------------------------------------+ | ! ERROR ! | | The test-suite requires that you have pcre extension | | enabled. To enable this extension either compile your PHP | | with --with-pcre-regex or if you've compiled pcre as a | | shared module load it via php.ini. | +-----------------------------------------------------------+ [root@host php5.2-200811022130]# TEST_PHP_EXECUTABLE=sapi/cli/php sapi/cli/php ./run-tests.php -v ext/session/tests/016.phpt +-----------------------------------------------------------+ | ! ERROR ! | | The test-suite requires that you have pcre extension | | enabled. To enable this extension either compile your PHP | | with --with-pcre-regex or if you've compiled pcre as a | | shared module load it via php.ini. | +-----------------------------------------------------------+ [root@host php5.2-200811022130]# sapi/cli/php ext/session/tests/016.php I live i can rerun configure with --with-pcre-regex added if you want. jim Previous Comments: ------------------------------------------------------------------------ [2008-11-03 08:42:39] jani@php.net Try this configure line (exactly this): # ./configure --disable-all --disable-cgi --enable-session # make clean && make test ------------------------------------------------------------------------ [2008-11-02 00:55:56] hostmaster at uuism dot net Modules: mbstring.so; mysql.so; mysqli.so; soap.so; and xmlrpc.so I reran the test without any modules and the results were the same. Configuration string: --build=i386-redhat-linux --host=i386-redhat-linux --target=i386-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man --infodir=/usr/share/info --cache-file=../config.cache --with-libdir=lib --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --disable-rpath --with-bz2 --with-curl --with-exec-dir=/usr/bin --with-freetype-dir=/usr --with-png-dir=/usr --enable-gd-native-ttf --without-gdbm --with-gettext --with-gmp --with-iconv --with-jpeg-dir=/usr --with-openssl --with-pspell --with-pcre-regex=/usr/local --with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-quotes --enable-sockets --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-wddx --with-pear=/usr/share/pear --with-kerberos --enable-ucd-snmp-hack --with-unixODBC=shared,/usr --enable-shmop --enable-calendar --with-mime-magic=/etc/httpd/conf/magic --without-sqlite --with-libxml-dir=/usr/local --enable-force-cgi-redirect --enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared --enable-mbregex --with-ncurses=shared --with-gd=shared --enable-bcmath=shared --enable-dba=shared --with-db4=/usr --with-xmlrpc=shared --with-ldap=shared --with-mysql=shared,/usr --with-mysqli=shared,/usr/bin/mysql_config --enable-dom=shared --with-pgsql=shared --with-snmp=shared,/usr --enable-soap=shared --with-xsl=shared,/usr --enable-fastcgi --with-pcre-dir=/usr/local --enable-xmlreader=shared --with-mcrypt --with-mhash --with-config-file-path=/etc/php-5.2.6 --with-config-file-scan-dir=/etc/php-5.2.6/php.d Should it make any difference that I used --disable-debug? I went back and ran configure again with --enable-debug and all the same other parameters. This time the test PASSED. I don't understand. Jim Jim ------------------------------------------------------------------------ [2008-11-01 23:21:35] jani@php.net And what was the configure line you used to compile PHP? ------------------------------------------------------------------------ [2008-11-01 23:20:54] jani@php.net Are you loading any shared extensions? ------------------------------------------------------------------------ [2008-11-01 22:49:16] hostmaster at uuism dot net I ran the test again with the php.ini-recommended and only the extension_dir changed. Same results. Jim ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/46444 -- Edit this bug report at http://bugs.php.net/?id=46444&edit=1

« previous php.bugs (#130583) next »