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.

how to properly enable fcgi?

Discussion in 'CloudLinux' started by zeki, Feb 18, 2015.

  1. zeki

    zeki Member

    Joined:
    Jun 19, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    So it seems fcgi needs a lot of modifications to get it working.
    In my apache error_logs I get a bunch of permission denied

    mod_fcgid: stderr: PHP Warning: file_put_contents(/home/user/public_html/config/xml/must_have_modules_list.xml): failed to open stream: Permission denied
    mod_fcgid: stderr: PHP Fatal error: Uncaught --> Smarty: unable to write file /home/user/public_html/cache/smarty/compile/ad/9c/bb/wrt54e49b8ca76344_14554329 <-- , referer: https:// user.com/clothing/106-chevron-and-stripe-print-longline-cardigan.html
    [Wed Feb 18 06:02:52 2015] [warn] [client 199.27.128.151] mod_fcgid: stderr: thrown in /home/user/public_html/tools/smarty/sysplugins/smarty_internal_write_file.php on line 46, referer: https:// user.com/clothing/106-chevron-and-stripe-print-longline-cardigan.html

    i've tried changing user to nobody, tried changing permission 644 and 755, disabled openbased_dir, disabled suexec, disabled selinux, ran cagefsctl --force-update
    still getting error.
    what else do i need to modify?
     
    #1 zeki, Feb 18, 2015
    Last edited: Feb 18, 2015
  2. zeki

    zeki Member

    Joined:
    Jun 19, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    Oh i tried again tonight. i enabled fcsuexec then ran cagefsctl --force-update and i don't get the write permissions anymore.
    i think solved for now
     
  3. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...
Similar Threads - properly enable fcgi
  1. anup123
    Replies:
    5
    Views:
    1,947
  2. sonalsoft
    Replies:
    3
    Views:
    1,154

Share This Page