1.xampp apache start failed may due to a blocked port, u can use the Netstat
in the xampp control panel to check the port-using details. if one of the main port(80) or the ssl port(443) is used, u only need to change the ports(80/443 to 8080/4430 or whatever) in the config files for apache, u can also kill the corresponding pid if it’s not important. After change the port, u should use http://localhost:8080/xampp
to visit the homepage, use http://localhost:8080/phptest/a.php
to visit xampp\htdocs\phptest\a.php.
3. url格式
4. 在搭建phpstorm+xampp+xdebug环境时,若php\ext下没有php_xdebug.dll,需要根据Php的版本到xdebug官网去下载对应版本的xdebug,否则在phpstorm中配置时会显示failed loading the dll file。可以到phpinfo中查看具体Php版本信息,然后把phpinfo全部(ctrl+A)复制粘贴到https://xdebug.org/wizard.php中, 会生成需要下载的xdebug版本。
5. PHP 设置调试工具XDebug PHPStorm IDE。把DBGp Proxy里面的port设置为9000。给php web page添加conf时,start url填写开启php整个项目运行的第一个页面的地址。
6. php var_dump前面输出路径的问题。修改后,在phpstorm的setting中重新载入php.exe/重启phpstorm,在phpstorm中直接打开浏览器就能看到更新后的结果。
7.php中or和||的区别
8.phpstorm常用快捷键和设置
07-06
07-07
“相关推荐”对你有帮助么?
-
非常没帮助
-
没帮助
-
一般
-
有帮助
-
非常有帮助
提交