码迷,mamicode.com
首页 >  
搜索关键字:justify    ( 1182个结果
Apache - AH00526 – server.crt
1.1.1现象AH00526:Syntaxerroronline137ofD:/Rainman/PHPDevEnv/Apache24/conf/extra/httpd-ahssl.conf:SSLCertificateFile:file‘D:/Apache24/conf/ssl/server.crt‘doesnotexistorisempty1.1.2原因打开httpd-ahssl.conf,发现其server.crt位置的定义如下:SSLCertificateFile&q..
分类:Web程序   时间:2016-06-01 07:00:38    阅读次数:496
Apache - 403错误
1.1.1现象安装完毕后,访问http://localhost:8080/,出现错误:HTTP错误403-禁止访问,即403Forbidden:Youdon‘thavepermissiontoaccess/onthisserver.1.1.2原因马上打开apache的配置文件httpd.conf,逐行检查。在大约快一半的地方有以下这段代码:<Directory/>OptionsFo..
分类:Web程序   时间:2016-06-01 06:59:32    阅读次数:190
Apache - AH01630
1.1.1现象安装完毕AWSTATS后,运行URL,出现如下错误提示:Youdon‘thavepermissiontoaccess/awstats/awstats.plonthisserver.Apache的error.log中错误信息如下:[WedMar2617:17:37.9113382014][authz_core:error][pid10748:tid980][client::1:55910]AH01630:clientdeniedbyserv..
分类:Web程序   时间:2016-06-01 06:59:03    阅读次数:675
Apache - AH00548
1.1.1现象Apache启动,日志有如下错误:AH00548:NameVirtualHosthasnoeffectandwillberemovedinthenextrelease1.1.2原因配置虚拟站点的时候,根据说明配置如下:NameVirtualHost*:8080<VirtualHost*:8080>ServerNamewww.mysite1.com#DocumentRoot"C:/Rainman/Projec..
分类:Web程序   时间:2016-06-01 06:58:40    阅读次数:517
Apache - AH00558
1.1.1现象启动Apache,error.log中有如下错误信息:AH00558:httpd.exe:Couldnotreliablydeterminetheserver‘sfullyqualifieddomainname,usingfe80::a4d8:fff8:b080:8986.Setthe‘ServerName‘directivegloballytosuppressthismessage1.1.2原因这是因为没有配置Apache服务器的域名..
分类:Web程序   时间:2016-06-01 06:58:04    阅读次数:487
Apache - AH00526 – order
1.1.1现象AH00526:Syntaxerroronline538ofD:/Rainman/PHPDevEnv/Apache24/conf/httpd.conf:Invalidcommand‘Order‘,perhapsmisspelledordefinedbyamodulenotincludedintheserverconfiguration1.1.2原因未知。1.1.3解决去掉“LoadModuleaccess_compat_modulemodules/mod_access_c..
分类:Web程序   时间:2016-06-01 06:57:43    阅读次数:176
Yii2与Yii1的模块中Layout使用区别
在YII1中,某个模块的控制器要使用指定的Layout时,代码如下:classAdminControllerextendsController{public$layout=‘application.modules.admin.views.layouts.mainadmin‘;注意,指定layout时要将全部路径都完整的写出来。在Yii2中,代码如下:classAdminControllerextendsCo..
分类:其他好文   时间:2016-05-31 06:34:57    阅读次数:125
PHP - 获取音频长度
getID3()是从MP3等媒体文件中提取文件信息的php类,既可以提取也能修改文件的标签信息。它能读取的文件类型非常多,例如MP3、wav等.示例官方下载地址:http://sourceforge.net/projects/getid3/files/代码:<?phpinclude"getid3/getid3.php";$fileUrl="11471...
分类:Web程序   时间:2016-05-31 06:34:32    阅读次数:1501
PHP - 日期时间的转换
1.1.1字符串转换为日期时间对象使用date_create_from_format函数:date_create_from_format(‘Y-m-dH:i:s‘,‘2015-08-1209:50:23‘)1.1.2日期时间对象转换为字符串日期时间对象有个成员函数format:$dt=date_create_from_format(‘Y-m-dH:i:s‘,‘2015-08-1209:50:23‘);$dtStr=$dt-&g..
分类:Web程序   时间:2016-05-31 06:34:21    阅读次数:226
YII2 - Yii 2 控制器不能包含大写字母的Bug
在Yii1里,URL路由参数中的控制器名称是可以有大写字母的(首字母除外),但是到了Yii2的时候(我的版本是2.0.8,其它版本未确认),却是不支持控制器名称中包含大写字母了,我查了下官方文档,其对于控制器命名的规则如下:控制器ID遵循以下规则衍生控制器类名:将用正斜杠区..
分类:其他好文   时间:2016-05-30 07:39:03    阅读次数:220
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!