|
No PHP Parsing
|
| Author |
Message |
frankwth
Newbie

Posts: 7
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 0
|
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:
[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 |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: No PHP Parsing
have you installed libapache2-mod-fastcgi ?
/J
2008-03-16 ispCP RC4 released!!!
|
|
| 11-05-2007 05:19 AM |
|
 |
frankwth
Newbie

Posts: 7
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 0
|
RE: No PHP Parsing
have you installed libapache2-mod-fastcgi ?
/J
Yes, all according to the debian-etch package list in the doc directory (incl. the duplicate 'postgrey' )
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 |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
RE: No PHP Parsing
2008-03-16 ispCP RC4 released!!!
|
|
| 11-05-2007 05:55 AM |
|
 |
raphael
Member
   
Posts: 474
Group: Dev Team
Joined: Apr 2007
Status:
Offline
Reputation: 8
|
|
| 11-05-2007 06:05 AM |
|
 |
frankwth
Newbie

Posts: 7
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 0
|
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 |
|
 |
frankwth
Newbie

Posts: 7
Group: Registered
Joined: Dec 2006
Status:
Offline
Reputation: 0
|
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 |
|
 |
raphael
Member
   
Posts: 474
Group: Dev Team
Joined: Apr 2007
Status:
Offline
Reputation: 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
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 |
|
 |
joximu
Moderator
    
Posts: 3,539
Group: Moderators
Joined: Jan 2007
Status:
Offline
Reputation: 47
|
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 |
|
 |
raphael
Member
   
Posts: 474
Group: Dev Team
Joined: Apr 2007
Status:
Offline
Reputation: 8
|
|
| 11-05-2007 07:50 AM |
|
 |
|
|