Hi,

this is sort of a best-practices-question:

I used to test our stuff with different PHP versions by having them in
separate CVS checkouts and just calling "make install" in these directories
and restarting Apache.

This worked fine as long as all versions used the same names for their
files, especially mod_php4.c and libphp4.so. This obviously doesn't work
anymore now that these files have been renamed on HEAD.

So I thought I'd take the good ol' --enable-versioning out of the box, but
unfortunately PHP_4_3 and HEAD don't like each other very much. As soon as
I access any PHP page I get a segfault.

This backtrace is all information I can get:

#0  0x00000000 in ?? ()
#1  0x4052bd74 in unique_id_module () from /usr/lib/apache/libphp4.so
#2  0x4052ae7b in unique_id_module () from /usr/lib/apache/libphp4.so
#3  0x405668ad in unique_id_module () from /usr/lib/apache/libphp4.so
#4  0x405674ea in unique_id_module () from /usr/lib/apache/libphp4.so
#5  0x405676a2 in unique_id_module () from /usr/lib/apache/libphp4.so
#6  0x08054f7a in ap_invoke_handler ()
#7  0x080692f4 in process_request_internal ()
#8  0x0806957e in ap_process_request ()
#9  0x08061208 in child_main ()
#10 0x080614b5 in make_child ()
#11 0x0806154d in startup_children ()
#12 0x080620db in standalone_main ()
#13 0x0806246e in main ()
#14 0x401654a2 in __libc_start_main () from /lib/libc.so.6

Is there any other way to run both versions side by side or do I have to
dis- and enable the modules in httpd.conf each time I want to try the other
version?

Jan.

--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to