- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-09-2002 07:42 AM
09-09-2002 07:42 AM
HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
Here's the steps I'm taking. Please let me know what I might be missing, or if there's any additional information that I can provide. Any help you can give will be much appreciated!
Install Apache 1.3.26:
cd /opt
gzip -d /opt/apache_1.3.26.tar.gz
tar -xvf apache_1.3.26.tar
cd apache_1.3.26
./configure --prefix=/opt/apache_php --enable-module=rewrite --enable-shared=rewrite --enable-shared=max
make
make install
Install PHP:
cd /opt
gzip -d php-4.2.2.tar.gz
tar -xvf php-4.2.2.tar
cd php-4.2.2
./configure --with-mysql=/opt/db/mysql --with-apxs=/opt/apache_php/bin/apxs --enable-libgcc
make
make install
NOTE: it will dcrash!
cp libs/libphp4.sl libs/libphp4.so
/opt/apache_php/bin/apxs -i -a -n php4 libs/libphp4.so
cp php.ini-dist /usr/local/lib/php.ini
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 12:06 AM
09-11-2002 12:06 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
We installed PHP4.2 on differents servers but not as modules because of problems of generation on HPUX with apache modules.
So we linked PHP as static library and it works ok.
Can you precise how it crashes?
Laurent
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 06:24 AM
09-11-2002 06:24 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
Here's the error message (truncated due to it's length):
$ ./apachectl configtest
/usr/lib/dld.sl: Unresolved symbol: mysql_list_dbs (code) from /opt/apache_php/libexec/libphp4.so
Syntax error on line 223 of /opt/apache_php/conf/httpd.conf:
Cannot load /opt/apache_php/libexec/libphp4.so into server: No such file or directory
$
Thanks,
Kathryn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 06:42 AM
09-11-2002 06:42 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
Do they have the same version of the compiler?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 07:01 AM
09-11-2002 07:01 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
Gcc on prod is 2.95.2 and gcc on dev is 3.1. Is that what you're asking for?
Kathryn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-11-2002 08:08 AM
09-11-2002 08:08 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
You said the make fails? If so what exact error message are you seeing when it fails?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-12-2002 05:31 AM
09-12-2002 05:31 AM
Re: HPUX 11.0 + Apache 1.3.26 + PHP 4.2.2
(Bundled) cc: "tradcpp.c", line 2628: error 1532: Reference through a non-pointer.
(Bundled) cc: "tradcpp.c", line 2628: error 1549: Modifiable lvalue required for assignment operator.
gmake[2]: *** [tradcpp.o] Error 1
gmake[2]: Leaving directory `/opt/gcc-3.1/gcc/gcc'
gmake[1]: *** [install-gcc] Error 2
gmake[1]: Leaving directory `/opt/gcc-3.1/gcc'
gmake: [install] Error 2 (ignored)
Thanks for the help,
Kathryn