Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add PHP cookbook #27

Open
gdbtek opened this issue Nov 17, 2015 · 1 comment
Open

add PHP cookbook #27

gdbtek opened this issue Nov 17, 2015 · 1 comment
Assignees

Comments

@gdbtek
Copy link
Owner

gdbtek commented Nov 17, 2015

No description provided.

@gdbtek gdbtek self-assigned this Nov 17, 2015
@insign
Copy link

insign commented Mar 18, 2020

Just throwing my code to help create it. (Ubuntu 18 LTS)

    install locales language-pack-en-base software-properties-common
    LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php # forces apt update
    install php php-{common,json,bcmath,pear,curl,dev,gd,mbstring,zip,mysql,xml,fpm,imagick,sqlite3,tidy,xmlrpc,intl,imap,pgsql,tokenizer,redis}

    php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
    php composer-setup.php
    php -r "unlink('composer-setup.php');"
    mv composer.phar /usr/local/bin/composer

    composer global require hirak/prestissimo laravel/installer

    runuser -l $USER -c $'echo \'export PATH="$PATH:$HOME/.config/composer/vendor/bin"\' >> ~/.zshrc'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants