Control Web Panel
WebPanel => PHP => Topic started by: richyb on November 05, 2015, 04:25:06 PM
-
I have website setup like domain.com/category/pagename.html and i have added a php include to the very top of the pagename.html file : <?php include('../folder/file.php'); ?>
The problem is this is showing in the page source which means its not able to find the file.php.
I have correctly setup a php.ini file and the htaccess file in the root of the domain as i use the same setup on another server which uses WHM/Cpanel and works pefectly.
Is there anything i need to configure within CWP for this to work correctly.
-
There is no special configuration. You can check your php error log to see if something is missing.
-
So I have that specific issue and Ha reinstalled Centos and Centos web-panel... an the problem presist.
Only *.html websites ar working.
-
Hi, check the /usr/loca/apache/logs/error_log for error.
So I have that specific issue and Ha reinstalled Centos and Centos web-panel... an the problem presist.
Only *.html websites ar working.