Re: [PHP-DB] how to upgrade php in linux

2010-05-05 Thread Chaitanya Yanamadala
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 d...@bluestarshows.com 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.




Re: [PHP-DB] how to upgrade php in linux

2010-05-04 Thread Chaitanya Yanamadala
hai bavitra
 i have read the article from this site
 http://www.web-tech-india.com/articles/php/compiling_php_apache/
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 bavithr...@gmail.com 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





Re: [PHP-DB] how to upgrade php in linux

2010-05-04 Thread 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 dr.virus.in...@gmail.com 
 wrote:



hai bavitra
i have read the article from this site
http://www.web-tech-india.com/articles/php/compiling_php_apache/
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 bavithr...@gmail.com  
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: [PHP-DB] how to upgrade php in linux

2010-05-04 Thread Chaitanya Yanamadala
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 k...@trk7.com 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.in...@gmail.com
 wrote:

  hai bavitra
 i have read the article from this site
 http://www.web-tech-india.com/articles/php/compiling_php_apache/
 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 bavithr...@gmail.com 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






Re: [PHP-DB] how to upgrade php in linux

2010-05-04 Thread Chris

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: [PHP-DB] how to upgrade php in linux

2010-05-03 Thread 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: [PHP-DB] how to upgrade php in linux

2010-05-03 Thread Chaitanya Yanamadala
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 da...@dmcentral.net 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




Re: [PHP-DB] how to upgrade php in linux

2010-05-03 Thread 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 dr.virus.in...@gmail.com 
 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 da...@dmcentral.net  
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: [PHP-DB] how to upgrade php in linux

2010-05-03 Thread Chaitanya Yanamadala
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 k...@trk7.com 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 dr.virus.in...@gmail.com
 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 da...@dmcentral.net
 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