Current time: 11-26-2024, 04:28 AM Hello There, Guest! (LoginRegister)


Post Reply 
PHP not fully working
Author Message
shaggy Offline
Junior Member
*

Posts: 32
Joined: Jan 2011
Reputation: 0
Post: #1
PHP not fully working
Hi all,

I have a problem, PHP is working fine on the ispCP domain (admin.domain.tld) but it's not working for anything else, I install OmegaBill, and it just shows a blank white page. a customer uploaded the site to the new server and it's also showing blank white pages, I have looked in all logfiles in /var/logs and can not find anything todo with my issue, I done grep domain.tld-combined.log and open the problem page and nothing is registered in there. is there another log file for PHP Errors somewhere else on the server? and how can I fix my issue?
04-21-2011 10:47 PM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #2
RE: PHP not fully working
installed how? (via SSH or FTP?)

/var/log/apache2/suexec.log, *domain*, users/*domain* etc...

/J
04-21-2011 11:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
shaggy Offline
Junior Member
*

Posts: 32
Joined: Jan 2011
Reputation: 0
Post: #3
RE: PHP not fully working
I installed Debian from a CD, ispCP: I logged in via SHH as root, downloaded and installed following the Debian All how to. Will check those logs files now

[suexec.log]
[2011-04-17 19:43:57]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-17 19:46:50]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-17 19:47:37]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-17 23:37:41]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-17 23:40:14]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-17 23:53:07]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-19 01:05:25]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-19 01:06:03]: uid: (2000/vu2000) gid: (2000/vu2000) cmd: php5-fcgi-starter
[2011-04-20 18:36:29]: uid: (2003/vu2003) gid: (2003/vu2003) cmd: php5-fcgi-starter
[2011-04-22 06:51:25]: uid: (2003/vu2003) gid: (2003/vu2003) cmd: php5-fcgi-starter

[users/*domain*] does not show any errors apart from favicon.ico does not exist.
04-22-2011 10:03 AM
Find all posts by this user Quote this message in a reply
joximu Offline
helper
*****
Moderators

Posts: 7,024
Joined: Jan 2007
Reputation: 92
Post: #4
RE: PHP not fully working
hm.

if a simple

<?php echo 3*4 ?>

also shows only a blank page, then I'd activaste php error-logging (in the corresponding php.ini). Hope this will help to find more info.

/J
04-24-2011 01:31 AM
Visit this user's website Find all posts by this user Quote this message in a reply
oddyutza Offline
Junior Member
*

Posts: 132
Joined: Mar 2007
Reputation: 2
Post: #5
RE: PHP not fully working
check php.ini for short tags

if it's off <? echo "will not work";?>
<?php echo "will work";?>
(This post was last modified: 05-01-2011 03:58 AM by oddyutza.)
05-01-2011 03:57 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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