dsutuyxe088689 2015-04-27 16:35
浏览 60
已采纳

symfony2.6.1无法安装它,cmd无法识别php

I'm following a tutorial to get started with symfony. On that tutorial they show you were the download link is for symfony. But once i go on the website : http://symfony.com/download there is no download link. I guess they removed it.

They show you how to install it via CMD commands.

Installation on Windows
c:\> php -r "readfile('http://symfony.com/installer');" > symfony

So i try that, but they don't recognize "php" as intern command.

I tried to run the cmd on administrator mode it didn't change.

I know there is something about the environment variables, that i should put PHP in it. But now i try to run symfony on my wamp server, so do i have to link it with wamp ?

  • 写回答

2条回答 默认 最新

  • douwo5710 2015-04-28 08:25
    关注

    I also tried that error what I did is that I instead of C:> you need to go to C:\xampp\php:> and there set the path

    C:\xampp\php:\> set PATH=%PATH%;C:\xampp\php
    

    then after this you go to path where you wan to save your project. I hope this helps.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 oracle集群安装出bug
  • ¥15 关于#python#的问题:自动化测试
  • ¥15 教务系统账号被盗号如何追溯设备
  • ¥20 delta降尺度方法,未来数据怎么降尺度
  • ¥15 c# 使用NPOI快速将datatable数据导入excel中指定sheet,要求快速高效
  • ¥15 再不同版本的系统上,TCP传输速度不一致
  • ¥15 高德地图点聚合中Marker的位置无法实时更新
  • ¥15 DIFY API Endpoint 问题。
  • ¥20 sub地址DHCP问题
  • ¥15 delta降尺度计算的一些细节,有偿