Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
i have a big system and query load on my apache server so crash when more query fire on mysql
how can i restart my apache server automatically when it stop?
Automatically restart your Apache web server when it crashes or stops serving pages
Please follow the link, i think it will definitely help you out
Automatically restart your apache server
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 months ago.
This post was edited and submitted for review 8 months ago and failed to reopen the post:
Original close reason(s) were not resolved
Improve this question
I configured my Environment using Amazon Linux 2 with Apache server. My instance goes from OK to severe very frequently due to 4xx error. I am trying to enable "Ignore Application 4xx" on my environment but I didn't find the following option screen in my Health Monitoring page.
My Health monitoring screen shows following options:
Try this
RewriteEngine on
ErrorDocument 404 http://websitename.com/404page.php
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have an apache server running Apache/mod_php.
On Fresh start and when using sudo service apache2 restart the correct php.ini file is loaded:
Doing a graceful reload of apache i.e "sudo service apache2 graceful" results in php loading a different php.ini (which is non-existing on filesystem):
What could be causing this and any ideas on how to resolve it?
From http://php.net/php.ini:
Note:
The Apache web server changes the directory to root at startup, causing PHP to attempt to read php.ini from the root filesystem if it exists.
Are you sure /php.ini does not exist?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
Is there a way to find out if more than 1 MySQL server installed on a server?
Situation: I'm running an Ubuntu 14.04 with MySQL server installed by plesk, however the service is not starting automatically. I'm assuming that I have another MySQL server which starts instead of the correct one.
Any guide will be appreciated.
use below command if any mysql service is running on your server-
ps -aux | grep mysql
It will show you how many mysql services are running on server or not.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I own a site installed on my linux server but when I put PHP tags at the beginning of page, the source code appears..
How to avoid all the source code displayed ?
thank you in advance
This means that you are being served the file by Apache without it first being seen (processed) by PHP. Here are some troubleshooting tips as to why it isn't being processed by PHP:
Make sure that your file with the PHP tags ends in .php.
Make sure PHP is installed on your server. To install PHP on a debian server run sudo apt-get install php5
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
i used
echo exec("whoami");
and i got
authority\system
and in my httpd.conf
it says
User daemon
Group daemon
why is it not running on the right user ?
also i checked and created the user and restarted apache but still it's running under system
User and Group are ignored on non-POSIX systems. You need to modify the relevant service entry instead under Windows.