ID:               22273
 Updated by:       [EMAIL PROTECTED]
 Reported By:      germano60 at yahoo dot it
-Status:           Open
+Status:           Feedback
 Bug Type:         Apache2 related
 Operating System: HP-UX 11.00
 PHP Version:      4.3.0
 New Comment:

Add --enable-debug to your PHP configure line
and try checking if it's crashing with gdb.

(what MPM is used for Apache2 ?)




Previous Comments:
------------------------------------------------------------------------

[2003-02-19 04:03:11] germano60 at yahoo dot it

I tried with the latest stable snapshot and with the ./configure
options as per suggestion.

By the way, I confirm you that the issues related to crypt and termcap
libraries in hp-ux environment are apparently solved with this latest
stable. The overall generation was definitely smoother than my previous
one.

Everything ran successfully, the new libphp4.so was installed in
/usr/local/apache2/modules, the httpd.conf was updated by make install
(this did not happen previously). 

Unfortunately, when I ran 

apachectl configtest 

I was still returned with the same error message.
Any hint?

Cheers
Germano Gasparini

------------------------------------------------------------------------

[2003-02-18 11:55:00] [EMAIL PROTECTED]

The latest snapshot should fix the crypt issue..
Try this configure line:

./configure --disable-all --with-mysql --with-pcre-regex
--with-apxs2=/usr/local/apache2/bin/apxs

(--disable-all disables every 'by-default' extension)



------------------------------------------------------------------------

[2003-02-18 11:53:22] [EMAIL PROTECTED]

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

------------------------------------------------------------------------

[2003-02-18 09:12:56] germano60 at yahoo dot it

Hello

I already looked in the support resources and in the bug lists but
could not find a suitable clue.

I compiled apache and php then when I tried to start the web server,
but this is the error message I got:
Syntax error on line 233 of /usr/local/apache2/conf/httpd.conf:
Cannot load /usr/local/apache2/modules/libphp4.so into server:
Unresolved external

The error line did not return any further indications about which
"external" did not resolve.

Configuration:
hp-ux 11.00
php 4.3.0
apache 2.0.44
gcc 3.2

Apache was generated with:
./configure \
  --prefix=/usr/local/apache2 \
  --enable-so

Php4.3.0 was configured with:
./configure \
  --with-mysql \
  --with-apxs2=/usr/local/apache2/bin/apxs

I modified the configure script for PHP by replacing invokes of
"-lcrypt" with "-lc" and of "-ltermcap" with "-lcurses" to get
libphp4.so generated by php's "make install" under the hp-ux 11
platform.
php's "make" and "make install" succeeded.

DSO modules were installed in the Apache2's default location 
/usr/local/apache2/modules and this is also where PHP's make install
stored the library libphp4.so. In httpd.conf I added the following
line:
LoadModule  php4_module  modules/libphp4.so

I'm not sure whether this is really a bug or due to my minimal
configuration - I tried some of the hints I found in the support/bugs
but without success.

Thanks in advance.
Germano Gasparini - germano60 at yahoo dot it

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=22273&edit=1

Reply via email to