Apache and PHP4Forum: Apps Topic: Apache and PHP4 started by: pibz Posted by pibz on April 07 2005,21:04
I sucessfully installed apache1.3.33-4 with apt-get and configure it in httpd.conf and it woks fine..the i tried to install php4 with apt-get install php4 and i get this: (i tried all the combinations changing in stable and #testing and testing and #stable and so on.. ) should i kill apache wher Iam installind php4?! plese help if you know what to do? root@1[root]# apt-get install php4 Reading Package Lists... Done Building Dependency Tree... Done Sorry, php4 is already the newest version. 0 packages upgraded, 0 newly installed, 0 to remove and 147 not upgraded. 3 packages not fully installed or removed. Need to get 0B of archives. After unpacking 0B will be used. Setting up apache (1.3.33-4) ... dpkg: error processing apache (--configure): subprocess post-installation script returned error exit status 1 Setting up libapache-mod-php4 (4.3.10-9) ... dpkg: error processing libapache-mod-php4 (--configure): subprocess post-installation script returned error exit status 1 dpkg: dependency problems prevent configuration of php4: php4 depends on libapache-mod-php4 (>= 4:4.3.10-9) | libapache2-mod-php4 (>= 4:4.3.10-9) | caudium-php4 (>= 4:4.3.10-9); however: Package libapache-mod-php4 is not configured yet. Package libapache2-mod-php4 is not installed. Package caudium-php4 is not installed. dpkg: error processing php4 (--configure): dependency problems - leaving unconfigured Errors were encountered while processing: apache libapache-mod-php4 php4 W: Couldn't stat source package list < http://www.modularity.org > ./ Packages (/var/lib/apt/lists/www.modularity.org_knoppix_._Packages) - stat (2 No such file or directory) W: You may want to run apt-get update to correct these problems E: Sub-process /usr/bin/dpkg returned an error code (1) |