Re: [WebDNA] lighttpd.conf for php and webdna?
This WebDNA talk-list message is from 2013
It keeps the original formatting.
numero = 110081
interpreted = N
texte = Actually PHP is working fine.The syntax I used in the lighttpd.conf file did not work for some reason, even though it precisely follows the example in the docs on the lighttpd website. I found a work-around that uses a different syntax which doesn't matter on my dev machine, so I'm good to go -- until I have to move things to a live server.Sincerely,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWebDNA Programming and Linux Server Administration> Well, it looks like WebDNA is working but PHP not.. so> I'd check the other talk lists. You may also want to> check your logs for any other information... for> example, any php error logs (if the problem is a php> config issue).> > Donovan> > On Friday 11/01/2013 at 11:18 am, WebDNA Solutions wrote:> > The output is:> > > > /usr/bin/php-cgi> > > > > > Sincerely,> > Kenneth Grome> > WebDNA Solutions> > http://www.webdnasolutions.com> > WebDNA Programming and Linux Server Administration> > > >> Ken, you may get better results on the lighthttpd or> >> fastCGI lists..> >> > >> But to check for the obvious... what's your output of:> >> > >> ls /usr/bin/php-cgi> >> > >> ?> >> > >> On Friday 11/01/2013 at 10:46 am, WebDNA Solutions wrote:> >>> Having trouble getting php and webdna to run as> >>> fastcgi on lighttpd. I think this config should> >>> work but it does not, instead it keeps telling me> >>> there's an error around "php":> >>> > >>> fastcgi.server = (> >>> > >>> ".dna" =>> >>> ( "localhost" =>> >>> ("socket" => "/etc/lighttpd/webdna.socket",> >>> "bin-path" => "/var/www/html/WebDNA/WebDNA.fcgi",> >>> "max-procs" => 1,> >>> "broken-scriptfilename" => "enable",> >>> )> >>> )> >>> > >>> ".php" =>> >>> ( "localhost" =>> >>> ("socket" => "/tmp/php-fastcgi.socket",> >>> "bin-path" => "/usr/bin/php-cgi",> >>> "max-procs" => 1,> >>> "broken-scriptfilename" => "enable",> >>> )> >>> )> >>> > >>> )> >>> > >>> When I remove the php section it works fine. Anyone> >>> know what's wrong with this?> >>> > >>> Sincerely,> >>> Kenneth Grome> >>> WebDNA Solutions> >>> http://www.webdnasolutions.com> >>> WebDNA Programming and Linux Server Administration> >>> > >>> -----------------------------------------------------> >>> -- -- This message is sent to you because you are> >>> subscribed to the mailing list
. To> >>> unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us> >>> Bug Reporting: support@webdna.us> > > > -------------------------------------------------------> > -- This message is sent to you because you are> > subscribed to the mailing list .> > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us
Associated Messages, from the most recent to the oldest:
Actually PHP is working fine.The syntax I used in the lighttpd.conf file did not work for some reason, even though it precisely follows the example in the docs on the lighttpd website. I found a work-around that uses a different syntax which doesn't matter on my dev machine, so I'm good to go -- until I have to move things to a live server.Sincerely,Kenneth GromeWebDNA Solutionshttp://www.webdnasolutions.comWebDNA Programming and Linux Server Administration> Well, it looks like WebDNA is working but PHP not.. so> I'd check the other Talk Lists. You may also want to> check your logs for any other information... for> example, any php error logs (if the problem is a php> config issue).> > Donovan> > On Friday 11/01/2013 at 11:18 am, WebDNA Solutions wrote:> > The output is:> > > > /usr/bin/php-cgi> > > > > > Sincerely,> > Kenneth Grome> > WebDNA Solutions> > http://www.webdnasolutions.com> > WebDNA Programming and Linux Server Administration> > > >> Ken, you may get better results on the lighthttpd or> >> fastCGI lists..> >> > >> But to check for the obvious... what's your output of:> >> > >> ls /usr/bin/php-cgi> >> > >> ?> >> > >> On Friday 11/01/2013 at 10:46 am, WebDNA Solutions wrote:> >>> Having trouble getting php and webdna to run as> >>> fastcgi on lighttpd. I think this config should> >>> work but it does not, instead it keeps telling me> >>> there's an error around "php":> >>> > >>> fastcgi.server = (> >>> > >>> ".dna" =>> >>> ( "localhost" =>> >>> ("socket" => "/etc/lighttpd/webdna.socket",> >>> "bin-path" => "/var/www/html/WebDNA/WebDNA.fcgi",> >>> "max-procs" => 1,> >>> "broken-scriptfilename" => "enable",> >>> )> >>> )> >>> > >>> ".php" =>> >>> ( "localhost" =>> >>> ("socket" => "/tmp/php-fastcgi.socket",> >>> "bin-path" => "/usr/bin/php-cgi",> >>> "max-procs" => 1,> >>> "broken-scriptfilename" => "enable",> >>> )> >>> )> >>> > >>> )> >>> > >>> When I remove the php section it works fine. Anyone> >>> know what's wrong with this?> >>> > >>> Sincerely,> >>> Kenneth Grome> >>> WebDNA Solutions> >>> http://www.webdnasolutions.com> >>> WebDNA Programming and Linux Server Administration> >>> > >>> -----------------------------------------------------> >>> -- -- This message is sent to you because you are> >>> subscribed to the mailing list . To> >>> unsubscribe, E-mail to: > >>> archives: http://mail.webdna.us/list/talk@webdna.us> >>> Bug Reporting: support@webdna.us> > > > -------------------------------------------------------> > -- This message is sent to you because you are> > subscribed to the mailing list .> > To unsubscribe, E-mail to: > > archives: http://mail.webdna.us/list/talk@webdna.us> > Bug Reporting: support@webdna.us
WebDNA Solutions
DOWNLOAD WEBDNA NOW!
Top Articles:
Talk List
The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...
Related Readings:
verify online (1997)
GuestBook example (1997)
MySQL and Numbers (2005)
Search inside Include (1998)
Country & Ship-to address & other fields ? (1997)
WebCat editing, SiteGuard & SiteEdit (1997)
Moment of Thanks (1997)
creating a ShipCosts database (1997)
[CART] inside a [LOOP] (1997)
webcat2b12 CGI -- Date comparisons (1997)
Need help with emailer- 2 issues (1997)
Another issue with [Date format] (1998)
Plain Language Manual? (1998)
time + (1998)
Nested vs conditional (1997)
Harvesting invalid email addresses from bounced emails??? (2000)
Sku numbers (1997)
Root Folder problems cont. (1998)
Rendering out a page (1997)
Trapping already submitted carts (2000)