Report this

What is the reason for this report?

Php include fail, path and filename are corrects in a newly created droplet

Posted on January 4, 2017

Hi, I have an include fail error in a website i just uploaded to a nnewly created droplet. The website works well in my personal machine, i uploaded it with rsync ssh as root. What can be wrong? I would appreciate some help. Thanks



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.

What is the error? Does your personal machine environment match the Droplet?

this is ls -la in /var/www/html/inclusions/ :

drwxr-xr-x  2 1000 users 4096 Jan  4 14:09 .
drwxr-xr-x 14 root root  4096 Jan  4 14:10 ..
-rw-r--r--  1 1000 users 1592 Jan  3 14:21 inc_footer.php
-rw-r--r--  1 1000 users 7855 Jan  3 15:44 inc_header.php

actually this is the full error log after apache2 reinstall It seems apache is crashing :

[Wed Jan 04 15:18:01.497627 2017] [mpm_prefork:notice] [pid 25384] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jan 04 15:18:01.497770 2017] [core:notice] [pid 25384] AH00094: Command line: '/usr/sbin/apache2'
[Wed Jan 04 15:18:53.518668 2017] [mpm_prefork:notice] [pid 25384] AH00169: caught SIGTERM, shutting down
[Wed Jan 04 15:18:54.636550 2017] [mpm_prefork:notice] [pid 25682] AH00163: Apache/2.4.18 (Ubuntu) configured -- resuming normal operations
[Wed Jan 04 15:18:54.636658 2017] [core:notice] [pid 25682] AH00094: Command line: '/usr/sbin/apache2'

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.