HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HP PHP won't start
Operating System - HP-UX
1834597
Members
4178
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
03-08-2005 03:13 AM
03-08-2005 03:13 AM
I'm running the standard package of HP webadmin tools, and I SWEAR I had PHP (part of Tomcat, I think) running properly before. The other day I tried to run one of my PHP links, and my browser was forced to try and download it as a file.
So I looked at /opt/apache2/etc/httpd.conf, and the LoadModule php4_module was commented out. Weird.
I uncommented, and stopped and started apache, and got:
bede:/sbin/init.d> /opt/apache2/bin/apachectl start
Syntax error on line 249 of /opt/apache2/etc/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved symbol: apr_table_elts (code) from /opt/hpws/apache/modules/libphp4.so
/opt/apache2/bin/apachectl start: httpd could not be started
If I search the forums, I see where some people had the same problem and installed a patch (I forget which now) and it was resolved. I installed the patch, but no dice, same error.
I'm wondering if something else I installed overwrote a library that PHP needs, but I dunno what that might be or when I installed it; this is just a box I use for light web hosting and testing, unless I'm developing something I only log in every few weeks.
Thanks for any help you can lend!!!
So I looked at /opt/apache2/etc/httpd.conf, and the LoadModule php4_module was commented out. Weird.
I uncommented, and stopped and started apache, and got:
bede:/sbin/init.d> /opt/apache2/bin/apachectl start
Syntax error on line 249 of /opt/apache2/etc/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved symbol: apr_table_elts (code) from /opt/hpws/apache/modules/libphp4.so
/opt/apache2/bin/apachectl start: httpd could not be started
If I search the forums, I see where some people had the same problem and installed a patch (I forget which now) and it was resolved. I installed the patch, but no dice, same error.
I'm wondering if something else I installed overwrote a library that PHP needs, but I dunno what that might be or when I installed it; this is just a box I use for light web hosting and testing, unless I'm developing something I only log in every few weeks.
Thanks for any help you can lend!!!
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 03:43 AM
03-08-2005 03:43 AM
Solution
Seems a bit strange.
Which HP apache port did you use?
I did the 2.10 install on several hp-9000 servers and did not run into this issue.
I think something has hammered php and reinstallation of the apache package may be warranted.
SEP
Which HP apache port did you use?
I did the 2.10 install on several hp-9000 servers and did not run into this issue.
I think something has hammered php and reinstallation of the apache package may be warranted.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
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
03-08-2005 06:23 AM
03-08-2005 06:23 AM
Re: HP PHP won't start
It was probably because I'm an idiot and was running the apache I built from source in /opt/apache2.
I did do the reinstall, and while checking to figure out where it put the files, remembered all about /opt/hpws. Apache started up fine, and my php files are running correctly.
Thanks for your help!
I did do the reinstall, and while checking to figure out where it put the files, remembered all about /opt/hpws. Apache started up fine, and my php files are running correctly.
Thanks for your help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-08-2005 06:27 AM
03-08-2005 06:27 AM
Re: HP PHP won't start
/opt/apache2/bin/apachectl start
/opt/apache2/etc/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved
You have two apache root, /opt/apache2 and /opt/hpws/apache
Try start apache from /opt/hpws/apache/bin
/opt/apache2/etc/httpd.conf:
Cannot load /opt/hpws/apache/modules/libphp4.so into server: Unresolved
You have two apache root, /opt/apache2 and /opt/hpws/apache
Try start apache from /opt/hpws/apache/bin
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP