<div dir="ltr">Thanks Allen there'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! Next step is to recompile Apache so it can see the updated PHP install. 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"><<a href="mailto:allen@allenjb.me.uk">allen@allenjb.me.uk</a>></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 '--disable-session', 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 "./configure --help" 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'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>
> I'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>> <<a href="http://5.2.6" target="_blank">http://5.2.6</a>.> My configure command was:<br>
<div><div></div><div class="Wj3C7c">><br>
> './configure' '--prefix=/usr' '--datadir=/usr/share/php'<br>
> '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/share'<br>
> '--includedir=/usr/include' '--sysconfdir=/etc' '--with-_lib=lib'<br>
> '--with-config-file-path=/etc' '--with-exec-dir=/usr/lib/php/bin'<br>
> '--disable-debug' '--enable-inline-optimization' '--enable-memory-limit'<br>
> '--enable-magic-quotes' '--enable-safe-mode' '--enable-sigchild'<br>
> '--disable-ctype' '--disable-session' '--without-mysql' '--disable-cli'<br>
> '--without-pear' '--with-openssl' '--with-apxs2=/usr/sbin/apxs2-prefork'<br>
> '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<br>
> 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<br>
> `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<br>
> `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>
<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>