Current time: 11-15-2024, 12:43 AM Hello There, Guest! (LoginRegister)


Post Reply 
Update from 1.0.0 to trunk: PHP files not interpreted
Author Message
nuke3d Offline
Junior Member
*

Posts: 107
Joined: Sep 2007
Reputation: 1
Post: #1
Update from 1.0.0 to trunk: PHP files not interpreted
Hi, I've made an update today from v 1.0.0 to the current trunk. After clearing the tickets table the updated ran fine (the updated failed when updating this table so I just emptied it).

Now the problem is that PHP code is not run but displayed to the user when opening a page. Couriously enough this only applies to customer pages not to the admin interface.

I've been on this for hours now and I have absolutely no idea how to further debug this. I'd be glad to hear your ideas on this subject and I'll try to supply you with as much information as possible:

in ispcp.conf
Quote:PHP_FASTCGI = fcgid

PHP5_FASTCGI_BIN = /usr/bin/php5-cgi

PHP_VERSION = 5

PHP_TIMEZONE = Europe/Zurich

suexec.log, all fine
Quote:[2010-09-15 22:36:18]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:36:19]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:36:20]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:36:21]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:36:23]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:36:52]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:39:32]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter
[2010-09-15 22:42:02]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2010-09-15 22:42:05]: uid: (2010/vu2010) gid: (2010/vu2010) cmd: php5-fcgi-starter

/var/log/apache2/users/domain.com-error.log
Quote:[Wed Sep 15 22:54:24 2010] [notice] mod_fcgid: call /var/www/virtual/domain.com/htdocs/index.php with wrapper /var/www/fcgi/domain.com/php5-fcgi-starter
[Wed Sep 15 22:54:24 2010] [error] [client IP] File does not exist: /var/www/virtual/domain.com/htdocs/favicon.ico, referer: http://domain.com/
[Wed Sep 15 22:54:25 2010] [error] [client IP] File does not exist: /var/www/virtual/domain.com/htdocs/favicon.ico, referer: http://domain.com/

/var/log/apache2/other_vhosts_access.log (weird that this isn't in the correct file domain.com-access.log)
Quote:domain.com:80 IP - - [15/Sep/2010:22:54:24 +0200] "GET / HTTP/1.1" 200 1119 "-" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62"
domain.com:80 IP - - [15/Sep/2010:22:54:24 +0200] "GET /favicon.ico HTTP/1.1" 404 589 "http://domain.com/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62"
domain.com:80 IP - - [15/Sep/2010:22:54:25 +0200] "GET / HTTP/1.1" 200 1119 "-" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62"
domain.com:80 IP - - [15/Sep/2010:22:54:25 +0200] "GET /favicon.ico HTTP/1.1" 404 589 "http://domain.com/" "Opera/9.80 (Windows NT 6.1; U; en) Presto/2.6.30 Version/10.62"

apache2 error.log is empty

php5-fcgi-starter
Quote:#!/bin/sh

umask 022

PHPRC="/var/www/fcgi/tf2.ch/php5/"
export PHPRC

PHP_FCGI_CHILDREN=2
export PHP_FCGI_CHILDREN

PHP_FCGI_MAX_REQUESTS=500
export PHP_FCGI_MAX_REQUESTS

#ulimit -t 30

exec /usr/bin/php5-cgi

How can I get further debug information on how the request is handled?

Thanks a lot!
09-16-2010 07:05 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Messages In This Thread
Update from 1.0.0 to trunk: PHP files not interpreted - nuke3d - 09-16-2010 07:05 AM

Forum Jump:


User(s) browsing this thread: 8 Guest(s)