homepage Welcome to WebmasterWorld Guest from 54.146.175.204
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
Forum Library, Charter, Moderators: coopster & jatar k

PHP Server Side Scripting Forum

    
Problem running php script off lighttpd
blackout

5+ Year Member



 
Msg#: 3657752 posted 8:34 pm on May 23, 2008 (gmt 0)

Anyone know why my php script will run off apache2 with no problems, but not on lighttpd?

<snip>

[edited by: dreamcatcher at 6:54 am (utc) on May 24, 2008]
[edit reason] No urls please! [/edit]

 

jezra

10+ Year Member



 
Msg#: 3657752 posted 9:48 pm on May 23, 2008 (gmt 0)

What error message are you receiving when you run your script?

blackout

5+ Year Member



 
Msg#: 3657752 posted 10:12 pm on May 23, 2008 (gmt 0)

No error messages. It just shows text at the bottom that is from inside the script. And if I view the source code inside the browser it shows the the full script code.

jezra

10+ Year Member



 
Msg#: 3657752 posted 10:41 pm on May 23, 2008 (gmt 0)

It sounds like a configuration issue with lighttpd such that the php executable isn't parsing your php script. Do you have problems with other php scripts on your lighttpd server?

blackout

5+ Year Member



 
Msg#: 3657752 posted 10:57 pm on May 23, 2008 (gmt 0)

No idea. This is only script I run and the lighttpd installation is new.

jezra

10+ Year Member



 
Msg#: 3657752 posted 11:20 pm on May 23, 2008 (gmt 0)

I am going to hazard the guess that PHP hasn't been enabled on your lighttpd installation. You can find instructions for enabling PHP in lighttpd for most operating systems at [trac.lighttpd.net...]

blackout

5+ Year Member



 
Msg#: 3657752 posted 1:42 pm on May 24, 2008 (gmt 0)

My tech has alredy gone through all that. The problem now is troubleshooting these errors:

23870 I 0:00.07 /usr/local/bin/php-cgi
25573 S 0:00.41 /usr/local/sbin/lighttpd -f /usr/local/etc/lighttpd.conf

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / PHP Server Side Scripting
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved