Current time: 11-16-2024, 01:32 PM Hello There, Guest! (LoginRegister)


Post Reply 
No PHP pages working accept for admin
Author Message
AcE_IoXx Offline
Newbie
*

Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #1
No PHP pages working accept for admin
Hello,

Yesterday I decided to upgrade my server (was running Debian sarge testing with vhcs2).
So I installed a new version of Debian Etch (stable). (formatted the disks)
Installed IspCP according to the Debian how-to on this site.
Decided to make the accounts again instead of restoring them from vhcs2.

Made all the accounts again uploaded all the sites.
Made sure php is enabled in the accounts

All the HTML sites are working.
But ALL the php sites are showing the same error, namely: No input file specified.

I googled a lot but couldn't find an answer to this problem, so now I'm asking if anyone here knows how to solve this problem.

All the configuration files are still standard as IspCP setup leaves them.
If you need any config files or log files, just ask me which ones and I'll post them here.
10-13-2008 10:12 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: No PHP pages working accept for admin
(error) logs from apache...
10-13-2008 10:31 PM
Visit this user's website Find all posts by this user Quote this message in a reply
AcE_IoXx Offline
Newbie
*

Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #3
RE: No PHP pages working accept for admin
Ok this is from /var/logs/apache2/error.log after restart of apache2 and the going to a php site.

[Mon Oct 13 14:57:40 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Oct 13 14:57:40 2008] [notice] FastCGI: wrapper mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Oct 13 14:57:40 2008] [notice] FastCGI: process manager initialized (pid 10527)
[Mon Oct 13 14:57:40 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (uid 2000, gid 2000) started (pid 10530)
[Mon Oct 13 14:57:40 2008] [notice] Apache/2.2.3 (Debian) mod_fastcgi/2.4.2 PHP/4.4.4-8+etch6 configured -- resuming normal operations
[Mon Oct 13 14:58:11 2008] [warn] FastCGI: (dynamic) server "/var/www/fcgi/devotee.nl/php5-fcgi-starter" (uid 2001, gid 2001) started (pid 10543)
As you can see, the site accessed isn't listed in here, and there arent any errors as far is i can see.

Access.log is empty

The devotee.nl-combined.log only shows a get request with my browser details.
So I wouldn't know witch other logs the show...
10-13-2008 11:08 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: #4
RE: No PHP pages working accept for admin
/var/log/apache2/users/*-error.log ?
10-13-2008 11:14 PM
Visit this user's website Find all posts by this user Quote this message in a reply
AcE_IoXx Offline
Newbie
*

Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #5
RE: No PHP pages working accept for admin
It shows a few error's but those are from other things, like deeplinking to pictures witch arent on my server any more.
I don't get a message in that file when i open a php site.
10-13-2008 11:23 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: #6
RE: No PHP pages working accept for admin
ok, and:

/var/log/apache2/suexec.log?

/J
10-14-2008 01:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
AcE_IoXx Offline
Newbie
*

Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #7
RE: No PHP pages working accept for admin
(10-14-2008 01:34 AM)joximu Wrote:  ok, and:

/var/log/apache2/suexec.log?

/J

No errors, just: cmd: php5-fcgi-starter
10-14-2008 03:30 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: #8
RE: No PHP pages working accept for admin
Did you upload the php files with FTP or copy on the server (or upload with scp root account?).

Can you post a "ls -la" inside one of the htdocs folder? (with html and php files in it)

/J
10-14-2008 04:15 AM
Visit this user's website Find all posts by this user Quote this message in a reply
AcE_IoXx Offline
Newbie
*

Posts: 8
Joined: Oct 2008
Reputation: 0
Post: #9
RE: No PHP pages working accept for admin
The files are uploaded with ftp.

-rw-r--r-- 1 vu2001 vu2001 1603 2007-05-04 11:50 guestbook.htm
-rw-r--r-- 1 vu2001 vu2001 74903 2006-06-13 00:05 gw.jpg
-rw-r--r-- 1 vu2001 vu2001 1299979 2006-06-22 09:13 ib.gif
drwxr-xr-x 2 vu2001 vu2001 12288 2006-11-30 14:09 images
-rw-r--r-- 1 vu2001 vu2001 459 2005-12-22 01:02 index.htm
-rw-r--r-- 1 vu2001 vu2001 2725 2008-10-12 22:38 index.php

The htm works, the php gives the message.
10-14-2008 05:14 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: #10
RE: No PHP pages working accept for admin
ok, so far so good.

if you browse at the index.php then you get the message?

Maybe it wouold be helpfull to give more Details about the site - what sort of php application is running?
Maybe you find your solution here: http://jenseng.com/archives/000035.html

/J
10-14-2008 04:44 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


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