<div dir="ltr">I&#39;m attempting to upgrade PHP 4.4.0 on my server to <a href="http://5.2.6.">5.2.6.</a>&nbsp; My configure command was:<br><br> &#39;./configure&#39; &#39;--prefix=/usr&#39;
&#39;--datadir=/usr/share/php&#39; &#39;--mandir=/usr/share/man&#39;
&#39;--bindir=/usr/bin&#39; &#39;--libdir=/usr/share&#39; &#39;--includedir=/usr/include&#39;
&#39;--sysconfdir=/etc&#39; &#39;--with-_lib=lib&#39; &#39;--with-config-file-path=/etc&#39;
&#39;--with-exec-dir=/usr/lib/php/bin&#39; &#39;--disable-debug&#39;
&#39;--enable-inline-optimization&#39; &#39;--enable-memory-limit&#39;
&#39;--enable-magic-quotes&#39; &#39;--enable-safe-mode&#39; &#39;--enable-sigchild&#39;
&#39;--disable-ctype&#39; &#39;--disable-session&#39; &#39;--without-mysql&#39; &#39;--disable-cli&#39;
&#39;--without-pear&#39; &#39;--with-openssl&#39;
&#39;--with-apxs2=/usr/sbin/apxs2-prefork&#39; &#39;i586-suse-linux&#39; <br><br>But I had to take out <br>&#39;--with-openssl&#39;<br>&#39;--with-apxs2=/usr/sbin/apxs2-prefork&#39;<br>&#39;--with-_lib=lib&#39;<br>&#39;--enable-memory-limit&#39;<br>
<br>and add<br>--enable-force-cgi-redirect<br><br>for it to work without errors or warnings.&nbsp; 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&#39;:<br>
/php-5.2.6/ext/sqlite/sqlite.c:1065: undefined reference to `php_session_register_module&#39;<br>ext/sqlite/sess_sqlite.o: In function `ps_gc_sqlite&#39;:<br>/php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals&#39;<br>
/php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals&#39;<br>ext/sqlite/sess_sqlite.o:(.data+0x1c): undefined reference to `php_session_create_id&#39;<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>