http://www.arckid.com/blog/amfphp/how-to-add-install-json-support-to-php-on-centos-in-10-steps/ We are using staging server inside our organization ( CentOS ) to test the applications that we work on. We heavily use AMFPHP based PHP servic
http://www.arckid.com/blog/amfphp/how-to-add-install-json-support-to-php-on-centos-in-10-steps/
We are using staging server inside our organization (CentOS) to test the applications that we work on. We heavily use AMFPHP based PHP services to do communication between business logic and client front end in flash.
Team requested to have native JSON support for PHP and I found a very simple way to do it as following:
- Login to shell prompt with user credentials (which allows you to install stuff on server).
- Execute command yum update “*php*”
- This should update all PHP related components to the latest version. (Assuming you installed yum etc., on CentOS)
- Once done that, You will require to install Pear based JSON support by following command.
- pecl install json
- This will install JSON, simply wait and cross your fingers! If it says OK in last 2 lines, everything is fine so far.
- 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
- Finally, restart the HTTP (Apache) Server by command: service httpd restart
Done! Here is the all keyboard actions together, after you logged in:
yum update “*php*”
pecl install json
cd /etc/php.d/
echo “extension=json.so” >> json.ini
service httpd restart

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

VSCode Windows 64비트 다운로드
Microsoft에서 출시한 강력한 무료 IDE 편집기

Atom Editor Mac 버전 다운로드
가장 인기 있는 오픈 소스 편집기

에디트플러스 중국어 크랙 버전
작은 크기, 구문 강조, 코드 프롬프트 기능을 지원하지 않음

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 영어 버전
권장 사항: Win 버전, 코드 프롬프트 지원!
