易截截图软件、单文件、免安装、纯绿色、仅160KB

PHP安装问题:编译安装php5.2.0时出错解决方案

编译安装php5.2.0时出错解决方案
1.错误信息...................如下
checking for mcrypt support... no
checking for mhash support... no
checking whether to include mime_magic support... no
checking for MING support... no
checking for mSQL support... no
checking for MSSQL support via FreeTDS... no
checking for mysql support... yes
checking for specified location of the MySQL UNIX socket... /tmp/mysql.sock
checking for MySQL UNIX socket location... /tmp/mysql.sock
checking for mysql_close in -lmysqlclient... no
checking for mysql_error in -lmysqlclient... no
configure: error: mysql configure failed. Please check config.log for more information.
2.解决方法:
如果是自己选择GZ包安装的MYSQL。这里要加路径。
加的方法为--with-mysql-dir=/user/local/mysql
切记不可写为:--with-mysql=/user/local/mysql
a、checking lex output file root... ./configure: line 2425: lex: command not found
configure: error: cannot find output from lex; giving up
缺少flex-2.5.4a-29.i386.rpm,从Linux 9.0光盘中找到flex-2.5.4a-29.i386.rpm,安装,重新编译php,ok.


相关文档:

php soap初识

打开php.ini的soap扩展
server.php
<?php
class math{

/**
* 加法
*
* @param integer $a
* @param integer $b
* @return integer
*
*/
public function add($a, $b){

return $a + $b;
}
}
$server = new SoapServer('http://localhost/math.wsdl',array('soap_version' =& ......

php 中的变量 作用域

学过C的人用php的时候一般会相当顺手,而且感到php太方便太轻松。但在变量作用域这方面却与
c有不同的地方,搞不好会相当郁闷,就找不到错误所在。昨晚就与到这么一个问题,是全局变量在函数中的问题。今天搜索了一下,发现一篇相当不错的文章,讲了php中的变量作用域。是一位网友翻译的 在这贴一下:
变量范围
变量的范 ......

PHP 登入系统

经过2个星期的艰苦奋斗,终于小有成就。详细的流程我之前也有说过。所以不再提出。直接上代码,希望对大家有所帮助。
1.LOGIN.php
<?php
include_once"conn2.php";
$uname=$_POST['uname'];//接收传过来的用户名
$upwd=$_POST['upwd'];//接收传过来的密码并md5()
$sql="SELECT * from pv_master WH ......

招聘:PHP高级工程师@北京

岗位职责
1、协助系统架构设计师进行系统架构设计工作;
2、承担Web应用核心模块的设计/实现工作;
3、承担主要开发工作,对代码质量及进度负责;
4、进行关键技术验证以及技术选型工作;
5、和产品经理沟通并确定产品开发需求;
 
岗位要求
1、具有互联网领域相关项目开发工作经验,对互联网业务以及技术有相 ......

PHP函数__autoload()和spl_autoload_register()

__autoload($classname){
}
当PHP找不到类文件会调用这个方法,当注册了自己的函数或方法时,PHP不会调用__autoload()函数,而会调用自定义的函数
spl_autoload_register('func_name');
spl_autoload_register(array('class_name','method_name')); ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号