The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Files folders permission errors

Discussion in 'CloudLinux' started by Cleron, Mar 31, 2016.

  1. Cleron

    Cleron Registered

    Joined:
    Mar 4, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hi everyone!

    I'm using below settings & have many problems with file-folder permissions in my server.
    Is there any miss-configuration, I have did?

    Option Configured Value
    Default PHP Version (.php files) 5
    PHP 5 Handler dso

    Apache suEXEC on
    Apache Ruid2 off

    (Please note, I'm a newbie to operate a server + cloudlinux)

    Thank you!
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,776
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Could you provide more details about the specific error messages you notice? For instance, what's output to /usr/local/apache/logs/error_log when this happens?

    Thank you.
     
  3. Cleron

    Cleron Registered

    Joined:
    Mar 4, 2016
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Italy
    cPanel Access Level:
    Root Administrator
    Hello!

    In the above info, I have use that Apache Settings to the Symlink Protection.

    And the important thing is, when users create some uploads, updates or script installation via cPanel, it's displaying an error as, folder (& sub folders) is not writable.

    Code:
    [Fri Apr 01 13:53:47.631315 2016] [:error] [pid 20848] [client 82.145.209.78:57332] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publi$
    [Fri Apr 01 13:54:26.094080 2016] [:error] [pid 20955] [client 66.249.65.62:52624] PHP Warning:  include(_adsense/text_image_336x280.php): failed to open stream: No su$
    [Fri Apr 01 13:54:26.094127 2016] [:error] [pid 20955] [client 66.249.65.62:52624] PHP Warning:  include(_adsense/text_image_336x280.php): failed to open stream: No su$
    [Fri Apr 01 13:54:26.094143 2016] [:error] [pid 20955] [client 66.249.65.62:52624] PHP Warning:  include(): Failed opening '_adsense/text_image_336x280.php' for inclus$
    [Fri Apr 01 13:54:26.627201 2016] [:error] [pid 19707] [client 141.0.14.53:46885] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public_$
    [Fri Apr 01 13:54:44.982988 2016] [:error] [pid 20844] [client 141.0.14.94:56623] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public_$
    [Fri Apr 01 13:54:57.436041 2016] [:error] [pid 20848] [client 141.0.15.74:40609] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public_$
    [Fri Apr 01 13:55:19.335578 2016] [:error] [pid 20748] [client 82.145.218.61:33906] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publi$
    [Fri Apr 01 13:56:10.422085 2016] [:error] [pid 20854] [client 62.210.148.91:33563] script '/home/bhagyav1/public_html/example.com/wp-login.php' not found or unabl$
    [Fri Apr 01 13:56:30.531579 2016] [:error] [pid 19707] [client 141.0.14.192:35172] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public$
    [Fri Apr 01 13:57:37.318451 2016] [:error] [pid 22096] [client 107.167.106.137:59441] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/pub$
    [Fri Apr 01 13:58:28.464272 2016] [:error] [pid 21845] [client 107.167.106.137:34286] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/pub$
    [Fri Apr 01 13:59:16.770475 2016] [:error] [pid 22137] [client 141.0.14.55:42415] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public_$
    [Fri Apr 01 13:59:17.182817 2016] [:error] [pid 22223] [client 82.145.219.189:53672] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publ$
    [Fri Apr 01 14:00:30.460085 2016] [core:error] [pid 16737] [client 169.229.3.91:55717] AH00126: Invalid URI in request \x1b\x9d\x07\x0c\x1ezW\xd6
    [Fri Apr 01 14:00:31.341763 2016] [:error] [pid 22223] [client 94.207.92.3:60057] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/nethumuthu/publi$
    [Fri Apr 01 14:00:31.689980 2016] [:error] [pid 21845] [client 94.207.92.3:22170] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public_$
    [Fri Apr 01 14:00:34.943587 2016] [:error] [pid 16737] [client 82.145.211.177:55330] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publ$
    [Fri Apr 01 14:01:10.112615 2016] [:error] [pid 23096] [client 141.0.15.174:52873] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public$
    [Fri Apr 01 14:01:53.738396 2016] [:error] [pid 23083] [client 82.145.219.58:53838] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publi$
    [Fri Apr 01 14:01:57.974310 2016] [:error] [pid 21845] [client 107.167.108.247:47869] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/pub$
    [Fri Apr 01 14:02:47.392653 2016] [:error] [pid 22138] [client 82.145.218.81:39690] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publi$
    [Fri Apr 01 14:02:51.957634 2016] [:error] [pid 22289] [client 82.145.217.195:35745] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publ$
    [Fri Apr 01 14:03:43.540508 2016] [:error] [pid 23309] [client 82.145.218.81:24762] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publi$
    [Fri Apr 01 14:04:01.845974 2016] [mpm_prefork:notice] [pid 3191] AH00171: Graceful restart requested, doing restart
    [Fri Apr 01 14:04:01.928996 2016] [:notice] [pid 3191] mod_hostinglimits: use Min UID 0
    [Fri Apr 01 14:04:01.929012 2016] [:notice] [pid 3191] mod_hostinglimits: use old style for LVE exit
    [Fri Apr 01 14:04:01.929016 2016] [:notice] [pid 3191] mod_hostinglimits: version 1.0-23. LVE mechanism enabled
    [Fri Apr 01 14:04:01.929019 2016] [:notice] [pid 3191] mod_hostinglimits: found apr extention version 3
    [Fri Apr 01 14:04:01.929026 2016] [:notice] [pid 3191] mod_hostinglimits: apr_lve_environment_init_group_minuid check ok
    [Fri Apr 01 14:04:02.005840 2016] [mpm_prefork:notice] [pid 3191] AH00163: Apache/2.4.18 (Unix) OpenSSL/1.0.1e-fips mod_bwlimited/1.4 PHP/5.6.19 configured -- resuming$
    [Fri Apr 01 14:04:02.005858 2016] [core:notice] [pid 3191] AH00094: Command line: '/usr/local/apache/bin/httpd -D SSL'
    [Fri Apr 01 14:04:51.000232 2016] [:error] [pid 23390] [client 66.249.69.15:48631] script '/home/bhagyav1/public_html/example.com/i2222index.php' not found or una$
    [Fri Apr 01 14:04:52.228035 2016] [:error] [pid 23407] [client 107.167.112.157:38615] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/pub$
    [Fri Apr 01 14:04:59.197984 2016] [:error] [pid 23486] [client 141.0.14.235:53871] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/public$
    [Fri Apr 01 14:06:56.320995 2016] [:error] [pid 24373] [client 82.145.208.189:49992] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publ$
    [Fri Apr 01 14:07:16.023584 2016] [:error] [pid 24336] [client 107.167.106.137:41176] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/pub$
    [Fri Apr 01 14:07:32.699905 2016] [:error] [pid 24528] [client 82.145.219.189:49457] PHP Parse error:  syntax error, unexpected 'ch3' (T_STRING) in /home/bhagyav1/publ$
    
    
     
    #3 Cleron, Apr 1, 2016
    Last edited by a moderator: Apr 4, 2016
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,776
    Likes Received:
    663
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The error messages suggest an issue with your PHP code as opposed to a permission/ownership problem. The following third-party URL explains the general reasons for PHP syntax errors:

    PHP Parse/Syntax Errors; and How to solve them?

    Did you make any specific changes before noticing this issue?

    Thank you.
     
Loading...

Share This Page