前两天一个站点转移过来,因为给我的数据库有问题,我也没有仔细处理这个站点.今天把数据库弄好了,发现还是用不了,报的错误如下:Fatal error: Class ‘mysqli’ not found in.原来是我之前在编译php的时候,没有把mysqli的支持编译进去,解决问题的办法,就是重新编译一下 mysqli是优化后的mysql,具体的优点baidu下就ok了 cd php-5.2.8 在这下面有个ext文件夹里有mysqli cd ext/mysqli linux下将源码文件编译应
Call to undefined function mysqli_connect()解决这个问题需要开启mysqli扩展开启mysqli扩展需要这两个步骤缺一不可1.在php.ini中搜索php_mysqli.dll 2.设置extension_dir指令 ; Windows Extensions ; Note that ODBC support is built in, so no dll is needed for it. ; Note that many DLL files are lo
SELinux (Security-Enhanced Linux) in Fedora is an implementation of mandatory access control in the Linux kernel using the Linux Security Modules (LSM) framework. Standard Linux security is a discretionary access control model. Discretionary access c
解决Linux关闭终端(关闭SSH等)后运行的程序自动停止 λ nohup --help Usage: nohup COMMAND [ARG]... or: nohup OPTION Run COMMAND, ignoring hangup signals. --help display this help and exit --version output version information and exit If standard input is a terminal, redirec
Linux 系统下,普通用户经常需要使用root 用户的权限,所以要经常切换到root用户,比较麻烦,因此可以给普通用户添加root 权限,需要在常规命令前面加上sudo 切换到root vi /etc/sudoers 首行添加: 用户名 ALL = (root)NOPASSWD:ALL 查看防火墙状态: sudo service iptables status 启动防火墙: sudo service iptables start 重启防火墙 sudo service iptables res