php扩展编写 FreeBSD下面,装的是PHP5.2.14,所以先去下php5.2.14的源代码. wget http://docs.php.net/get/php-5.2.14.tar.gz/from/cn2.php.net/mirror 得重新改个名字,不然它就叫’mirror’。解压。得到php5.2.14这个目录。 cd php-5.2.14/ext //在linux/Unix系统中执行 ext_skel,在windows系统中执行的是ext_skel_win32。 ext_skel –extname=myexten cd myexten ee myexten 找到下面内容,去掉注释。 PHP_ARG_ENABLE(myexten, whether to enable myexten support, Make sure that the comment is aligned: [ --enable-myexten Enable myexten support]) 执行: phpize ./configure –with-php-config=/usr/local/bin/php/php-config ./configure make make test make install 这样扩展就安装好了, 修改extensions.ini加上加载扩展的内容。 retart httpd 去看一下phpinfo,应该能找到myexten这个扩展已经被加载。
Category Archives: 记录
php扩展编写
27-十二-10google搜索的一个发现
19-十一-10刚才QQ群里有人说阳江地震了,于是去google上搜一下新闻看看真假。在搜索的第二个结果,第一个结果当然是各大新闻网站的摘要。第二个结果有点特别,会实时更新。 有图,有真像。
flex里list的更新
02-七-10最近用到flex的一个组件 list,以前给组件传数据都是传个array过去,系统自己会处理好,这次似乎也不坏,工作挺正常,直到把list放到最顶层,一创建完就显示,这下好,列表没了,一块空白,很突兀,查数据源,正常,界面部局正常。太愁人了。马上google,原来应该用ArrayCollection来进行绑定。改之。
改用joomla!
09-十二-08以前的功能会逐步移到Joomla!上去. 算是一种尝试吧.
This my first topic.
27-九-08I have many many more time to try install WordPress 2.6.2, but ever time I only got a blank page. search in google, someone have this problem too, and not recommend to use this version WP. So I have install wp 2.5. and have install it. but the install press have not end, on third step [...]