Question

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

Posted March 19, 2019 435 views
PHPConfiguration ManagementLinux CommandsUbuntu 16.04Initial Server Setup

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

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.

×
1 answer

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

Submit an Answer