简体   繁体   中英

Access Denied on Install Symfony on Xamp?

I am new in Symfony and dont know how to install Symfony on my Xamp server. In symfony webm, when i want to download it, Through this command c:> php -r "readfile(' http://symfony.com/installer ');" > symfony` c:> php -r "readfile(' http://symfony.com/installer ');" > symfony` then Access denied is occur on my cmd. 在此处输入图片说明

I am also beginner to symfony and had a same problem. I think you also need to install composer first to make it working. I download the composer from https://getcomposer.org/download/ and then installed it. After that the symfony installer command worked for me. Try it and Good luck.

I just had a similar problem, it was not allowing me to download the symfony file (and displaying "Access denied") because I had a folder named Symfony . Renaming the folder solved the project problem.

可能您无权访问c:\\目录-这是Windows 7、8,...的默认设置。创建一些文件夹(例如c:\\ symfony_project)并尝试readfile('http://symfony.com/installer');" > symfony该文件夹中的readfile('http://symfony.com/installer');" > symfony

For those who are still facing the problem, here how I solved mine. First you have to open XAMPP as administrator by clicking right click on XAMPP make sure its closed first after opening it as admin enable Apache and mysql then open shell, then head to htdocs and make sure there is composure installed and then paste the installing of symfony there. I hope it works after that.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM