Problem with Installing Lighttpd With PHP5 And MySQL Support On Fedora 11 (32Bit)

Discussion in 'HOWTO-Related Questions' started by dac9, Oct 6, 2009.

  1. dac9

    dac9 New Member

    Hey Guys,

    Tutorial:
    http://howtoforge.org/installing-lighttpd-with-php5-and-mysql-support-on-fedora-11

    I have followed this tutorial marked above, and I am having some issues. At the end of Step 5 after editing both the php.ini and the lighttpd.conf I restart Lighttpd and receive the following error:

    "Starting lighttpd: 2009-10-06 09:45:44: (configfile.c.864) source: /etc/lighttpd/lighttpd.conf line: 332 pos: 85 parser failed somehow near here: include_shell
    [FAILED]"

    So as you can see im stuck here. Below is a copy of my php.ini and my lighttpd.conf

    * PHP.ini
    * Lighttpd.conf

    Any help would be great. I'm stuck but am keen to resolve the issue.

    Regards,
    dac9
     
  2. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Pastebin is currently down... :(
    Anyway, please make sure that you introduced no syntax errors when you edited lighttpd.conf. Also, please make sure you saved the file with Unix linebreaks.
     
  3. dac9

    dac9 New Member

    Hey Falko,
    Thanks for the help so far. I have searched for errors but think it looks clean. I'm not sure how to check for line breaks I edited in vi so possible that may not be an issue.

    It seems paste bin is back up now also.

    Regards,
    dac9
     
  4. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    Can you add an empty line at the end of your lighttpd.conf? Maybe that helps.
     
  5. dac9

    dac9 New Member

    Hey Falko,

    I added a blank line at the bottom. There are now two and it did not make any difference.

    Regards,
    dac9
     
  6. falko

    falko Super Moderator Howtoforge Staff Moderator HowtoForge Supporter ISPConfig Developer

    What happens if you comment out the line
    Code:
    include_shell "find /etc/lighttpd/conf.d -maxdepth 1 -name '*.conf' -exec cat {} \;"
    ?
     

Share This Page