I following this tutorial corectly : http://howtoforge.com/installing-lighttpd-with-php5-and-mysql-support-on-fedora-14

But now i got this error :

    [root@fedora lighttpd]# /etc/init.d/lighttpd start
Starting lighttpd: 2011-03-24 00:06:03: (configfile.c.907) source: /etc/lighttpd/lighttpd.conf line: 326 pos: 92 parser failed somehow near here: include_shell 

How i can fix this? thanks...

  • Since it's something related to the confif file we should read the file content – David Costa Mar 24 '11 at 8:10
  • Please check this out : paste.lighttpd.net/1559 – Alzea Arafat Mar 24 '11 at 9:41
  • Lines from 216 to 222 should be uncommented, wipe away the starting pund sign. – David Costa Mar 24 '11 at 9:49
  • Still not working... [root@fedora lighttpd]# /etc/init.d/lighttpd start Starting lighttpd: 2011-03-24 16:55:29: (configfile.c.848) source: find /etc/lighttpd/lighttpd.conf line: 1 pos: 1 invalid character in variable name 2011-03-24 16:55:29: (configfile.c.904) configfile parser failed at: 2011-03-24 16:55:29: (configfile.c.907) source: /etc/lighttpd/lighttpd.conf line: 328 pos: 1 parser failed somehow near here: (EOL) [FAILED] – Alzea Arafat Mar 24 '11 at 9:55
  • change the last line from – David Costa Mar 24 '11 at 10:07

In order to make lighty work, starting from this file: http://paste.lighttpd.net/1559 You have to:

Configuration syntax corrections:

  1. Uncomment the PHP-fastcgi section so that it opens and close the right number of parenthesis.
  2. Comment the last line which doesn't return valid configuration data + it's a nonsense (to me)

Configure the service to start:

  1. On fedora core use its tools to STOP every other service that uses the port 80 tcp (i.e. Apache)
  2. Using these tools configure lighttpd as a service to be run on the default runlevel.

A brief explanation about the fedora core service configuration tools can be found here: http://www.fedorafaq.org/basics/#services


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.