ค้นหา


Services
ทำไม? why choose us?

  • บริการโฮสติ้ง แพคเกจ
    share hosting
    reseller hosting
    VPS hosting
    dedicate hosting
    จดโดเมน domain registration
    โอนย้ายโดเมน domain transfer
  • บริการอื่นๆ other service
    โปรโมทเว็บ web promotion
    บริการรับทำ seo
    เว็บโปรแกรมมิ่ง web programming
    เว็บดีไซน์ web design
  • special hosts
    phpnuke โฮสติ้ง
    wordpress โฮสติ้ง
    pligg โฮสติ้ง
    joomla โฮสติ้ง
    โฮสต์สำหรับ CMS อื่นๆ

ลูกค้าของเรา our clients
แจ้งการชำระเงิน billing

บริการพิเศษ
home  ::>>> Forums
Dochost support forums :: ดูกระทู้ - How to install json in php
 คำถามถามบ่อยของกระดานข่าวคำถามถามบ่อยของกระดานข่าว   ค้นหาค้นหา   กลุ่มผู้ใช้งานกลุ่มผู้ใช้งาน   ข้อมูลส่วนตัวข้อมูลส่วนตัว   เข้าระบบเข้าระบบ 

How to install json in php

 
ตั้งกระทู้ใหม่   กระทู้นี้ถูกปิดคุณไม่สามารถแก้ไขคำตอบหรือตอบกระทู้    Dochost support forums หน้ากระดานข่าวหลัก -> how to forge
ดูกระทู้ก่อนนี้ :: ดูกระทู้ถัดไป  
ผู้ส่ง ข้อความ
admin
ADMIN
ADMIN


เข้าร่วมเมื่อ:
ตอบ: 12

ตอบตอบ: 09/06/2010 12:29 pm    ชื่อกระทู้: How to install json in php ตอบกระทู้ด้วยเครื่องหมายคำพูด(quote)

One of my server needs JSON installation , and I use this way to install in PHP , CENTOS machine.

1.Login to shell prompt with user credentials (which allows you to install stuff on server).
Execute command
โค้ด:
yum update “*php*”

Update and don't forget to have updated GNU GCC , php-devel
2.Once done that, You will require to install Pear based JSON support by following command.
โค้ด:
pecl install json

If the last line is OK ,, you get that json , pay attention if you need some other dependency in case you've fail to install.
3.You will also require to enable JSON support in php.ini
Smart way to do that is, create a new file in /etc/php.d/ called json.ini
The file should contain this line: extension=json.so
4.Finally, restart the HTTP (Apache) Server by command: service httpd restart
_________________
HOTLINE 081-6521851
กลับไปข้างบน
แสดงข้อมูลส่วนตัวของสมาชิก ส่งข่าวสารส่วนตัว
แสดงการตอบก่อนนี้:   
ตั้งกระทู้ใหม่   กระทู้นี้ถูกปิดคุณไม่สามารถแก้ไขคำตอบหรือตอบกระทู้    Dochost support forums หน้ากระดานข่าวหลัก -> how to forge ปรับเวลา GMT + 7 ชั่วโมง
หน้า 1 จากทั้งหมด 1

 
ไปยัง:  
คุณ ไม่สามารถ ตั้งกระทู้ใหม่ในกระดานนี้
คุณ สามารถ ตอบกระทู้ในกระดานนี้
คุณ ไม่สามารถ แก้ไขการตอบกระทู้ของคุณในกระดานนี้
คุณ ไม่สามารถ ลบการตอบกระทู้ของคุณในกระดานนี้
คุณ ไม่สามารถ ลงคะแนนในแบบสำรวจในกระดานนี้


Powered by phpBB © 2001-2003 phpBB Group