Question

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

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 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**


Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hello,

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! Regards, Bobby