PHP Include path doesn't make sense? -
i not understand error :
warning: include(): failed opening '/app/database/alsalemcorpdb.php' inclusion (include_path='.:/app/database/alsalemcorpdb.php') in /var/www/html/index.php on line 4
i have explicitly mentioned file in include_path, , chmoded file 777.
my code: include ("/app/database/alsalemcorpdb.php");
any ideas?
unless literally have /app
root-level folder on filesystem (ie. not domain root), should not have /
@ origin of path.
instead, try:
include("app/database/alsalemcorpdb.php");
php
No comments:
Post a Comment