- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: php error when start Apache
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
11-20-2004 05:55 PM
11-20-2004 05:55 PM
# Bundle(s):
#
HPUXEng32RT B.11.00.01 English HP-UX 32-bit Runtime Environment
UXCoreMedia B.11.00.01 HP-UX Media Kit (Reference Only. See Description)
XSWGR1100 B.11.00.47.08 General Release Patches, November 1999 (ACE)
hpuxwsApache A.2.0.52.00 HP-UX Apache-based Web Server
hpuxwsTomcat A.4.1.29.04 HP-UX Tomcat-based Servlet Engine
hpuxwsWebmin A.1.070.02 HP-UX Webmin-based Admin
# pwd
/opt/hpws/apache
# cd bin
# ./apachectl start
/usr/lib/dld.sl: Unresolved symbol: dlsym (code) from /opt/hpws/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlerror (code) from /opt/hpws/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlopen (code) from /opt/hpws/apache/modules/libphp4.so
/usr/lib/dld.sl: Unresolved symbol: dlclose (code) from /opt/hpws/apache/modules/libphp4.so
Syntax error on line 223 of /opt/hpws/apache/conf/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved external
===============================================
I enable PHP by referencing
http://www.hp.com/products1/unix/webservers/apache/faqs/#php1
However, it display this error. I am using v11.00 OS. with latest HP-UX Web Server Suite v.2.10. I am wondering why it display this error. PHP bundled with this Suite have problem too ? Should I need to do something ? I had searched info in internet. It seems that I need to install PHP4 again after installing this Suite. But, I do not think that HP do this kind of careless thing when produce this Suite in Oct 2004. Anyone know why ?
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2004 07:03 PM
11-20-2004 07:03 PM
Re: php error when start Apache
If those files were deleted restore them. They are probably present.
If they are present, check these two environment varaibles in your startup script:
PATH
SHLIB_PATH
make sure SHLIB_PATH is set in the startup script, which should be in /sbin/init.d
This assumes that you installed the Integrated apache/php depot set from HP. If apache was already on the system from compile or something, I'd recommend starting over with the depot for HPWeb Suite at http://software.hp.com
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-20-2004 10:11 PM
11-20-2004 10:11 PM
Re: php error when start Apache
v11.00 is clean install. I install latest HP-UX Web Server 2.10 from HP depot file by all default setting and complete installation. Can you see the attach apachectl file. It seems to be ok with the PATH exported in the apachectl file.
Any idea ? Many thanks.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 12:56 PM
11-21-2004 12:56 PM
Re: php error when start Apache
That is probably not the apache file associated with the hpws installation you did. It appears to be an oracle adaptation intended for the Oracle ias product.
SLIB_PATH must include the directory /usr/lib
Please take a look at the /sbin/init.d directory for another file that looks like apachectl
At this moment I can't look at my D320 box because a power failure brought it down. The UPS didn't work and I'm not turning the box back on until I figure out whats wrong with the UPS.
I think you are merely using the wrong startup script.
I'll try and get my box back up in a few hours and post back to the thread with the correct script.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 02:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-21-2004 03:08 PM
11-21-2004 03:08 PM
Re: php error when start Apache
The script you should be activating to start the HPWS apache port you have installed is:
/sbin/init.d/hpws_apache
The script you posted is for oracle ias apache httpd server. It is quite similar and can co-exist with the HP version. You just need to decide who gets what port. The Oracle product does not defaul to 80.
I like that linker patch idea too.
Good Luck,
Getting some sleep.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-22-2004 01:01 AM
11-22-2004 01:01 AM
Re: php error when start Apache
I had installed the following and the problem is gone.
ref: The latest patch newer than PHSS_24303 s700_800 11.00 ld(1) and linker tools cumulative patch : PHSS_30967 1.0 linker tools cumulative patch