<div dir="ltr">Thanks Allen there&#39;s a lot more to this than I initially thought.<br><br>PHP 5.2.6 now successfully installed, although I cant take the credit thank you Stuart!&nbsp; Next step is to recompile Apache so it can see the updated PHP install.&nbsp; Should keep me busy this weekend...<br>
<br>Nathan.<br><br><div class="gmail_quote">On Fri, Oct 3, 2008 at 10:03 AM, AllenJB <span dir="ltr">&lt;<a href="mailto:allen@allenjb.me.uk">allen@allenjb.me.uk</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
You have &#39;--disable-session&#39;, which is disabling session support.<br>
Judging from the error messages, sqlite support requires session support.<br>
<br>
Other issues:<br>
<br>
You should check the output of &quot;./configure --help&quot; to see if there are<br>
replacements for the options that have been removed. From the looks of<br>
it, using your new set of options will compile a CGI module, not an<br>
Apache2 module. Also make sure that the libraries are where configure<br>
looks for them. Consult Suse experts for this information.<br>
<br>
You&#39;re enabling magic_quotes. Be aware that this feature is deprecated<br>
and will be removed in PHP6 (finally!). Safe mode is also gone in PHP6.<br>
<br>
Memory limit is now a purely configure-time option. Iy no longer needs<br>
to be enabled at compile-time.<br>
<br>
AllenJB<br>
<div class="Ih2E3d"><br>
Nathan Friend wrote:<br>
&gt; I&#39;m attempting to upgrade PHP 4.4.0 on my server to <a href="http://5.2.6." target="_blank">5.2.6.</a><br>
</div>&gt; &lt;<a href="http://5.2.6" target="_blank">http://5.2.6</a>.&gt; &nbsp;My configure command was:<br>
<div><div></div><div class="Wj3C7c">&gt;<br>
&gt; &#39;./configure&#39; &#39;--prefix=/usr&#39; &#39;--datadir=/usr/share/php&#39;<br>
&gt; &#39;--mandir=/usr/share/man&#39; &#39;--bindir=/usr/bin&#39; &#39;--libdir=/usr/share&#39;<br>
&gt; &#39;--includedir=/usr/include&#39; &#39;--sysconfdir=/etc&#39; &#39;--with-_lib=lib&#39;<br>
&gt; &#39;--with-config-file-path=/etc&#39; &#39;--with-exec-dir=/usr/lib/php/bin&#39;<br>
&gt; &#39;--disable-debug&#39; &#39;--enable-inline-optimization&#39; &#39;--enable-memory-limit&#39;<br>
&gt; &#39;--enable-magic-quotes&#39; &#39;--enable-safe-mode&#39; &#39;--enable-sigchild&#39;<br>
&gt; &#39;--disable-ctype&#39; &#39;--disable-session&#39; &#39;--without-mysql&#39; &#39;--disable-cli&#39;<br>
&gt; &#39;--without-pear&#39; &#39;--with-openssl&#39; &#39;--with-apxs2=/usr/sbin/apxs2-prefork&#39;<br>
&gt; &#39;i586-suse-linux&#39;<br>
&gt;<br>
&gt; But I had to take out<br>
&gt; &#39;--with-openssl&#39;<br>
&gt; &#39;--with-apxs2=/usr/sbin/apxs2-prefork&#39;<br>
&gt; &#39;--with-_lib=lib&#39;<br>
&gt; &#39;--enable-memory-limit&#39;<br>
&gt;<br>
&gt; and add<br>
&gt; --enable-force-cgi-redirect<br>
&gt;<br>
&gt; for it to work without errors or warnings. &nbsp;I guess there have been a<br>
&gt; lot of changes in PHP since 4.4.0!<br>
&gt;<br>
&gt; When I run make all looks good until:<br>
&gt;<br>
&gt; ext/sqlite/sqlite.o: In function `zm_startup_sqlite&#39;:<br>
&gt; /php-5.2.6/ext/sqlite/sqlite.c:1065: undefined reference to<br>
&gt; `php_session_register_module&#39;<br>
&gt; ext/sqlite/sess_sqlite.o: In function `ps_gc_sqlite&#39;:<br>
&gt; /php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals&#39;<br>
&gt; /php-5.2.6/ext/sqlite/sess_sqlite.c:186: undefined reference to `ps_globals&#39;<br>
&gt; ext/sqlite/sess_sqlite.o:(.data+0x1c): undefined reference to<br>
&gt; `php_session_create_id&#39;<br>
&gt; collect2: ld returned 1 exit status<br>
&gt; make: *** [sapi/cgi/php-cgi] Error 1<br>
&gt;<br>
&gt; Any ideas?<br>
&gt;<br>
&gt; Cheers,<br>
&gt;<br>
&gt; Nathan.<br>
<br>
</div></div>_______________________________________________<br>
Kent mailing list<br>
<a href="mailto:Kent@mailman.lug.org.uk">Kent@mailman.lug.org.uk</a><br>
<a href="https://mailman.lug.org.uk/mailman/listinfo/kent" target="_blank">https://mailman.lug.org.uk/mailman/listinfo/kent</a><br>
</blockquote></div><br></div>