一种更符合自然语意的PHP正则表达式

在编程的过程中,尤其是文本的处理,我们很多时候都需要正则表达式,比如,验证用户输入的Email是否格式正确,电话号码是否符合规范,或者其他的自定义规则。对新手来说,熟记正则表达式的规则比较困难,那么有 … Continue reading 一种更符合自然语意的PHP正则表达式

宝塔面板 ImageMagick无法安装解决办法

问题 wordpress后台健康检查提示ImageMagick 未开启,所以去宝塔后台安装php扩展, 但是始终安装不上,而宝塔的消息提示是安装成功了。 解决 网上找了下,发现可能是缺少 libmag … Continue reading 宝塔面板 ImageMagick无法安装解决办法

php版zblog保存主题配置时提示Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes)解决方法

问题现象: linux宝塔面板,php7.4环境,zblog在修改纯净主题提交保存时提示:Allowed memory size of 268435456 bytes exhausted (tried … Continue reading php版zblog保存主题配置时提示Allowed memory size of 268435456 bytes exhausted (tried to allocate 12288 bytes)解决方法

wordpress更新插件出现:cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received

wordpress更新插件出现错误: cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes … Continue reading wordpress更新插件出现:cURL error 28: Operation timed out after 10001 milliseconds with 0 out of 0 bytes received

ZBlogPHP忘记登录密码后怎么办?使用官方密码找回工具

不知道大家是否有忘记过登录密码,特别是我们站点有点多的时候有些站点就会很久都不登录一下,久而久之这个站点的管理员密码就忘记了。比如 ZBlogPHP 站点后台的登录密码忘记之后应该怎么办呢?不用慌,Z … Continue reading ZBlogPHP忘记登录密码后怎么办?使用官方密码找回工具

zblog怎样设置伪静态?zblog设置伪静态的方法讲解

在写文章之前事先注意两点: 1、本文教程仅针对zblogphp版本; 2、请一定要确定你的主机支持伪静态功能(如何辨别主机是否支持伪静态呢?很简单,问问你的主机提供商就知道了的) 好了,开讲。 zbl … Continue reading zblog怎样设置伪静态?zblog设置伪静态的方法讲解

宝塔面板lnmp环境运行php提示Warning: require(): open_basedir restriction in effect解决方法

今天被Warning: require(): open_basedir restriction in effect搞了半天时间, 最后发现直接修改网站设置,网站目录里的防跨站攻击,取消打勾,重启网站就 … Continue reading 宝塔面板lnmp环境运行php提示Warning: require(): open_basedir restriction in effect解决方法