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 2 years ago.
Improve this question
We have a website deployed on apache (Ubuntu machine). After we restarted(stopped and started) the VM the website went down.
The website is written in PHP/Codeigniter
I have started the apache by:
sudo /etc/init.d/apache2 start
this is the status:
Feb 15 22:10:53 ***** systemd[1]: Starting The Apache HTTP Server...
Feb 15 22:10:53 ***** systemd[1]: Started The Apache HTTP Server.
We did not change anything in configs. I Never touched the codebase.
Checked the Apps Service, it is running well.
Any idea where to look at?
here Troubleshoot application connectivity issues on virtual machines in Azure,
and this Apache server not reachable inside Azure VM maybe is helpful
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 5 years ago.
Improve this question
I have everything configured and working great within my Xubuntu 16.04 machine, including localhost (I am using LAMP stack, apache2, php7.0).
I am struggling to configure the localhost on my Windows 7 machine so that I can view my work on my google chrome browser in the Windows environment. I wasn't able to find any tutorials on how to set this up. Do I need to configure this within the apache2.conf within the virtual machine or? Thanks for any help in advance.
I have tried localhost localhost:8080 and localhost:8081
If your computers are on the same network use the command "arp -a" on your windows machine to view all of the ip addresses on your network. Replace the localhost on your windows system with that of the one on the Xubuntu machine.
(Don't forget to add the port for the apache server!)
Localhost:8080 -> 192.186.0.30:8080
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
Ever since I have upgraded to windows 10, port 80 has been in use by the system. Is there anyway that I can stop the system from using port 80? Or can I change the port that apache uses?
Thanks
Edit: The process that is using port 80 is PID: 4
I had the same problem after upgrading to Windows 10, and for me, the culprit was the IIS service: "World Wide Web Publishing Service". After stopping/disabling it, it freed up port 80.
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 rented a Debian server using gandi.net. I linked the server to a domain name. When I go on the web on my_domain_name.com, I get :
It works!
This is the default web page for this server.
The web server software is running but no content has been added, yet.
This proves that apache2 is running, right? So the question is where do I add content?
In /home/username/ or where ?
I'm trying to run some index.php file and I don't know where to put it in order to run it. What's the path?
The default document root for apache2 is /var/www but that can be reconfigured if necessary.
To be sure that Apache is indeed running you can type:
ps -ef | grep apache
If this line of terminal code does not return something Apache is not running. If it returns something it is.
Good luck with your web server.
Apache has a default directory in somewhere like /var/www, but you can configure it to serve content in other directories. See Apache DocumentRoot
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