Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PHP4 not installing

Status
Not open for further replies.

sweetlew

Programmer
Dec 31, 2003
36
0
0
US
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/ #
 
well.. you can try first with [tt]apt-get update[/tt]. you can use [tt]dselect[/tt] in order to install it too.

and man dpkg pay attention to
[tt]--install
--remove
--purge[/tt]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top