Re: HP-UX: DL_UNLOAD error
| From: | Jesse Swensen | Date: | Mon, 30 Oct 2000 17:08:13 +0000 |
| Subject: | Re: HP-UX: DL_UNLOAD error | ||
| References: | 1 | Groups: | php.install |
| Request: | Send a blank email to php-install+get-549@lists.php.net to get a copy of this message | ||
I have a Apache server running with PHP as a module and it is all on HP-UX
11.0
As a review, I have made two changes. First, after running ./configure
(your options here), I modified the php_config.h file. I changed all the
references of #define HAVE_LIBDL 1 to #undef HAVE_LIBDL.
Second, I made the change below.
Everything seems to be working.
Thanks for all the help.
--
Jesse
> From: "Paul Gardiner" <Paul.Gardiner@BarleyChalu.co.uk>
> Organization: Barley Chalu Limited
> Date: Mon, 30 Oct 2000 16:14:17 -0000
> To: "Jesse Swensen" <jesse@swensens.net>
> Cc: "PHP-Install" <php-install@lists.php.net>
> Subject: Re: [PHP-INST] HP-UX: DL_UNLOAD error
>
> Hi Jesse,
>
> I believe this has been fixed in CVS but you can do the following mod which
> should sort this problem out.
>
> Modify the Zend/zend_extensions.c file (line144?) from
>
> static void zend_extension_startup(zend_extension *extension)
> {
> if (extension->startup) {
> if (extension->startup(extension)!=SUCCESS) {
> DL_UNLOAD(extension->handle);
> }
> }
> }
>
> to
>
> static void zend_extension_startup(zend_extension *extension)
> {
> #if ZEND_EXTENSIONS_SUPPORT
> if (extension->startup) {
> if (extension->startup(extension)!=SUCCESS) {
> DL_UNLOAD(extension->handle);
> }
> }
> #endif
> }
>
> and it *should* compile and run ok :o)
>
> Best regards,
> - Paul -