随笔分类 - php
摘要:wampserver出现不支持curl解决方案解决:1:找到php.ini文件,搜索extension=php_curl.dll然后将前面的分号去掉2:重新启动wampserver
阅读全文
摘要:wampserver出现You don't have permission to access / on this server.最近在安装最近版wampserver 2.2 d时发现安装好后启动服务器,访问localhost显示You don't have permission to access / on this server. 而在目录127.0.0.1下可以访问。造成这个问题的原因是Apache 的http.conf内的默认配置是# onlineoffline tag - don't removeOrder Deny,AllowDeny from allAll
阅读全文
摘要:我用的是wampserver,在根目录下比如C:\wamp\apps\phpmyadmin3.4.10.1下,有一个配置文件config.inc.php修改$cfg['Servers'][$i]['password'] = '';填上自己数据库的密码就行了
阅读全文
摘要:通过比对本地wampserver的配置文件和服务器上的apache配置文件,解决了404错误1:进入apache目录的conf目录2:打开httpd.conf3:找到#LoadModule rewrite_module modules/mod_rewrite.so然后把前面的#去掉4:找到所有的AllowOverride配置项,把所有的None都修改为All5:在网站根目录下面新建一个 .htaccess 文件(什么?这个文件不会添加?先新建一个txt,然后另存为 .htaccess文件就行),输入一下内容<IfModule mod_rewrite.c>RewriteEngine
阅读全文
摘要:在C:\wamp\www\下有个test项目:比如是thinkphp框架的项目,在test中有如下图所示:然后访问该项目经过两个访问后http://localhost/test/index.php和http://localhost/test/admin.php生成如图所示文件结构下面导入到zend studio中1:new-》local php project2:名称就写你的项目名称,location一定要写到test的上一级目录(注意在finish之前要保持test中的index.php中的内容,因为zend会自己建一个index.php,所以这块一定要注意)3:查看目录,都有了吧,(最后把
阅读全文
摘要:项目-》邮件属性-》如图
阅读全文
摘要:Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.More info
阅读全文