<div dir="ltr">I'm attempting to upgrade PHP 4.4.0 on my server to <a href="http://5.2.6.">5.2.6.</a> My configure command was:<br><br> './configure' '--prefix=/usr'
'--datadir=/usr/share/php' '--mandir=/usr/share/man'
'--bindir=/usr/bin' '--libdir=/usr/share' '--includedir=/usr/include'
'--sysconfdir=/etc' '--with-_lib=lib' '--with-config-file-path=/etc'
'--with-exec-dir=/usr/lib/php/bin' '--disable-debug'
'--enable-inline-optimization' '--enable-memory-limit'
'--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild'
'--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli'
'--without-pear' '--with-openssl'
'--with-apxs2=/usr/sbin/apxs2-prefork' 'i586-suse-linux' <br><br>But I had to take out <br>'--with-openssl'<br>'--with-apxs2=/usr/sbin/apxs2-prefork'<br>'--with-_lib=lib'<br>'--enable-memory-limit'<br>
<br>and add<br>--enable-force-cgi-redirect<br><br>for it to work without errors or warnings. I guess there have been a lot of changes in PHP since 4.4.0!<br><br>When I run make all looks good until:<br><br>ext/sqlite/sqlite.o: In function `zm_startup_sqlite':<br>
/php-5.2.6/ext/sqlite/sqlite.c:1065: undefined reference to `php_session_register_module'<br>ext/sqlite/sess_sqlite.o: In function `ps_gc_sqlite':<br>/php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals'<br>
/php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals'<br>ext/sqlite/sess_sqlite.o:(.data+0x1c): undefined reference to `php_session_create_id'<br>collect2: ld returned 1 exit status<br>make: *** [sapi/cgi/php-cgi] Error 1<br>
<br>Any ideas?<br><br>Cheers,<br><br>Nathan.<br></div>