Welcome to WebmasterWorld Guest from 54.161.228.30

Forum Moderators: coopster & jatar k

Message Too Old, No Replies

Problem running php script off lighttpd

   
8:34 pm on May 23, 2008 (gmt 0)

5+ Year Member



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]

9:48 pm on May 23, 2008 (gmt 0)

10+ Year Member



What error message are you receiving when you run your script?
10:12 pm on May 23, 2008 (gmt 0)

5+ Year Member



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.
10:41 pm on May 23, 2008 (gmt 0)

10+ Year Member



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?
10:57 pm on May 23, 2008 (gmt 0)

5+ Year Member



No idea. This is only script I run and the lighttpd installation is new.
11:20 pm on May 23, 2008 (gmt 0)

10+ Year Member



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...]
1:42 pm on May 24, 2008 (gmt 0)

5+ Year Member



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