Hello, On a Tru64 system, I built a custom PHP extension and compiled it into PHP 4.2.2 without any problems. I built Apache 1.3.24 and enabled dso support, also without any problems. I verified that Apache is configured to load the PHP module, but when I try to start Apache, it just hangs and never starts up completely. The command prompt never returns and only a single httpd process is running (there should be 6). Also the logs/httdp.pid file is never created. There are absolutely no errors written anywhere -- not to the screen, not in logs/error_log, and not by syslog.
I've tried everything I can think of (see below). If anyone has any ideas for me, that would be great. Here are some more details about my settings and the things I've already tried: I know that my PHP extension works properly because I built and tested it with a command-line version of PHP. Apache starts up properly when I remove my PHP extension from the PHP build. I've tried running the httpd binary directly, as opposed to using the apachectl script, same problem. httpd -X also has the same problem. apachectl configtest gives "Syntax OK". httpd -l lists mod_so.c, as expected. (I'm not running as root, but that shouldn't matter since I'm not using a port below 1024). I built a debug version of Apache, started it in dbx and was able to get the following stack trace: (dbx) where > 0 __accept(0x2, 0x5, 0x120038228, 0x140034018, 0x12002f3c8)[0x3ff800de2a8] 1 child_main(child_num_arg = 0) ["http_main.c":4342, 0x12002f5e8] 2 make_child(s = 0x140028860, slot = 0, now = 1028135337) ["http_main.c":4685, 0x12002fb88] 3 startup_children(number_to_start = 5) ["http_main.c":4767, 0x12002fd60] 4 standalone_main(argc = 2, argv = 0x11fffa018) ["http_main.c":5072, 0x1200305d0] 5 main(argc = 2, argv = 0x11fffa018) ["http_main.c":5417, 0x120030f2c] It looks like Apache is hanging at the point where it spawns the child processes. Maybe someone familiar with the Apache start-up routines could tell me more. Some of my httdp.conf file settings: LoadModule php4_module libexec/libphp4.so AddType application/x-httpd-php .php Port 8080 User nobody Group nobody StartServers 5 LogLevel debug My PHP configure options: configure --prefix=/home/php/php-4.2.2 \ --with-apxs=/home/apache/apache_1.3.24/bin/apxs \ --with-oracle=/usr/oracle/sys/ora816 \ --with-oci8=/usr/oracle/sys/ora816 \ --with-myExtension=/home/myExtension \ --enable-sigchild \ --enable-trans-sid My Apache configure options: ./configure --prefix=/home/apache/apache_1.3.24 \ --with-layout=Apache \ --enable-module=so I'm running Tru64 Unix version 5.1 Again, any help would be greatly appreciated. Thanks, Dean Keough -- PHP Install Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php