Thread Closed  Post Thread 
Pages (2): « First [1] 2 Next > Last »
No PHP Parsing
Author Message
frankwth
Newbie
*


Posts: 7
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 0
Post: #1
No PHP Parsing

Hallo,

I just d/l the latest trunk 20071104 and installed on Debian Etch (netinst). All packages have been installed and the installation script went through w/o problems. When calling my domain I am offered to save a file to disk. Looks like *.php files are not recognized. php -v shows "PHP 5.2.0-8+etch7 (cli)". I have tried to put "AddType application/x-httpd-php .php" into a .htaccess in the gui directory and in the <directory>-entries in "/etc/apache2/sites-available/00_master.conf". No success.

Am I missing something here. The only entries I can see in error.log are:

Code:
[Mon Nov 05 00:31:37 2007] [notice] caught SIGTERM, shutting down
[Mon Nov 05 00:31:39 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Mon Nov 05 00:31:39 2007] [notice] Apache/2.2.3 (Debian) configured -- resuming normal operations


Any help would be appreciated. Thanks in advance

Frank

11-05-2007 04:54 AM
Find all posts by this user
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #2
RE: No PHP Parsing

have you installed libapache2-mod-fastcgi ?

/J


2008-03-16 ispCP RC4 released!!!
11-05-2007 05:19 AM
Visit this user's website Find all posts by this user
frankwth
Newbie
*


Posts: 7
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 0
Post: #3
RE: No PHP Parsing

joximu Wrote:
have you installed libapache2-mod-fastcgi ?

/J


Yes, all according to the debian-etch package list in the doc directory (incl. the duplicate 'postgrey' Smile )

Kind regards
Frank

SORRY, I just see that aptitude is giving me "No candidate version found for libapache2-mod-fastcgi". So, obviously it is not. I think I have to do some research now. Or, do you have a quick idea.

This post was last modified: 11-05-2007 05:42 AM by frankwth.

11-05-2007 05:37 AM
Find all posts by this user
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #4
RE: No PHP Parsing

Documentation Wrote:
Note: Don't forget to add the non-free repository to your Debian apt sources list


or just download the right package from debian...
http://packages.debian.org/stable/web/li...od-fastcgi

/J


2008-03-16 ispCP RC4 released!!!
11-05-2007 05:55 AM
Visit this user's website Find all posts by this user
raphael
Member
****
Dev Team

Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #5
RE: No PHP Parsing

make sure you add the 'non-free' section in your /etc/apt/sources.list


YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more

Quote:
This is Linux land. In silent nights you can hear the Windows machines rebooting.

If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price

11-05-2007 06:05 AM
Visit this user's website Find all posts by this user
frankwth
Newbie
*


Posts: 7
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 0
Post: #6
RE: No PHP Parsing

Thank you for your help,

found it on google already. After changing the sources.list I got it installed and forced a reload of apache2. To be sure I checked all other packages. Looks like this was the only one on non-free.

But, the problem is still the same. Should I repeat the install? "a2enmod fastcgi" shows me, that the module is enabled.

Thanks again for your help

11-05-2007 06:08 AM
Find all posts by this user
frankwth
Newbie
*


Posts: 7
Group: Registered
Joined: Dec 2006
Status: Offline
Reputation: 0
Post: #7
Solved the hard way

FYI,

as I used a virtual machine anyway, I did a new installation after making sure to include the non-free sources and installing "libapache2-mod-fastcgi". I did not do a deep research on how to fix the problem if this module is missing BEFORE the installation. Maybe this should be mentioned in the INSTALL-doc to avoid problems for others in the future.

The system is running now and I will start testing tomorrow.

Thanks again for the quick help here in the forum.

Frank

This post was last modified: 11-05-2007 06:59 AM by frankwth.

11-05-2007 06:58 AM
Find all posts by this user
raphael
Member
****
Dev Team

Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #8
RE: No PHP Parsing

If you didn't have fastcgi installed at setup time (ispcp-setup) you might need to hack around the config files.
This is because ispcp-setup takes the original fastcgi.load and creates a copy called fastcgi_ispcp.conf (adding an <IfModule...) and then disables fastcgi and enables fastcgi_ispcp


YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more

Quote:
This is Linux land. In silent nights you can hear the Windows machines rebooting.

If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price

11-05-2007 07:01 AM
Visit this user's website Find all posts by this user
joximu
Moderator
*****


Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status: Offline
Reputation: 47
Post: #9
RE: No PHP Parsing

But frankwth is right: would be nice if the setup programm says something like:

"hey you idiot, you didn't install all packages..."
(or better :-)

/J


2008-03-16 ispCP RC4 released!!!
11-05-2007 07:05 AM
Visit this user's website Find all posts by this user
raphael
Member
****
Dev Team

Posts: 474
Group: Dev Team
Joined: Apr 2007
Status: Offline
Reputation: 8
Post: #10
RE: No PHP Parsing

it already checks for the perl modules, but it doesn't check for the rest


YaHost Me | Text Link Ads | my Debian repository | Donate! | No OOXML! | Project HoneyPot | ... and more

Quote:
This is Linux land. In silent nights you can hear the Windows machines rebooting.

If you want to be helped, don't PM me but post in the forums | If you want private support PM me and we'll discuss the price

11-05-2007 07:50 AM
Visit this user's website Find all posts by this user
Pages (2): « First [1] 2 Next > Last »
Thread Closed  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump:

| All rights reserved : isp-control.net |