Hello,
I installed WordPress with one-click app and was following this tutorial: https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-web-server-and-reverse-proxy-for-apache-on-one-ubuntu-16-04-server#step-1-—-installing-apache-and-php-fpm
…and I’m stuck at Step 4, can not see can not see php_info file.
Here’s the log.
========================================================================== (yesterday)
[Tue Mar 07 06:25:03.271940 2017] [mpm_prefork:notice] [pid 12713] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Tue Mar 07 06:25:03.272020 2017] [core:notice] [pid 12713] AH00094: Command line: ‘/usr/sbin/apache2’ [Tue Mar 07 07:07:20.663598 2017] [mpm_prefork:notice] [pid 12713] AH00171: Graceful restart requested, doing restart AH00112: Warning: DocumentRoot [/var/lib/letsencrypt/tls_sni_01_page/] does not exist [Tue Mar 07 07:07:21.009328 2017] [ssl:warn] [pid 12713] AH01906: b314add6559a372ee4df6d18bd898c47.200a7e860421825b7178a0728225e0c8.acme.invalid:443:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?) [Tue Mar 07 07:07:21.009508 2017] [mpm_prefork:notice] [pid 12713] AH00163: Apache/2.4.18 (Ubuntu) OpenSSL/1.0.2g configured – resuming normal operations [Tue Mar 07 07:07:21.009518 2017] [core:notice] [pid 12713] AH00094: Command line: ‘/usr/sbin/apache2’ [Tue Mar 07 07:07:30.088756 2017] [mpm_prefork:notice] [pid 12713] AH00171: Graceful restart requested, doing restart [Tue Mar 07 07:07:30.615716 2017] [mpm_prefork:notice] [pid 12713] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Tue Mar 07 07:07:30.615765 2017] [core:notice] [pid 12713] AH00094: Command line: ‘/usr/sbin/apache2’ [Tue Mar 07 13:20:34.208506 2017] [pagespeed:error] [pid 23810] [mod_pagespeed 1.11.33.5-0 @23810] Slow ReadFile operation on file /var/cache/mod_pagespeed/rname/aj_XlYOOzLJK9qlgmWfHI8M/http,3A/,2F128.199.247.252/wp-content/uploads/2017/02/SIMreg_Mobile25402x-100x70.jpg,40,40_,: 91.507ms; configure SlowFileLatencyUs to change threshold\n [Wed Mar 08 01:43:45.492343 2017] [pagespeed:error] [pid 26683] [mod_pagespeed 1.11.33.5-0 @26683] Slow ReadFile operation on file /var/cache/mod_pagespeed/rname/ce_XlYOOzLJK9qlgmWfHI8M/http,3A/,2Ftechable.io/wp-content/themes/Newspaper/images/sprite/weather/rain-n.png,40,40_,: 52.115ms; configure SlowFileLatencyUs to change threshold\n [Wed Mar 08 02:49:43.002038 2017] [mpm_prefork:notice] [pid 12713] AH00171: Graceful restart requested, doing restart [Wed Mar 08 02:49:43.297722 2017] [mpm_prefork:notice] [pid 12713] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Wed Mar 08 02:49:43.297766 2017] [core:notice] [pid 12713] AH00094: Command line: ‘/usr/sbin/apache2’ [Wed Mar 08 02:56:30.309065 2017] [mpm_prefork:notice] [pid 12713] AH00171: Graceful restart requested, doing restart [Wed Mar 08 02:56:30.451064 2017] [mpm_prefork:notice] [pid 12713] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Wed Mar 08 02:56:30.451101 2017] [core:notice] [pid 12713] AH00094: Command line: ‘/usr/sbin/apache2’ [Wed Mar 08 05:26:04.724687 2017] [mpm_prefork:notice] [pid 12713] AH00169: caught SIGTERM, shutting down [Wed Mar 08 05:26:05.881319 2017] [mpm_prefork:notice] [pid 1397] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Wed Mar 08 05:26:05.881403 2017] [core:notice] [pid 1397] AH00094: Command line: ‘/usr/sbin/apache2’
========================================================================== (today)
[Wed Mar 08 06:25:03.040079 2017] [mpm_prefork:notice] [pid 1397] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Wed Mar 08 06:25:03.040174 2017] [core:notice] [pid 1397] AH00094: Command line: ‘/usr/sbin/apache2’ [Thu Mar 09 01:57:45.009454 2017] [mpm_prefork:notice] [pid 1397] AH00171: Graceful restart requested, doing restart [Thu Mar 09 01:57:45.103193 2017] [mpm_prefork:notice] [pid 1397] AH00163: Apache/2.4.18 (Ubuntu) configured – resuming normal operations [Thu Mar 09 01:57:45.103237 2017] [core:notice] [pid 1397] AH00094: Command line: ‘/usr/sbin/apache2’
========================================================================== As I check apache2 on 8080,
Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 127.0.0.1:3306 0.0.0.0:* LISTEN 20450/mysqld tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 2526/sshd tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2814/master tcp6 0 0 :::8080 :::* LISTEN 1397/apache2 tcp6 0 0 :::22 :::* LISTEN 2526/sshd tcp6 0 0 ::1:25 :::* LISTEN 2814/master
==========================================================================
Please help. Thanks in advance.
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.
Sign up for Infrastructure as a Newsletter.
Working on improving health and education, reducing inequality, and spurring economic growth? We'd like to help.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
I think the one-click installation has firewall enabled by default. Please run this command:
Thanks @hansen and @jtittle ! Your answers are precious and it’s working now.