I seem to be having a problem installing PHP4 on Ubuntu(Warty). I have Apache2, MySQL installed OK but PHP4 will not. When I try to run the PHPINFO() function in a web page to see if PHP is installed I get nothing. I did install PHP for what I thought was OK, but, I get this error as a result of the apt-get install PHP4. This error is misleading because I can't seem to tell if I have it installed properly or not. Please help!!!!!!
Reading Package Lists... Done
Building Dependency Tree... Done
php4-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
1 not fully installed or removed.
Need to get 0B/201kB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 23566 files and directories currently installed.)
Preparing to replace sam 4.3-14 (using .../archives/sam_4.3-14_i386.deb) ...
Unpacking replacement sam ...
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/sam_4.3-14_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/sam_4.3-14_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@markubuntu:/var/ #
Reading Package Lists... Done
Building Dependency Tree... Done
php4-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 38 not upgraded.
1 not fully installed or removed.
Need to get 0B/201kB of archives.
After unpacking 0B of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 23566 files and directories currently installed.)
Preparing to replace sam 4.3-14 (using .../archives/sam_4.3-14_i386.deb) ...
Unpacking replacement sam ...
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
dpkg: error processing /var/cache/apt/archives/sam_4.3-14_i386.deb (--unpack):
subprocess new post-removal script returned error exit status 1
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/sam_4.3-14_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@markubuntu:/var/ #