EchoChan
V2EX  ›  PHP

初学 PHP,请教一个在 PHPstorm 环境下执行 PHP 的问题

  •  
  •   EchoChan · Apr 20, 2015 · 7386 views
    This topic created in 4129 days ago, the information mentioned may be changed or developed.
    PHPstorm环境下工程目录已经放在/Applications/XAMPP/xamppfiles/htdocs下,但是点击编辑器右上角图标却还是跳转到http://localhost:63342/+工程名+文件名的页面上,请问怎么更改使得可以使用 XAMPP?因为后续需要用到数据库,Google 一圈好像没答案。
    Supplement 1  ·  Apr 20, 2015
    恩,问题是有点简单,最开始搜索的姿势不对,http://www.jikexueyuan.com/course/377_3.html
    这里有教程,简单说就是从 XAMPP 目录下的 bin 目录增加一个interpreter。
    太囧了。
    4 replies    2015-04-20 15:27:43 +08:00
    muyege
        1
    muyege  
       Apr 20, 2015
    这么可爱一定是男孩子
    EchoChan
        2
    EchoChan  
    OP
       Apr 20, 2015
    @muyege 头像来自浮生一日的一个女孩😄
    EchoChan
        3
    EchoChan  
    OP
       Apr 20, 2015
    Nicksxs
        4
    Nicksxs  
       Apr 20, 2015   ❤️ 1
    这样只是在执行一个php文件,http://www.chenxuanyi.cn/xampp-phpstorm-xdebug.html
    你想要的效果应该可以按照这个做,然后从浏览器打开你的项目,然后phpstorm监听到就可以了
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   895 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 27ms · UTC 19:02 · PVG 03:02 · LAX 12:02 · JFK 15:02
    ♥ Do have faith in what you're doing.