NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

benawhite1's avatar
benawhite1
Aspirant
Nov 28, 2007

Installing PHP

Sorry for the newby question, but I am trying to install PHP4.

I was able to get apt installed using this as a guide

From that point I added the following line to /etc/apt/sources.list
deb-src http://packages.dotdeb.org stable all


Then I enter the following commands
apt-get update

and
apt-get install libapache-mod-php4


The result was this
Reading Package Lists... Done
Building Dependency Tree... Done
The following extra packages will be installed:
apache-common libbz2-1.0 libgcrypt11 libgnutls11 libgpg-error0 liblzo1 libncursesw5 libopencdk8 libssl0.9.7 libtasn1-2
libzzip-0-12 lynx php4-common ucf
Suggested packages:
apache apache-ssl apache-perl php4-pear libbz2-dev bzip2 gnutls-bin
Recommended packages:
debconf-utils
The following NEW packages will be installed:
apache-common libapache-mod-php4 libbz2-1.0 libgcrypt11 libgnutls11 libgpg-error0 liblzo1 libncursesw5 libopencdk8 libssl0.9.7
libtasn1-2 libzzip-0-12 lynx php4-common ucf
0 upgraded, 15 newly installed, 0 to remove and 80 not upgraded.
Need to get 7377kB of archives.
After unpacking 18.5MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://security.debian.org oldstable/updates/main libssl0.9.7 0.9.7e-3sarge5 [1819kB]
Get:2 http://security.debian.org oldstable/updates/main php4-common 4:4.3.10-22 [169kB]
Get:3 http://security.debian.org oldstable/updates/main libapache-mod-php4 4:4.3.10-22 [1624kB]
Get:4 http://http.us.debian.org oldstable/main libgpg-error0 1.0-1 [22.6kB]
Get:5 http://http.us.debian.org oldstable/main libgcrypt11 1.2.0-11.1 [181kB]
Get:6 http://http.us.debian.org oldstable/main liblzo1 1.08-1.2 [39.0kB]
Get:7 http://http.us.debian.org oldstable/main libopencdk8 0.5.5-10 [71.7kB]
Get:8 http://http.us.debian.org oldstable/main libtasn1-2 0.2.10-3sarge1 [41.8kB]
Get:9 http://http.us.debian.org oldstable/main libgnutls11 1.0.16-13.2sarge2 [296kB]
Get:10 http://http.us.debian.org oldstable/main libbz2-1.0 1.0.2-7 [39.6kB]
Get:11 http://http.us.debian.org oldstable/main libncursesw5 5.4-4 [292kB]
Get:12 http://http.us.debian.org oldstable/main ucf 1.17 [36.9kB]
Get:13 http://http.us.debian.org oldstable/main lynx 2.8.5-2sarge2 [1861kB]
Get:14 http://http.us.debian.org oldstable/main apache-common 1.3.33-6sarge3 [849kB]
Get:15 http://http.us.debian.org oldstable/main libzzip-0-12 0.12.83-4 [34.0kB]
Fetched 7377kB in 2m25s (50.6kB/s)
Selecting previously deselected package libgpg-error0.
(Reading database ... 9841 files and directories currently installed.)
Unpacking libgpg-error0 (from .../libgpg-error0_1.0-1_sparc.deb) ...
Selecting previously deselected package libgcrypt11.
Unpacking libgcrypt11 (from .../libgcrypt11_1.2.0-11.1_sparc.deb) ...
Selecting previously deselected package liblzo1.
Unpacking liblzo1 (from .../liblzo1_1.08-1.2_sparc.deb) ...
Selecting previously deselected package libopencdk8.
Unpacking libopencdk8 (from .../libopencdk8_0.5.5-10_sparc.deb) ...
Selecting previously deselected package libtasn1-2.
Unpacking libtasn1-2 (from .../libtasn1-2_0.2.10-3sarge1_sparc.deb) ...
Selecting previously deselected package libgnutls11.
Unpacking libgnutls11 (from .../libgnutls11_1.0.16-13.2sarge2_sparc.deb) ...
Selecting previously deselected package libbz2-1.0.
Unpacking libbz2-1.0 (from .../libbz2-1.0_1.0.2-7_sparc.deb) ...
Selecting previously deselected package libncursesw5.
Unpacking libncursesw5 (from .../libncursesw5_5.4-4_sparc.deb) ...
Selecting previously deselected package libssl0.9.7.
Unpacking libssl0.9.7 (from .../libssl0.9.7_0.9.7e-3sarge5_sparc.deb) ...
Selecting previously deselected package ucf.
Unpacking ucf (from .../apt/archives/ucf_1.17_all.deb) ...
Moving old data out of the way
Selecting previously deselected package lynx.
Unpacking lynx (from .../lynx_2.8.5-2sarge2_sparc.deb) ...
Selecting previously deselected package apache-common.
Unpacking apache-common (from .../apache-common_1.3.33-6sarge3_sparc.deb) ...
Selecting previously deselected package libzzip-0-12.
Unpacking libzzip-0-12 (from .../libzzip-0-12_0.12.83-4_sparc.deb) ...
Selecting previously deselected package php4-common.
Unpacking php4-common (from .../php4-common_4%3a4.3.10-22_sparc.deb) ...
Selecting previously deselected package libapache-mod-php4.
Unpacking libapache-mod-php4 (from .../libapache-mod-php4_4%3a4.3.10-22_sparc.deb) ...
Setting up libgpg-error0 (1.0-1) ...

Setting up libgcrypt11 (1.2.0-11.1) ...

Setting up liblzo1 (1.08-1.2) ...

Setting up libopencdk8 (0.5.5-10) ...

Setting up libtasn1-2 (0.2.10-3sarge1) ...

Setting up libgnutls11 (1.0.16-13.2sarge2) ...

Setting up libbz2-1.0 (1.0.2-7) ...

Setting up libncursesw5 (5.4-4) ...

Setting up libssl0.9.7 (0.9.7e-3sarge5) ...

Setting up ucf (1.17) ...

Setting up lynx (2.8.5-2sarge2) ...

Setting up apache-common (1.3.33-6sarge3) ...
addgroup: The group `www-data' already exists.
dpkg: error processing apache-common (--configure):
subprocess post-installation script returned error exit status 1
Setting up libzzip-0-12 (0.12.83-4) ...

Setting up php4-common (4.3.10-22) ...
dpkg: dependency problems prevent configuration of libapache-mod-php4:
libapache-mod-php4 depends on apache-common (>= 1.3.33); however:
Package apache-common is not configured yet.
dpkg: error processing libapache-mod-php4 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
apache-common
libapache-mod-php4
E: Sub-process /usr/bin/dpkg returned an error code (1)


Any ideas what I need to do at this point?

How do I get around the "The group `www-data' already exists." issue?

Thanks in advance

26 Replies

Replies have been turned off for this discussion

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More