SugarCRM Install on ISPConfig3 w/ SuPHP

Discussion in 'Installation/Configuration' started by clucena, Feb 8, 2010.

  1. clucena

    clucena New Member

    I have ISPConfig 3 running on CentOS 5.4. I followed the guide and was able to install beautifully! I even upgraded from php 5.1.6 to 5.2 and I am running RoundCube.

    I tried to install SugarCRM on a client vhost and with mod_php and it installed perfectly and I was able to use SugarCRM. However, I want the vhosts to be secure. So I switched it to SuPHP and now I get the following errors:

    ----------------------------------------------------------

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Users/Uservardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Users/Uservardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Users/Uservardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Users/Uservardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/EmailAddresses/EmailAddressvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/EmailAddresses/EmailAddressvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/EmailAddresses/EmailAddressvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/EmailAddresses/EmailAddressvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Administration/Administrationvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Administration/Administrationvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Administration/Administrationvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Administration/Administrationvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: session_start() [function.session-start]: open(/var/lib/php/session/sess_l1visdj2og6bofa2ttb8eklbi6, O_RDWR) failed: Permission denied (13) in /var/www/clients/client1/web1/web/sugarcrm/include/MVC/SugarApplication.php on line 426

    Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php:115) in /var/www/clients/client1/web1/web/sugarcrm/include/MVC/SugarApplication.php on line 426

    Warning: Cannot modify header information - headers already sent by (output started at /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php:115) in /var/www/clients/client1/web1/web/sugarcrm/include/utils.php on line 2511

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/ACLActions/ACLActionvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/ACLActions/ACLActionvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/ACLActions/ACLActionvardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/ACLActions/ACLActionvardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Users/Uservardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Users/Uservardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Users/Uservardefs.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: include() [function.include]: Failed opening 'cache/modules/Users/Uservardefs.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/VardefManager.php on line 115

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: include(cache/modules/Users/language/en_us.lang.php) [function.include]: failed to open stream: No such file or directory in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/LanguageManager.php on line 105

    Warning: include() [function.include]: Failed opening 'cache/modules/Users/language/en_us.lang.php' for inclusion (include_path='/var/www/clients/client1/web1/web/sugarcrm/include/..:.:/usr/share/pear:/usr/share/php') in /var/www/clients/client1/web1/web/sugarcrm/include/SugarObjects/LanguageManager.php on line 105

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/style.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/style.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/yui.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/yui.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/deprecated.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/deprecated.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.sugar.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.sugar.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.red.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.red.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.green.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.green.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.blue.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.blue.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.purple.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.purple.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/colors.gray.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/colors.gray.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/fonts.normal.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/fonts.normal.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/fonts.larger.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/fonts.larger.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/css/fonts.largest.css because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/css/fonts.largest.css) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: mkdir() [function.mkdir]: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 59

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/js/style.js because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: file_put_contents(cache/themes/Sugar/js/style.js) [function.file-put-contents]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 130

    Warning: touch() [function.touch]: Unable to create file cache/themes/Sugar/js/style.js because Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 161

    Warning: fopen(cache/themes/Sugar/js/style.js) [function.fopen]: failed to open stream: Permission denied in /var/www/clients/client1/web1/web/sugarcrm/include/utils/sugar_file_utils.php on line 103

    Fatal error: Failed to open "cache/themes/Sugar/js/style.js in /var/www/clients/client1/web1/web/sugarcrm/jssource/jsmin.php on line 733


    -------------------------------------------------------------

    Anyone know why that is? Do I need a separate php file for each user when using suPHP or can it use the general copy as default at: /etc/php.ini? If I need it's own php.ini file, where is the best location to put it?

    I really want it secure and i know suPHP is more secure than mod_php... any help is much appreciated.

    Thanks,
    Chris
     
  2. till

    till Super Moderator

    Looks as if the files are not owned by the web user and group. Please run:

    chown -R web1:client1 /var/www/clients/client1/web1/

    and try again.
     

Share This Page