Easter79 Easter79
3年前
SQLSTATE[01002] Adaptive Server connection failed (severity 9)
php使用dblib连接SQLserver报错:SQLSTATE\01002\AdaptiveServerconnectionfailed(severity9)解决方法1:在 /usr/local/freetds/etc/freetds.conf(具体位置可能不同)中添加:mssql
Stella981 Stella981
3年前
Linux系统中yum安装Apache+MySQL+PHP环境
用yum安装Apache,Mysql,PHP.2.1安装Apacheyuminstallhttpdhttpddevel安装完成后,用/etc/init.d/httpdstart启动apache设为开机启动:chkconfighttpdon2.2安装mysql2.2.1yuminstallmysq
Stella981 Stella981
3年前
PHP imagick 实现 PDF 转 图片
1、ImageMagick安装官网(https://www.oschina.net/action/GoToLink?urlhttp%3A%2F%2Fwww.imagemagick.org%2Fscript%2Finstallsource.php)tarzxvfImageMagick.tar.gzC/usr/lo
Wesley13 Wesley13
3年前
ubuntu下搭载LNMP环境,解决 fpm监听失败
1.安装mysql1.sudoaptgetinstallmysqlservermysqlclient安装过程中要输入root用户的密码。2.安装nginx1.sudoaptgetinstallnginx2.安装php1. sudoaptgetinstallphp5fpmph
Stella981 Stella981
3年前
MediaWiki自动登陆和更新页面
Mediawiki系统开放了API,向wiki系统的api.php发送http请求,可实现很多功能。1.登陆:原理可查看mediawikiapi文档\LoginuserName'\\\'password'\\\'headersdict()headers\'ContentType'\'ap
Stella981 Stella981
3年前
SQLSTATE[01002] Adaptive Server connection failed (severity 9)
php使用dblib连接SQLserver报错:SQLSTATE\01002\AdaptiveServerconnectionfailed(severity9)解决方法1:在 /usr/local/freetds/etc/freetds.conf(具体位置可能不同)中添加:mssql
Stella981 Stella981
3年前
Discuz 中 ajaxget,ajaxpost 返回值没有显示到指定的区域中
1、需按下面的格式写(需导入require'./source/class/class\_core.php';)includetemplate('common/header\_ajax');echo'jack088';includetemplate('common/footer\_ajax');2、可能是jQuery与Discuz
Wesley13 Wesley13
3年前
ubuntu 下搭建redis和php的redis的拓展
系统环境:腾讯云服务器,ubuntu16.0.4.4,php7.0一.安装redis服务sudoaptgetinstallredisserver安装好的redis目录在/etc/redis\也可使用命令whereisredis查找\启动:sudoserviceredisserverst
Stella981 Stella981
3年前
PHP中解决ajax请求session过期退出登录问题
PHP判断一个请求是Ajax请求还是普通请求(http://my.oschina.net/junn/blog/150273)1、session过期,如果直接是url请求,或者用户在打开的系统页面中直
RAW镜像格式介绍
RAW(Raw Disk Image)是一种简单而基本的虚拟化镜像格式,用于存储虚拟机的磁盘内容。它是一种原始的二进制文件格式,直接将虚拟机的磁盘映像保存为连续的字节流,没有经过特定的压缩或加密处理。