how to upgrade php in linux
how to upgrade php in linux
am 03.05.2010 13:02:35 von Chaitanya Yanamadala
--0016e64af994f099790485ae8874
Content-Type: text/plain; charset=UTF-8
Hai
i have installed php in the cent os 5.4. the one which is installed is
5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as i am new
to linux environment it is quite hard for me to configure that, can any one
guide me with this also one more thing is that i need to install zend
framework in the same environment,
any help would be greatly appreciate..
regards
Chaitanya
--0016e64af994f099790485ae8874--
Re: how to upgrade php in linux
am 03.05.2010 14:45:44 von David McGlone
On Monday 03 May 2010 07:02:35 Chaitanya Yanamadala wrote:
> Hai
> i have installed php in the cent os 5.4. the one which is installed is
> 5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as i am new
> to linux environment it is quite hard for me to configure that, can any one
> guide me with this also one more thing is that i need to install zend
> framework in the same environment,
> any help would be greatly appreciate..
I have no experience with CentOS but I'm pretty sure it would have a package
manager similiar to apt-get, or yum.
If CentOS uses RPM then you could go download php 5.3.2 off the web and then
open a terminal and type:
root (to login as root)
password (enter root password)
change the directory to where you saved the file:
cd /path/to/where/the/file/is
rpm -Uvh ( enter name of the package that you downloaded here and omit the
parenthesis )
--
Blessings,
David M.
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to upgrade php in linux
am 03.05.2010 14:57:59 von Chaitanya Yanamadala
--00c09f899703a6585b0485b02561
Content-Type: text/plain; charset=UTF-8
hai david
the rpm available is for this is the one which i am having that is the
latest one.
but i require to install the 5.3.2 for some more extenstions to be working.
i have downloaded the tar file from php.net but dont know how to complile
the same for the linux. i am pretty new to the linux..
so cannot able to figure out how to do the same..
Chaitanya
On Mon, May 3, 2010 at 6:15 PM, David McGlone wrote:
> On Monday 03 May 2010 07:02:35 Chaitanya Yanamadala wrote:
> > Hai
> > i have installed php in the cent os 5.4. the one which is installed is
> > 5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as i am
> new
> > to linux environment it is quite hard for me to configure that, can any
> one
> > guide me with this also one more thing is that i need to install zend
> > framework in the same environment,
> > any help would be greatly appreciate..
>
> I have no experience with CentOS but I'm pretty sure it would have a
> package
> manager similiar to apt-get, or yum.
>
> If CentOS uses RPM then you could go download php 5.3.2 off the web and
> then
> open a terminal and type:
> root (to login as root)
> password (enter root password)
> change the directory to where you saved the file:
> cd /path/to/where/the/file/is
> rpm -Uvh ( enter name of the package that you downloaded here and omit the
> parenthesis )
>
>
> --
> Blessings,
> David M.
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--00c09f899703a6585b0485b02561--
Re: how to upgrade php in linux
am 03.05.2010 15:24:21 von Kesavan Rengarajan
Add DAG and RPMForge repos (google for how to) and try to do a yum
install.Compiling from source might not be the best option if you are
new to Linux.
Sent from my iPhone
On 03/05/2010, at 10:57 PM, Chaitanya Yanamadala
> wrote:
> hai david
>
> the rpm available is for this is the one which i am having that is the
> latest one.
> but i require to install the 5.3.2 for some more extenstions to be
> working.
> i have downloaded the tar file from php.net but dont know how to
> complile
> the same for the linux. i am pretty new to the linux..
> so cannot able to figure out how to do the same..
>
>
> Chaitanya
>
>
>
>
> On Mon, May 3, 2010 at 6:15 PM, David McGlone
> wrote:
>
>> On Monday 03 May 2010 07:02:35 Chaitanya Yanamadala wrote:
>>> Hai
>>> i have installed php in the cent os 5.4. the one which is
>>> installed is
>>> 5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as
>>> i am
>> new
>>> to linux environment it is quite hard for me to configure that,
>>> can any
>> one
>>> guide me with this also one more thing is that i need to install
>>> zend
>>> framework in the same environment,
>>> any help would be greatly appreciate..
>>
>> I have no experience with CentOS but I'm pretty sure it would have a
>> package
>> manager similiar to apt-get, or yum.
>>
>> If CentOS uses RPM then you could go download php 5.3.2 off the web
>> and
>> then
>> open a terminal and type:
>> root (to login as root)
>> password (enter root password)
>> change the directory to where you saved the file:
>> cd /path/to/where/the/file/is
>> rpm -Uvh ( enter name of the package that you downloaded here and
>> omit the
>> parenthesis )
>>
>>
>> --
>> Blessings,
>> David M.
>>
>> --
>> PHP Database Mailing List (http://www.php.net/)
>> To unsubscribe, visit: http://www.php.net/unsub.php
>>
>>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to upgrade php in linux
am 03.05.2010 15:34:10 von Chaitanya Yanamadala
--00c09f88ceb022e5c40485b0a738
Content-Type: text/plain; charset=UTF-8
hai kesavan
the latest rpm is what i have installed already.
but i require the php 5.3.2 to be installed so where can i get the rpm for
that
i hve used the yum search php which is giving me the 5.1 only..
Chaitanya
On Mon, May 3, 2010 at 6:54 PM, Kesavan Rengarajan wrote:
> Add DAG and RPMForge repos (google for how to) and try to do a yum
> install.Compiling from source might not be the best option if you are new to
> Linux.
>
> Sent from my iPhone
>
>
> On 03/05/2010, at 10:57 PM, Chaitanya Yanamadala
> wrote:
>
> hai david
>>
>> the rpm available is for this is the one which i am having that is the
>> latest one.
>> but i require to install the 5.3.2 for some more extenstions to be
>> working.
>> i have downloaded the tar file from php.net but dont know how to complile
>> the same for the linux. i am pretty new to the linux..
>> so cannot able to figure out how to do the same..
>>
>>
>> Chaitanya
>>
>>
>>
>>
>> On Mon, May 3, 2010 at 6:15 PM, David McGlone
>> wrote:
>>
>> On Monday 03 May 2010 07:02:35 Chaitanya Yanamadala wrote:
>>>
>>>> Hai
>>>> i have installed php in the cent os 5.4. the one which is installed is
>>>> 5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as i am
>>>>
>>> new
>>>
>>>> to linux environment it is quite hard for me to configure that, can any
>>>>
>>> one
>>>
>>>> guide me with this also one more thing is that i need to install zend
>>>> framework in the same environment,
>>>> any help would be greatly appreciate..
>>>>
>>>
>>> I have no experience with CentOS but I'm pretty sure it would have a
>>> package
>>> manager similiar to apt-get, or yum.
>>>
>>> If CentOS uses RPM then you could go download php 5.3.2 off the web and
>>> then
>>> open a terminal and type:
>>> root (to login as root)
>>> password (enter root password)
>>> change the directory to where you saved the file:
>>> cd /path/to/where/the/file/is
>>> rpm -Uvh ( enter name of the package that you downloaded here and omit
>>> the
>>> parenthesis )
>>>
>>>
>>> --
>>> Blessings,
>>> David M.
>>>
>>> --
>>> PHP Database Mailing List (http://www.php.net/)
>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>
>>>
>>>
--00c09f88ceb022e5c40485b0a738--
Re: how to upgrade php in linux
am 03.05.2010 17:01:33 von jose javier parra sanchez
php 5.3.2 is availabe in remi repository, so go to
http://blog.famillecollet.com/ and read or go directly to
http://blog.famillecollet.com/pages/Config-en
2010/5/3 Chaitanya Yanamadala :
> hai kesavan
> =A0the latest rpm is what i have installed already.
> but i require the php 5.3.2 to be installed so where can i get the rpm fo=
r
> that
> i hve used the yum search php which is giving me the 5.1 only..
>
> Chaitanya
>
>
>
>
> On Mon, May 3, 2010 at 6:54 PM, Kesavan Rengarajan wrote:
>
>> Add DAG and RPMForge repos (google for how to) and try to do a yum
>> install.Compiling from source might not be the best option if you are ne=
w to
>> Linux.
>>
>> Sent from my iPhone
>>
>>
>> On 03/05/2010, at 10:57 PM, Chaitanya Yanamadala
om>
>> wrote:
>>
>> =A0hai david
>>>
>>> the rpm available is for this is the one which i am having that is the
>>> latest one.
>>> but i require to install the 5.3.2 for some more extenstions to be
>>> working.
>>> i have downloaded the tar file from php.net but dont know how to compli=
le
>>> the same for the linux. i am pretty new to the linux..
>>> so cannot able to figure out how to do the same..
>>>
>>>
>>> Chaitanya
>>>
>>>
>>>
>>>
>>> On Mon, May 3, 2010 at 6:15 PM, David McGlone
>>> wrote:
>>>
>>> =A0On Monday 03 May 2010 07:02:35 Chaitanya Yanamadala wrote:
>>>>
>>>>> Hai
>>>>> i have installed php in the cent os 5.4. the one which is installed i=
s
>>>>> 5.1.6 now what i want to do is upgrade it to latest one 5.3.2, as i a=
m
>>>>>
>>>> new
>>>>
>>>>> to linux environment it is quite hard for me to configure that, can a=
ny
>>>>>
>>>> one
>>>>
>>>>> guide me with this also one more thing is that i need to install zend
>>>>> framework in the same environment,
>>>>> any help would be greatly appreciate..
>>>>>
>>>>
>>>> I have no experience with CentOS but I'm pretty sure it would have a
>>>> package
>>>> manager similiar to apt-get, or yum.
>>>>
>>>> If CentOS uses RPM then you could go download php 5.3.2 off the web an=
d
>>>> then
>>>> open a terminal and type:
>>>> root (to login as root)
>>>> password (enter root password)
>>>> change the directory to where you saved the file:
>>>> cd /path/to/where/the/file/is
>>>> rpm -Uvh ( enter name of the package that you downloaded here and omit
>>>> the
>>>> parenthesis )
>>>>
>>>>
>>>> --
>>>> Blessings,
>>>> David M.
>>>>
>>>> --
>>>> PHP Database Mailing List (http://www.php.net/)
>>>> To unsubscribe, visit: http://www.php.net/unsub.php
>>>>
>>>>
>>>>
>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to upgrade php in linux
am 04.05.2010 17:15:55 von Bavithra R
--0016363b7f9ca450080485c62f89
Content-Type: text/plain; charset=ISO-8859-1
> i have downloaded the tar file from php.net but dont know how to complile
> the same for the linux.
>
> Hi Chaitanya
>
>
> As you have downloaded the tar file you need to extract it.
>
Try this
* Extraction: * tar -jxvf php-5.3.2.tar.bz2
where php-5.3.2.tar.bz2 is the filename you downloaded.
Check to the file extension whether it is .bz2
If not use
tar --help
which provides the extraction options.
Then you need to configure it.For that
* configuration: * ./configure --prefix==/usr/local/php
I hope this works.Try and see
regards
--Bavithra
--0016363b7f9ca450080485c62f89--
Re: how to upgrade php in linux
am 04.05.2010 20:59:17 von Chaitanya Yanamadala
--00163631002fa4d79f0485c94fa0
Content-Type: text/plain; charset=UTF-8
hai bavitra
i have read the article from this site
http://www.web-tech-india.com/articles/php/compiling_php_apa che/
but actually the thing is it is not working for me..
it is giving me some error like this
checking for gcc ---no
checking for cc--no
configure: error: no acceptable cc found in $PATH..
this tells me that the i am missing the cross compiler from my machine but i
dont have an idea from where can i get this..
Chaitanya
On Tue, May 4, 2010 at 8:45 PM, Bavithra R wrote:
>
>
> > i have downloaded the tar file from php.net but dont know how to
>> complile
>> the same for the linux.
>>
>> Hi Chaitanya
>>
>>
>> As you have downloaded the tar file you need to extract it.
>>
> Try this
> * Extraction: * tar -jxvf php-5.3.2.tar.bz2
> where php-5.3.2.tar.bz2 is the filename you downloaded.
> Check to the file extension whether it is .bz2
> If not use
> tar --help
> which provides the extraction options.
> Then you need to configure it.For that
> * configuration: * ./configure --prefix==/usr/local/php
> I hope this works.Try and see
>
>
>
> regards
> --Bavithra
>
>
>
--00163631002fa4d79f0485c94fa0--
Re: how to upgrade php in linux
am 04.05.2010 22:23:20 von Kesavan Rengarajan
As someone else mentioned in the list, try the remi repository.
If you still want to compile from source, then this is what you do to
search for packages:
yum search packagename
So you would be doing:
yum search gcc
and then install the missing package before compiling php.
You may have to install a few missing packages and it's not really a
lot of fun :(.
Also, I would like to let you know if you are going to be using Zend
Framework, you better stick with the 5.2 series as I know that there
are a few issues with 5.3 and ZF. There are a few other bugs that
forced me to downgrade to 5.2.
Sent from my iPhone
On 05/05/2010, at 4:59 AM, Chaitanya Yanamadala
> wrote:
> hai bavitra
> i have read the article from this site
> http://www.web-tech-india.com/articles/php/compiling_php_apa che/
> but actually the thing is it is not working for me..
>
> it is giving me some error like this
> checking for gcc ---no
> checking for cc--no
> configure: error: no acceptable cc found in $PATH..
>
> this tells me that the i am missing the cross compiler from my
> machine but i
> dont have an idea from where can i get this..
>
>
> Chaitanya
>
>
>
> On Tue, May 4, 2010 at 8:45 PM, Bavithra R
> wrote:
>
>>
>>
>>> i have downloaded the tar file from php.net but dont know how to
>>> complile
>>> the same for the linux.
>>>
>>> Hi Chaitanya
>>>
>>>
>>> As you have downloaded the tar file you need to extract it.
>>>
>> Try this
>> * Extraction: * tar -jxvf php-5.3.2.tar.bz2
>> where php-5.3.2.tar.bz2 is the filename you downloaded.
>> Check to the file extension whether it is .bz2
>> If not use
>> tar --help
>> which provides the extraction options.
>> Then you need to configure it.For that
>> * configuration: * ./configure --prefix==/usr/local/php
>> I hope this works.Try and see
>>
>>
>>
>> regards
>> --Bavithra
>>
>>
>>
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to upgrade php in linux
am 05.05.2010 07:02:52 von Chaitanya Yanamadala
--0016363b806c3131e30485d1be26
Content-Type: text/plain; charset=UTF-8
hai dan
thank you for your suggestion regarding the google thing..
thank god u said me that or else i could have never known that google will
get me all the results.
dude i just asked this question thinking that some one would help me find
the solution not for fun.
regarding the thing of compiling i require it to be done,
hai kesavan
thank you for the help i have done that search and i found the things but
the thing is that it is an old version of the gcc that is still exisiting in
the yum repository.
i require one dependancy apr-1.3.3 for the compiling of httpd 2.3.5 which i
have found out, but the thing is that it requires two more dependancies
uname >=2.6
and rpmlib<=4.4.6 which are not available in the yum repo..
i better try to do this on my own..
thank you guys for your help
Chaitanya
On Wed, May 5, 2010 at 1:53 AM, Kesavan Rengarajan wrote:
> As someone else mentioned in the list, try the remi repository.
>
> If you still want to compile from source, then this is what you do to
> search for packages:
>
> yum search packagename
> So you would be doing:
> yum search gcc
> and then install the missing package before compiling php.
>
> You may have to install a few missing packages and it's not really a lot of
> fun :(.
>
> Also, I would like to let you know if you are going to be using Zend
> Framework, you better stick with the 5.2 series as I know that there are a
> few issues with 5.3 and ZF. There are a few other bugs that forced me to
> downgrade to 5.2.
> Sent from my iPhone
>
>
> On 05/05/2010, at 4:59 AM, Chaitanya Yanamadala
> wrote:
>
> hai bavitra
>> i have read the article from this site
>> http://www.web-tech-india.com/articles/php/compiling_php_apa che/
>> but actually the thing is it is not working for me..
>>
>> it is giving me some error like this
>> checking for gcc ---no
>> checking for cc--no
>> configure: error: no acceptable cc found in $PATH..
>>
>> this tells me that the i am missing the cross compiler from my machine but
>> i
>> dont have an idea from where can i get this..
>>
>>
>> Chaitanya
>>
>>
>>
>> On Tue, May 4, 2010 at 8:45 PM, Bavithra R wrote:
>>
>>
>>>
>>> i have downloaded the tar file from php.net but dont know how to
>>>> complile
>>>> the same for the linux.
>>>>
>>>> Hi Chaitanya
>>>>
>>>>
>>>> As you have downloaded the tar file you need to extract it.
>>>>
>>>> Try this
>>> * Extraction: * tar -jxvf php-5.3.2.tar.bz2
>>> where php-5.3.2.tar.bz2 is the filename you downloaded.
>>> Check to the file extension whether it is .bz2
>>> If not use
>>> tar --help
>>> which provides the extraction options.
>>> Then you need to configure it.For that
>>> * configuration: * ./configure --prefix==/usr/local/php
>>> I hope this works.Try and see
>>>
>>>
>>>
>>> regards
>>> --Bavithra
>>>
>>>
>>>
>>>
--0016363b806c3131e30485d1be26--
Re: how to upgrade php in linux
am 05.05.2010 07:12:25 von dmagick
On 05/05/10 15:02, Chaitanya Yanamadala wrote:
> hai dan
> thank you for your suggestion regarding the google thing..
> thank god u said me that or else i could have never known that google will
> get me all the results.
> dude i just asked this question thinking that some one would help me find
> the solution not for fun.
> regarding the thing of compiling i require it to be done,
>
> hai kesavan
> thank you for the help i have done that search and i found the things but
> the thing is that it is an old version of the gcc that is still exisiting in
> the yum repository.
> i require one dependancy apr-1.3.3 for the compiling of httpd 2.3.5 which i
> have found out, but the thing is that it requires two more dependancies
> uname>=2.6
> and rpmlib<=4.4.6 which are not available in the yum repo..
Do you need to use centos? Maybe it'll be easier for you to use a more
up to date operating system. Ubuntu 10 just came out and it has php 5.3
available.
We can't teach you how to compile stuff, that's way outside what we're
here to help you with. Don't forget everyone here is helping you in
their own free time, so you may not get "perfect" answers but you will
get pointers in the right direction (even if it is to google or
tutorials on other websites).
--
Postgresql & php tutorials
http://www.designmagick.com/
--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
Re: how to upgrade php in linux
am 05.05.2010 07:52:00 von Kesavan Rengarajan
--001636ed793fb7039c0485d26c54
Content-Type: text/plain; charset=ISO-8859-1
No idea what's happening there. Have u done this:
yum update
?
On Wed, May 5, 2010 at 3:02 PM, Chaitanya Yanamadala <
dr.virus.india@gmail.com> wrote:
> hai dan
> thank you for your suggestion regarding the google thing..
> thank god u said me that or else i could have never known that google will
> get me all the results.
> dude i just asked this question thinking that some one would help me find
> the solution not for fun.
> regarding the thing of compiling i require it to be done,
>
> hai kesavan
> thank you for the help i have done that search and i found the things but
> the thing is that it is an old version of the gcc that is still exisiting
> in
> the yum repository.
> i require one dependancy apr-1.3.3 for the compiling of httpd 2.3.5 which
> i
> have found out, but the thing is that it requires two more dependancies
> uname >=2.6
> and rpmlib<=4.4.6 which are not available in the yum repo..
>
> i better try to do this on my own..
> thank you guys for your help
>
>
>
> Chaitanya
>
>
>
> On Wed, May 5, 2010 at 1:53 AM, Kesavan Rengarajan wrote:
>
> > As someone else mentioned in the list, try the remi repository.
> >
> > If you still want to compile from source, then this is what you do to
> > search for packages:
> >
> > yum search packagename
> > So you would be doing:
> > yum search gcc
> > and then install the missing package before compiling php.
> >
> > You may have to install a few missing packages and it's not really a lot
> of
> > fun :(.
> >
> > Also, I would like to let you know if you are going to be using Zend
> > Framework, you better stick with the 5.2 series as I know that there are
> a
> > few issues with 5.3 and ZF. There are a few other bugs that forced me to
> > downgrade to 5.2.
> > Sent from my iPhone
> >
> >
> > On 05/05/2010, at 4:59 AM, Chaitanya Yanamadala <
> dr.virus.india@gmail.com>
> > wrote:
> >
> > hai bavitra
> >> i have read the article from this site
> >> http://www.web-tech-india.com/articles/php/compiling_php_apa che/
> >> but actually the thing is it is not working for me..
> >>
> >> it is giving me some error like this
> >> checking for gcc ---no
> >> checking for cc--no
> >> configure: error: no acceptable cc found in $PATH..
> >>
> >> this tells me that the i am missing the cross compiler from my machine
> but
> >> i
> >> dont have an idea from where can i get this..
> >>
> >>
> >> Chaitanya
> >>
> >>
> >>
> >> On Tue, May 4, 2010 at 8:45 PM, Bavithra R
> wrote:
> >>
> >>
> >>>
> >>> i have downloaded the tar file from php.net but dont know how to
> >>>> complile
> >>>> the same for the linux.
> >>>>
> >>>> Hi Chaitanya
> >>>>
> >>>>
> >>>> As you have downloaded the tar file you need to extract it.
> >>>>
> >>>> Try this
> >>> * Extraction: * tar -jxvf php-5.3.2.tar.bz2
> >>> where php-5.3.2.tar.bz2 is the filename you downloaded.
> >>> Check to the file extension whether it is .bz2
> >>> If not use
> >>> tar --help
> >>> which provides the extraction options.
> >>> Then you need to configure it.For that
> >>> * configuration: * ./configure --prefix==/usr/local/php
> >>> I hope this works.Try and see
> >>>
> >>>
> >>>
> >>> regards
> >>> --Bavithra
> >>>
> >>>
> >>>
> >>>
>
--001636ed793fb7039c0485d26c54--
Re: how to upgrade php in linux
am 05.05.2010 16:46:56 von Chaitanya Yanamadala
--0016e64b009a1789df0485d9e729
Content-Type: text/plain; charset=UTF-8
I apologize guys for being rude..
i know that u guys are helping me out, but i was in a typical awkward
position searching for the same things made me a little restless.
coming to the point i have posted the question to the centos list as well as
suggested by dan..
but still now i could not able to find an absolute solution for what i am
searching for..
Chaitanya
On Wed, May 5, 2010 at 7:38 PM, Dan Carl wrote:
> On 5/5/2010 12:02 AM, Chaitanya Yanamadala wrote:
>
>> hai dan
>> thank you for your suggestion regarding the google thing..
>> thank god u said me that or else i could have never known that google will
>> get me all the results.
>> dude i just asked this question thinking that some one would help me find
>> the solution not for fun.
>> regarding the thing of compiling i require it to be done,
>>
>
> I gave you a link to the Centos list archives so you could search there
> before posting to the Centos list.
> The reason I suggested using Google's site search function is that the list
> archives has no search function of its own.
> Not many people know you can use google to search only a particular site or
> branch of a site. I pointed it out is because after
> sending folks to the list archives the next question is, how do I search
> the archives.
>
> I see you're finally posting Centos questions to the Centos list not the
> PHP list.
> Good luck getting help with your attitude.
>
>
--0016e64b009a1789df0485d9e729--