[PHP] HPUX 11 and PHP4 build - Unresolved symbol __udivdi3 (NIGTHMARE)
I am trying -- for the past day - to build php4.3.1 against apache1.3.27 as a DSO module on HPUX11 using gcc. I build everythigng and I can get apache running without the php module. Once I add the php module, I get the following errors: /usr/lib/dld.sl: Unresolved symbol: __udivdi3 (code) from /home/harring/install/apache1_3_27_dso_aCC/libexec/libphp4.so /usr/lib/dld.sl: Unresolved symbol: __umoddi3 (code) from /home/harring/install/apache1_3_27_dso_aCC/libexec/libphp4.so Syntax error on line 206 of /home/harring/install/apache1_3_27_dso_aCC/conf/httpd.conf: Cannot load /home/harring/install/apache1_3_27_dso_aCC/libexec/libphp4.so into server: Unresolved external ./apachectl start: httpd could not be started I have googled and could not find a solution for this. Can anyone help ? Thanks. Harring __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
[PHP] PHP static module on Apache 2.0 HPUX 11
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
Re: [PHP] PHP static module on Apache 2.0 HPUX 11
Rasmus, Thanks for the reply. Then, what am I doing wrong on the DSO installation ? Any docs I could get my hands on ? Thanks again. Harring. --- Rasmus Lerdorf [EMAIL PROTECTED] wrote: (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.) That's because we do not support a static build for Apache2. -Rasmus = We should do smart things with stupid technology before we do stupid things with smart technology. --Bill Buxton, Alias Research Harring Figueiredo __ 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
[PHP] Include directoive on PHP.
I would like to include some of the files ( tabel.php, etc ) from PEAR on my scripts - Do I have to hardcode the installation path ? or is there a directive that tells the preprocessor to look on the right place (Like in c)? Thanks in advance. HArring __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php