Question

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

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


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.

Want to learn more? Join the DigitalOcean Community!

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.

resolved. It was a database driver error

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'

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