Hello, I have basically followed these recommend tutorials: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04 https://www.digitalocean.com/community/tutorials/how-to-install-the-apache-web-server-on-ubuntu-16-04
I requested a droplet that already had LAMP installed. When I get to this part: You will see the default Ubuntu 16.04 Apache web page, which is there for informational and testing purposes. It should look something like this: <img file>
Instead when I go to the public IP for my pages I get this message: Please log into your droplet via SSH to configure your LAMP installation.
So I checked to see if the ports were open and the process was running:
root@lamp-512mb-nyc3-01:~# sudo systemctl status apache2 ● apache2.service - LSB: Apache2 web server Loaded: loaded (/etc/init.d/apache2; bad; vendor preset: enabled) Drop-In: /lib/systemd/system/apache2.service.d └─apache2-systemd.conf Active: active (running) since Sun 2017-08-13 21:36:48 UTC; 1h 14min ago Docs: man:systemd-sysv-generator(8) Process: 23428 ExecStop=/etc/init.d/apache2 stop (code=exited, status=0/SUCCES Process: 20547 ExecReload=/etc/init.d/apache2 reload (code=exited, status=0/SU Process: 23455 ExecStart=/etc/init.d/apache2 start (code=exited, status=0/SUCC Tasks: 7 Memory: 16.7M CPU: 618ms CGroup: /system.slice/apache2.service ├─23472 /usr/sbin/apache2 -k start ├─23475 /usr/sbin/apache2 -k start ├─23476 /usr/sbin/apache2 -k start ├─23477 /usr/sbin/apache2 -k start ├─23478 /usr/sbin/apache2 -k start ├─23479 /usr/sbin/apache2 -k start └─23482 /usr/sbin/apache2 -k start
Aug 13 21:36:46 lamp-512mb-nyc3-01 systemd: Stopped LSB: Apache2 web server. Aug 13 21:36:46 lamp-512mb-nyc3-01 systemd: Starting LSB: Apache2 web server. Aug 13 21:36:46 lamp-512mb-nyc3-01 apache2: * Starting Apache httpd web Aug 13 21:36:48 lamp-512mb-nyc3-01 apache2: * Aug 13 21:36:48 lamp-512mb-nyc3-01 systemd: Started LSB: Apache2 web server. Aug 13 22:48:29 lamp-512mb-nyc3-01 systemd: Started LSB: Apache2 web server.
root@lamp-512mb-nyc3-01:~# I have to hit CTRL + C to get out of this process.
The info.php page is working correctly, maybe I just won’t get the configuration page like the example because Apache was preinstalled?
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!
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $200 of credit to try our products over 60 days!