I want to use mm for session handling and as I haven't enabled it before
my first action was to try to enable mm in php.
apache configure:
LD_SHLIB=ld ./configure --with-layout=OpenBSD --enable-module=rewrite
--enable-module=so --enable-module=info --server-uid=www --server-g
id=www
php configure:
EXTRA_LIBS='-ljpeg -lmm' LD_SHLIB=ld ./configure --prefix=/web/php
--with-mysql --with-config-file-path=/web/php/lib --enable-trans-sid
--enable-force-cgi-redirect --with-gd=/usr/local
--with-jpeg-dir=/usr/local --with-xpm-dir=/usr/X11R6 --with-ttf
--with-t1lib --enable-track-vars --enable-sockets
--with-png-dir=/usr/local --with-zlib --with-zlib-dir=/usr --with-xmlrpc
--with-expat-dir=/usr/local --with-mm=/usr/local --with-apxs
The mm used is 1.1.3 installed from ports and when I installed it I ran
'make test' which gave
+-MM-Library-Test-Suite-Summary---------------------------
| Library Version : MM 1.1.3 (01-Jul-2000)
| Platform : i386-unknown-openbsd3.1
| Memory Page Size Type : MM_VMPS_SYSCONF
| Shared Memory Type : MM_SHMT_MMANON
| Semaphore Type : MM_SEMT_FCNTL
| Maximum Segment Size : 67108864
| Test Suite : Ok
+---------------------------------------------------------
I only rebuilt and installed php (simple make distclean && configure ...
&& make && sudo make install ). When attempting to start apache, apache
dumped core and php logged this "PHP Fatal error: Unable to start
session mm module in Unknown on line 0". Setting session.save_handler =
files or mm doesn't change the result.
My set up is Apache 1.3.27 with PHP 4.2.3 on OpenBSD 3.1. What should I
do to get mm into a working php?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php