yum install php??
Maybe I am missing something.
________________________________
From: centos-bounces@centos.org [mailto:centos-bounces@centos.org] On Behalf Of Mark Quitoriano Sent: Tuesday, November 08, 2005 9:54 AM To: CentOS mailing list Subject: [CentOS] php version
How can i install php 4 on Centos 4? is there RPMs for centos 4? or can i use srpms(php4) of centos 3 to be used for centos 4?
On 11/8/05, Ash Christopher Ash.Christopher@pason.com wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag in PHP5.
-- Collins Richey Debugging is twice as hard as writing the code ... If you write the code as cleverly as possible, you are, by definition, not smart enough to debug it. -Brian Kernighan
Collins Richey wrote:
On 11/8/05, Ash Christopher Ash.Christopher@pason.com wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag in PHP5.
Extras is enabled by default.
There is no php5 in extras.
- K
On Thu, 2005-11-10 at 10:32 +0000, Karanbir Singh wrote:
Collins Richey wrote:
On 11/8/05, Ash Christopher Ash.Christopher@pason.com wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag in PHP5.
Extras is enabled by default.
There is no php5 in extras.
Right ... there is a php5 in the CentOS Plus repo. If you want part of the CentOS Plus repo and not other parts, you should use the:
"includepkgs="
or
"exclude="
options of yum in the CentOS-Base.repo file for the CentOS Plus repo.
Here is a readme for CentOS Plus: http://mirror.centos.org/centos/4/centosplus/Readme.txt
Here is a yum tutorial: http://fedora.redhat.com/docs/yum/
Also see "man yum" and "man yum.conf"
i cant see any php4 on centos4 repo. im using apt-get
On 11/10/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
On Thu, 2005-11-10 at 10:32 +0000, Karanbir Singh wrote:
Collins Richey wrote:
On 11/8/05, Ash Christopher Ash.Christopher@pason.com wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag in PHP5.
Extras is enabled by default.
There is no php5 in extras.
Right ... there is a php5 in the CentOS Plus repo. If you want part of the CentOS Plus repo and not other parts, you should use the:
"includepkgs="
or
"exclude="
options of yum in the CentOS-Base.repo file for the CentOS Plus repo.
Here is a readme for CentOS Plus: http://mirror.centos.org/centos/4/centosplus/Readme.txt
Here is a yum tutorial: http://fedora.redhat.com/docs/yum/
Also see "man yum" and "man yum.conf"
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDcypRTKkMgmrBY7MRAmtuAJ4/Wf9ZzbrKnc/CohpCGSqxaI7p1ACgrzma 4g0YhtpdqKjVbUPU8VlGC94= =Gp1D -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
Mark Quitoriano wrote on Thu, 10 Nov 2005 21:29:06 +0800:
i cant see any php4 on centos4 repo. im using apt-get
I don't use apt-get, so I don't know how it works. Just look at the directory listing at the repository, php consists of several packages, maybe you need to rewrite your apt-get query a bit to cater for this.
Kai
apt-get php
That should install it
On Thu, 2005-11-10 at 21:29 +0800, Mark Quitoriano wrote:
i cant see any php4 on centos4 repo. im using apt-get
On 11/10/05, Johnny Hughes mailing-lists@hughesjr.com wrote: On Thu, 2005-11-10 at 10:32 +0000, Karanbir Singh wrote: > Collins Richey wrote: > > On 11/8/05, Ash Christopher Ash.Christopher@pason.com wrote: > >> > >>yum install php?? > >> > >>Maybe I am missing something. > > > > Unless he has extra repositories enabled that would drag in PHP5. > > > > Extras is enabled by default. > > There is no php5 in extras. >
Right ... there is a php5 in the CentOS Plus repo. If you want part of the CentOS Plus repo and not other parts, you should use the: "includepkgs=" or "exclude=" options of yum in the CentOS-Base.repo file for the CentOS Plus repo. Here is a readme for CentOS Plus: http://mirror.centos.org/centos/4/centosplus/Readme.txt Here is a yum tutorial: http://fedora.redhat.com/docs/yum/ Also see "man yum" and "man yum.conf" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux) iD8DBQBDcypRTKkMgmrBY7MRAmtuAJ4/Wf9ZzbrKnc/CohpCGSqxaI7p1ACgrzma 4g0YhtpdqKjVbUPU8VlGC94= =Gp1D -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
but when i apt-get install php it gets php 5 there's no choice for php 4
On 11/11/05, Johnny Hughes mailing-lists@hughesjr.com wrote:
apt-get php
That should install it
On Thu, 2005-11-10 at 21:29 +0800, Mark Quitoriano wrote:
i cant see any php4 on centos4 repo. im using apt-get
On 11/10/05, Johnny Hughes mailing-lists@hughesjr.com wrote: On Thu, 2005-11-10 at 10:32 +0000, Karanbir Singh wrote:
Collins Richey wrote:
On 11/8/05, Ash Christopher Ash.Christopher@pason.com
wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag
in PHP5.
Extras is enabled by default.
There is no php5 in extras.
Right ... there is a php5 in the CentOS Plus repo. If you want part of the CentOS Plus repo and not other parts, you should use the:
"includepkgs="
or
"exclude="
options of yum in the CentOS-Base.repo file for the CentOS Plus repo.
Here is a readme for CentOS Plus: http://mirror.centos.org/centos/4/centosplus/Readme.txt
Here is a yum tutorial: http://fedora.redhat.com/docs/yum/
Also see "man yum" and "man yum.conf"
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDcypRTKkMgmrBY7MRAmtuAJ4/Wf9ZzbrKnc/CohpCGSqxaI7p1ACgrzma 4g0YhtpdqKjVbUPU8VlGC94= =Gp1D -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDc3YgTKkMgmrBY7MRAvIOAJ9hRpKhdgBe6uM+3CkjC9/5XbaIkwCeIWU7 JxxQ3+CmWA64xzFKHv64pKk= =lV9l -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
here's my centos.list
# URL: http://www.centos.org ### CentOS-4 APT repository rpm http://mirror.centos.org centos/4/apt/i386 os addons updates extras rpm http://mirror.centos.org centos/4/apt/i386 contrib centosplus
On 11/11/05, Mark Quitoriano markquitoriano@gmail.com wrote:
but when i apt-get install php it gets php 5 there's no choice for php 4
On 11/11/05, Johnny Hughes <mailing-lists@hughesjr.com > wrote:
apt-get php
That should install it
On Thu, 2005-11-10 at 21:29 +0800, Mark Quitoriano wrote:
i cant see any php4 on centos4 repo. im using apt-get
On 11/10/05, Johnny Hughes mailing-lists@hughesjr.com wrote: On Thu, 2005-11-10 at 10:32 +0000, Karanbir Singh wrote:
Collins Richey wrote:
On 11/8/05, Ash Christopher Ash.Christopher@pason.com
wrote:
yum install php??
Maybe I am missing something.
Unless he has extra repositories enabled that would drag
in PHP5.
Extras is enabled by default.
There is no php5 in extras.
Right ... there is a php5 in the CentOS Plus repo. If you want part of the CentOS Plus repo and not other parts, you should use the:
"includepkgs="
or
"exclude="
options of yum in the CentOS-Base.repo file for the CentOS Plus repo.
Here is a readme for CentOS Plus: http://mirror.centos.org/centos/4/centosplus/Readme.txt
Here is a yum tutorial: http://fedora.redhat.com/docs/yum/
Also see "man yum" and "man yum.conf"
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDcypRTKkMgmrBY7MRAmtuAJ4/Wf9ZzbrKnc/CohpCGSqxaI7p1ACgrzma 4g0YhtpdqKjVbUPU8VlGC94= =Gp1D -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441 _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.6 (GNU/Linux)
iD8DBQBDc3YgTKkMgmrBY7MRAvIOAJ9hRpKhdgBe6uM+3CkjC9/5XbaIkwCeIWU7 JxxQ3+CmWA64xzFKHv64pKk= =lV9l -----END PGP SIGNATURE-----
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
Mark Quitoriano wrote:
here's my centos.list
# URL: http://www.centos.org ### CentOS-4 APT repository rpm http://mirror.centos.org centos/4/apt/i386 os addons updates extras rpm http://mirror.centos.org centos/4/apt/i386 contrib centosplus
you want to drop 'centosplus' that has php5, which being a newer version will overide php4 from 'os'
oh. nice... anyway why not just put 2 option apt-get install php4 and apt-get install php5 something like that.
On 11/11/05, Karanbir Singh mail-lists@karan.org wrote:
Mark Quitoriano wrote:
here's my centos.list
# URL: http://www.centos.org ### CentOS-4 APT repository rpm http://mirror.centos.org centos/4/apt/i386 os addons updates extras rpm http://mirror.centos.org centos/4/apt/i386 contrib centosplus
you want to drop 'centosplus' that has php5, which being a newer version will overide php4 from 'os'
-- Karanbir Singh : http://www.karan.org/ : 2522219@icq _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
-- Regards, Mark Quitoriano, CCNA http://www.atamanetworks.com
Fan the flame... http://www.spreadfirefox.com/?q=user/register&r=19441
On Thursday 10 November 2005 14:43, Mark Quitoriano wrote:
oh. nice... anyway why not just put 2 option apt-get install php4 and apt-get install php5 something like that.
if u use apt use apt-pinning to give less priority to centosplus repository. aparently u do an apt-get dist-upgrade some time ago and now your apt system give more priority to centosplus repo
check with apt-cache policy php to see the actual centosplus priority.