1
votes

I'm currently trying to install symfony on ubuntu.

Problem, after typing : php symfony.phar new Symfony it returns me this :

PHP Warning: require(/opt/lampp/htdocs/Symfony/app/SymfonyRequirements.php): failed to open stream: No such file or directory in phar:///opt/lampp/htdocs/symfony.phar/src/Symfony/Installer/DownloadCommand.php on line 264 PHP Fatal error: require(): Failed opening required '/opt/lampp/htdocs/Symfony/app/SymfonyRequirements.php' (include_path='.:/usr/share/php:/usr/share/pear') in phar:///opt/lampp/htdocs/symfony.phar/src/Symfony/Installer/DownloadCommand.php on line 264

I can't understand where can be the problem, and I couldn't find any solution on the internet.

Does one of you know where can be the problem ?

Thank you

Best regards

FabulousCo

1
I would download symfony.phar again. Make sure you change the permissions as in the instructions. - DevDonkey
Could you run php symfony.phar self-update first? Sounds like you're using an older version. In newer versions of the Symfony Installer, more explicit error messages are displayed helping you identify the true problem. - Adam Elsodaney
Thank you very much it I had to delete everything and reinstall it ! - Fab
You can also use composer. That tends to be more reliable. - giorgio

1 Answers

0
votes

I believe you have to add the version you are trying to install.

>symfony new my_project_name 3.0.0

Please see the answer here.