這是php-json-ext-1.2.1.tar.bz2下載,文件管理系統(tǒng),用戶在線管理數(shù)自己的遠程文件-extjs+ php file system manage.
php-json-ext-1.2.1.tar.bz2是現(xiàn)在從事PHP網(wǎng)站開發(fā)的人員并不在少數(shù),使用ExtJs的人更加不在少數(shù),但很多PHP程序員并不熟悉Javascript,但又非常喜歡使用ExtJs.以前他們只能看著JAVA或者.NET的開發(fā)者可以使用服務(wù)器端的語言來寫ExtJs,現(xiàn)在PHP中也有了類似的框PHP-EXT .
cd php-json-ext-1.2.0
4.編譯前要初始化PHP環(huán)境:
phpize如果提示找不到該命令,就 apt-get install php5-dev 安裝它。
5.編譯和安裝 Json
sudo ./configure
sudo make
sudo make install
安裝完畢出現(xiàn)如下信息:
Installing shared extensions: /usr/lib/php5/20060613+lfs/
6.修改php.ini
在php.ini 中加入 extension=php_json.so:
sudo vi /etc/php5/apache2/php.ini
7. 重啟阿帕奇
sudo /etc/init.d/apache2 restart
8.查看PHP環(huán)境信息
<?php echo phpinfo(); ?>
我們看到 如下信息說明安裝成功
json support
The PHP-Ext Open Source Project
PHP-Ext is an open source widget library written for PHP 4 and 5 to empower the UI Layer.
It is based on Ext JS javascript widgets which provide a standard and powerful API to build Rich Internet Applications. It basically works as a convenient wrapper for the Ext JS Javascript Objects.
Among other features, PHP-Ext provides useful and common controls to create forms, rich comboboxes, powerful grids and menus. It also promotes the use of JSON and XML client/server communication to populate forms and grids using Ajax. Additionally it has a Javascript helper to ease the javascript code generation and use.
This project still in beta so keep comming for the final release. Take a look at the samples.
Feel free to download the src and samples to try it out and don't forget to write back your comments and suggestions.