ispCP - Board - Support
No PHP pages working accept for admin - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Support Area (/forum-30.html)
+--- Forum: Usage (/forum-34.html)
+--- Thread: No PHP pages working accept for admin (/thread-4685.html)



No PHP pages working accept for admin - AcE_IoXx - 10-13-2008 10:12 PM

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.


RE: No PHP pages working accept for admin - joximu - 10-13-2008 10:31 PM

(error) logs from apache...


RE: No PHP pages working accept for admin - AcE_IoXx - 10-13-2008 11:08 PM

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...


RE: No PHP pages working accept for admin - joximu - 10-13-2008 11:14 PM

/var/log/apache2/users/*-error.log ?


RE: No PHP pages working accept for admin - AcE_IoXx - 10-13-2008 11:23 PM

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.


RE: No PHP pages working accept for admin - joximu - 10-14-2008 01:34 AM

ok, and:

/var/log/apache2/suexec.log?

/J


RE: No PHP pages working accept for admin - AcE_IoXx - 10-14-2008 03:30 AM

(10-14-2008 01:34 AM)joximu Wrote:  ok, and:

/var/log/apache2/suexec.log?

/J

No errors, just: cmd: php5-fcgi-starter


RE: No PHP pages working accept for admin - joximu - 10-14-2008 04:15 AM

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


RE: No PHP pages working accept for admin - AcE_IoXx - 10-14-2008 05:14 AM

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.


RE: No PHP pages working accept for admin - joximu - 10-14-2008 04:44 PM

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