I installed php following steps in digital ocen, after installing i am not able access php

March 19, 2019 360 views
Initial Server Setup Configuration Management Linux Commands PHP Ubuntu 16.04

Php installation

following error is occuring
when i hit http://your_server_IP_address/info.php

**HTTP Status [404] – [Not Found]

Type Status Report

Message /info.php
[Example link](http://)
Description The origin server did not find a current representation for the target resource or is not willing to disclose that one exists.
Apache Tomcat/8.5.15**

1 Answer


It looks like that you have Tomcat running on port 80 already and this is why your Apache web server was not able to start.

You can only have 1 service listening on 1 port. What you could do is either move your Tomcat to listen on another port or move the Apache web server to listen on another port.

I would recommend moving Tomcat to listen on port 8080 for example, and if needed you could set a reverse proxy via your Apache web server to proxy the traffic to port 8080. That way you can use both services.

Hope that this helps!

Have another answer? Share your knowledge.