Folks, I am trying to build Apache 2.0 /PHP (latest) on an HPUX 11. 
 I configured both of them to handle DSO. PHP generates the .so, which later I
rename to .sl and move to the modules directory and run make install
successfully. After adding the LoadModule and the Addtype directive, apache
gives an error saying the it cannot find the libphp4.sl file. On the error
message, it outputs the path - ( When I copy and past the path on a ls command,
I can see that the file exists, and the permissions are set correctly)
  When I manually run apxs on the file, ( apxs -i libphp4.sl ) it tells me that
the file is not a DSO. If I run  the 'file' command on it, it tells me that it
is indeed a DSO.

 -- So, I gave up on the DSO route and switched to STATIC.

   1) PHP build does build the static lib libphp4.a; however, make  install
DOES NOT copy it to the apache source directory (as described on the docs) --
Fine, I copied it manually.

   2) As described on the INSTALL file, I pass the --activate-module for
apache. However, Apache2.0 does not take the  
--activate-module=modules/libphp.a; it says that activate-module is an invalid
flag. I ran ./configure --help and there was nothing similar to this falg.


   Any help would be very apreciated.

  (All the help on php.net about HP has does not address this issue. Also,
there is not docs on how to install PHP/APACHE2.0 as static.)

 Thanks for the help.


HArring.







__________________________________________________
Do you Yahoo!?
Yahoo! Tax Center - forms, calculators, tips, more
http://taxes.yahoo.com/

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to