- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- "/etc/init.d/httpd start" and "service httpd start...
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
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
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
тАО12-19-2007 12:07 AM
тАО12-19-2007 12:07 AM
"/etc/init.d/httpd start" and "service httpd start"
When i try with "/etc/init.d/httpd start", my application work correctly
Butwhen i try with "service httpd start", my PHP application is not able to connect the oracle database.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 01:03 AM
тАО12-19-2007 01:03 AM
Re: "/etc/init.d/httpd start" and "service httpd start"
Now, when you say your 'PHP application', are you saying that using this method of starting your web server doesn't load the PHP module? Doesn't find the Oracle database plugin into PHP?
Look at the http error log and php's error log, and give us some more details.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 04:29 AM
тАО12-19-2007 04:29 AM
Re: "/etc/init.d/httpd start" and "service httpd start"
env -i LANG="$LANG" PATH="$PATH" TERM="$TERM" "${SERVICEDIR}/${SERVICE}" ${OPTIONS}
Where $SERVICEDIR variable is "/etc/init.d"
$SERVICE is the first argument to the service command. (in case you ran service httpd start - $SERVICE will have httpd)
$OPTIONS is the second argument to the service command (in case you ran service httpd start - $OPTIONS will have start).
Hope this helps.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 06:36 AM
тАО12-19-2007 06:36 AM
Re: "/etc/init.d/httpd start" and "service httpd start"
There are no error in the http or php error logs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 06:50 AM
тАО12-19-2007 06:50 AM
Re: "/etc/init.d/httpd start" and "service httpd start"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО12-19-2007 12:36 PM
тАО12-19-2007 12:36 PM
Re: "/etc/init.d/httpd start" and "service httpd start"
# Set HTTPD=/usr/sbin/httpd.worker in /etc/sysconfig/httpd to use a server
# with the thread-based "worker" MPM; BE WARNED that some modules may not
# work correctly with a thread-based MPM; notably PHP will refuse to start.
It starts at line 27.
Plese check if this comment apply to your environment.
Regards