HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   HOWTO-Related Questions (http://www.howtoforge.com/forums/forumdisplay.php?f=2)
-   -   Problem with Installing Lighttpd With PHP5 And MySQL Support On Fedora 11 (32Bit) (http://www.howtoforge.com/forums/showthread.php?t=39886)

dac9 6th October 2009 01:23

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

Tutorial:
http://howtoforge.org/installing-lig...t-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

falko 6th October 2009 13:48

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.

dac9 7th October 2009 00:11

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

falko 7th October 2009 13:54

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

dac9 8th October 2009 02:46

Hey Falko,

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

Regards,
dac9

falko 8th October 2009 17:03

What happens if you comment out the line
Code:

include_shell "find /etc/lighttpd/conf.d -maxdepth 1 -name '*.conf' -exec cat {} \;"
?


All times are GMT +2. The time now is 01:07.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.