Skip to content

Instantly share code, notes, and snippets.

@isidromerayo
Created November 24, 2014 18:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save isidromerayo/4794b88f803a2ec82ced to your computer and use it in GitHub Desktop.
Save isidromerayo/4794b88f803a2ec82ced to your computer and use it in GitHub Desktop.
symfony installer - Ubuntu 14.04
isidromerayo@nikki:~/projects/Symfony2$ symfony.phar new my_project_installer_2.5 2.5.6
Downloading Symfony...
4.74 MB/4.74 MB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%%
Preparing project...
[RuntimeException]
Symfony can't be installed because the downloaded package is corrupted
or because the installer doesn't have enough permissions to uncompress and
rename the package contents.
To solve this issue, try installing Symfony again and check the permissions of
the /home/isidromerayo/projects/Symfony2 directory
new name [version]
@isidromerayo
Copy link
Author

isidromerayo@nikki:/projects/Symfony2$ php -v
PHP 5.5.12-2+deb.sury.org
precise+1 (cli) (built: May 12 2014 13:46:35)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.5.0, Copyright (c) 1998-2014 Zend Technologies
with Zend OPcache v7.0.4-dev, Copyright (c) 1999-2014, by Zend Technologies

isidromerayo@nikki:~/projects/Symfony2$ php -m
[PHP Modules]
bcmath
blackfire
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gettext
hash
iconv
intl
json
libxml
mbstring
memcached
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
pdo_pgsql
pdo_sqlite
pgsql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
sqlite3
standard
sysvmsg
sysvsem
sysvshm
tidy
tokenizer
wddx
xml
xmlreader
xmlwriter
xsl
Zend OPcache
zip
zlib

[Zend Modules]
Zend OPcache

@isidromerayo
Copy link
Author

isidromerayo@nikki:~/projects/Symfony2$ ls -l ~/bin/symfony.phar
-rwxrwxr-x 1 isidromerayo isidromerayo 166187 nov 24 19:14 /home/isidromerayo/bin/symfony.phar

@isidromerayo
Copy link
Author

$ sudo cp -v /bin/symfony.phar /usr/local/bin/symfony
[sudo] password for isidromerayo:
‘/home/isidromerayo/bin/symfony.phar’ -> ‘/usr/local/bin/symfony’
isidromerayo@nikki:
/projects/Symfony2$ symfonyr new my_project_installer_2.5 2.5.6
symfonyr: command not found
isidromerayo@nikki:~/projects/Symfony2$ symfony new my_project_installer_2.5 2.5.6

Downloading Symfony...
4.74 MB/4.74 MB ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100%%

Preparing project...

[RuntimeException]
Symfony can't be installed because the downloaded package is corrupted
or because the installer doesn't have enough permissions to uncompress and
rename the package contents.
To solve this issue, try installing Symfony again and check the permissions of
the /home/isidromerayo/projects/Symfony2 directory

new name [version]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment