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 and configure PHP 5.6, 7.0, and 7.1 #112

Merged
merged 1 commit into from
Jul 29, 2017

Conversation

svpernova09
Copy link
Contributor

No description provided.

@svpernova09 svpernova09 merged commit 0202b97 into master Jul 29, 2017
@svpernova09 svpernova09 deleted the feature/multiple-php-versions branch July 29, 2017 13:59
@mortscode
Copy link

Do you guys have an article that explains how to use different PHP versions per site?

I'm trying

Sites:
    - map: test.dev
       to: /path/to/public
       php: "5.6"

but it's still showing as PHP 7.1 when i run phpinfo()

@svpernova09
Copy link
Contributor Author

@mortscode
Copy link

Do I need to checkout Homestead 6.x in my ~/Homestead directory?

Your docs still say:

// Clone the desired release...
git checkout v5.4.0

@svpernova09
Copy link
Contributor Author

yes, it's impossible to keep the docs updated >.< Always checkout the latest tagged release: https://github.com/laravel/homestead/releases

@mortscode
Copy link

Awesome.

Thanks @svpernova09. I'll give it a go.

@mortscode
Copy link

mortscode commented Jul 31, 2017

I'm not too worried about it because i'm using 7.0 or 7.1 pretty exclusively now, but i'm getting an error in my homestead provision for 5.6:

Job for php5.6-fpm.service failed because the control process exited with error code. 
See "systemctl status php5.6-fpm.service" and "journalctl -xe" for details.

Any thoughts?

@svpernova09
Copy link
Contributor Author

Hrm, their may be a bug in the version, someone in slack was having a similar issue. can you fill out a new issue: https://github.com/laravel/homestead/issues/new and I'll see if I can recreate

@dmyers
Copy link
Contributor

dmyers commented Aug 7, 2017

It looks like php 5.6 is missing mcrypt.

@mortscode Can you try removing your variables? I removed mine and that error went away for me.

@svpernova09
Copy link
Contributor Author

@dmyers nice catch, fixed via #115

@mortscode
Copy link

what @svpernova09 said.

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

Successfully merging this pull request may close these issues.

3 participants