nixCraft Linux Forum

nixCraft

Linux / UNIX Tech Support Forum

Linux Php 5.2.6 installation

This is a discussion on Linux Php 5.2.6 installation within the Coding in General forums, part of the Development/Scripting category; Hello nixcraft please point me for 5.2.6 or any 5.2 versions of installation, I installed php 5..1.4 as mentioned by ...


Go Back   nixCraft Linux Forum > Development/Scripting > Coding in General

Linux answers from nixCraft.


Coding in General Discussion on PHP/Perl/Python/Ruby/GNU C or C++. MySQL, PgSQL and (X)HTML or any other programming languages you want.

Reply

 

LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 18-11-2008, 10:10 PM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default Linux Php 5.2.6 installation

Hello nixcraft
please point me for 5.2.6 or any 5.2 versions of installation, I installed php 5..1.4 as mentioned by you and it worked great for me but now it is not supporting my requirements and it is giving json_encode() error in logs.... i think to fix this i need php-5.2 .
please point me to installation guide if it exists.

thanks
tanweer

Last edited by tanweernoor; 18-11-2008 at 10:17 PM. Reason: xx
Reply With Quote
  #2 (permalink)  
Old 19-11-2008, 10:51 PM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,707
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Can you tell us more about operating system?
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #3 (permalink)  
Old 19-11-2008, 10:53 PM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

thanks a lot for your reply nixcraft.. I have 64 bit Red Hat 4 machine which comes with php - 4.3.9 by default,
I am trying to install TestLink RC1.7.8 RC 1 which is complaining about json_encode(0 function
Please guide

thanks
tanweer

Last edited by tanweernoor; 19-11-2008 at 10:55 PM. Reason: xx
Reply With Quote
  #4 (permalink)  
Old 19-11-2008, 11:58 PM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

Any update on this?
Reply With Quote
  #5 (permalink)  
Old 21-11-2008, 01:07 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,707
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

Try compile existing version with json support.
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #6 (permalink)  
Old 21-11-2008, 01:27 AM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

could you please let me know the procedure how to do that, I mean compilation commands.
Reply With Quote
  #7 (permalink)  
Old 24-11-2008, 06:17 AM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

nixcraft, could you please let me know
Reply With Quote
  #8 (permalink)  
Old 25-11-2008, 12:00 AM
nixcraft's Avatar
Never say die
User
 
Join Date: Jan 2005
Location: BIOS
OS: RHEL
Scripting language: Bash and Python
Posts: 2,707
Thanks: 11
Thanked 244 Times in 183 Posts
Rep Power: 10
nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute nixcraft has a reputation beyond repute
Default

You need to use ./configure with the --feature option. To get list of option type in php source code directory
Code:
./configure --help
__________________
Vivek Gite
Linux Evangelist
Be proud RHEL user, and let the world know about your enterprise choices! Join RedHat user group.
Always use CODE tags for posting system output and commands!
Do you run a Linux? Let's face it, you need help
Reply With Quote
  #9 (permalink)  
Old 25-11-2008, 12:08 AM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

ok , so you mean if i am following this page for php installation
Install PHP 5 on Red Hat Enterprise Linux version 4

after
# cd /tmp
# wget http://www.cyberciti.biz/files/light...1.esp1.src.rpm

after the above step i am suppose to run configure command and then
# rpm -ivh php-5.1.4-1.esp1.src.rpm

or I should download source code from php,net web site and then configure it then make and make install.
please guide.

thanks
tanweer
Reply With Quote
  #10 (permalink)  
Old 06-12-2008, 06:46 AM
Junior Member
User
 
Join Date: Nov 2008
OS: Red Hat 4
Posts: 19
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
tanweernoor is on a distinguished road
Default

Hi nixcraft
currently i have php-5.1.4 rpm installed, please let me know the process to compile again using json_encode function, i.e. where to configure...
am i suppose to download source code again and configure, make and make install??
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
installation of Linux on machines having 8+ GB Mem needee1 Linux hardware 1 17-10-2007 11:04 PM
Centos Linux 5 C / C++ compiler installation raj Getting started tutorials 0 12-07-2007 11:57 PM
Linux Change the time zone configuration after installation raj Linux software 1 17-07-2006 02:11 AM
Ubuntu Linux network installation using a boot server tom Getting started tutorials 1 13-07-2006 05:56 PM
Linux Change the network configuration after installation jerry Linux software 2 14-06-2006 03:58 PM


All times are GMT +5.5. The time now is 04:14 PM.


Powered by vBulletin® Version 3.8.5 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38