No PHP Parsing - Printable Version +- ispCP - Board - Support (http://www.isp-control.net/forum) +-- Forum: ispCP Omega Support Area (/forum-30.html) +--- Forum: System Setup & Installation (/forum-32.html) +--- Thread: No PHP Parsing (/thread-1718.html) Pages: 1 2 |
No PHP Parsing - frankwth - 11-05-2007 04:54 AM 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 Any help would be appreciated. Thanks in advance Frank RE: No PHP Parsing - joximu - 11-05-2007 05:19 AM have you installed libapache2-mod-fastcgi ? /J RE: No PHP Parsing - frankwth - 11-05-2007 05:37 AM joximu Wrote:have you installed libapache2-mod-fastcgi ? 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. RE: No PHP Parsing - joximu - 11-05-2007 05:55 AM 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/libapache-mod-fastcgi /J RE: No PHP Parsing - raphael - 11-05-2007 06:05 AM make sure you add the 'non-free' section in your /etc/apt/sources.list RE: No PHP Parsing - frankwth - 11-05-2007 06:08 AM 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 Solved the hard way - frankwth - 11-05-2007 06:58 AM 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 RE: No PHP Parsing - raphael - 11-05-2007 07:01 AM 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 RE: No PHP Parsing - joximu - 11-05-2007 07:05 AM 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 RE: No PHP Parsing - raphael - 11-05-2007 07:50 AM it already checks for the perl modules, but it doesn't check for the rest |