When compiling open source on HPUX, try these steps: 1.) Make sure you have the linker patch (PHSS_26559 or later) installed on the OS. 2.)
Use GNU C compiler, not HP ANSI C. 3.) Use GNU build tools (and versions) m4 1.4, automake 1.5, autoconf 2.52, libtool 1.4 4.)
Before compiling PHP, hack the apxs script to change the DSO extension. This must be done in 2 places: change the line: my $dso_ext.....
원문 링크 : [HP-UX] apache+php 인스톨시 주의사항