Archive for the ‘Cpanel & WHM’ Category
Just create a directory:
# mkdir -p /usr/local/apache/conf/userdata/(std|ssl)/2/yourusername/yourmaindomain.com
Here are the two common situations of adding custom changes:
Changes added inside a
This is very simple as we only need to create a single file that will contain our changes. But we need to understand the correct location on where to place this file so that our changes will be read properly.
Here are some common errors:
SoftException in Application.cpp:357: UID of script "/home/user/public_html/test.php" is smaller than min_uid SoftException in Application.cpp:422: Mismatch between target UID (511) and UID (510) of file "/home/user/public_html/test.php" SoftException in Application.cpp:264: File "/home/user/public_html/test.php" is writeable by others
Cpanel has own the locations of logs files to store and retrieve the information.
tail -F /var/log/dmesg
tail -F /var/log/messages