On php7 beta1 got error when run
php artisan
error is: Segmentation foult
P.S. error only when install with laravel installer
When install with Composer no problem
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
On php7 beta1 got error when run
php artisan
error is: Segmentation foult
P.S. error only when install with laravel installer
When install with Composer no problem
So I'm running php-fpm 7 RC5 in a docker container I've tried linking this to both an Apache and Nginx container (separately), all I get is:
Fatal error: Uncaught ReflectionException: Class log does not exist in /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php:737 Stack trace: #0 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(737): ReflectionClass->__construct('log') #1 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(627): Illuminate\Container\Container->build('log', Array) #2 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(674): Illuminate\Container\Container->make('log', Array) #3 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(838): Illuminate\Foundation\Application->make('log') #4 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(801): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter)) #5 /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php(770): Illuminat in /var/www/docker-site/www/vendor/laravel/framework/src/Illuminate/Container/Container.php on line 737
Interesting the same containers can be linked to either HHVM or PHP 5.5 containers and run perfectly. And just running some php info is also fine.
Buy hey its an RC, just thought I'd drop it here if people are interested
Is there any way to have homestead with php7 per project ?
Yes PHP7 is now on its initial stage now. Your question is very interesting. Please go through with this article http://customwebsitedevelopement.blogspot.com/2015/08/php-7-expected-features-advantages-release-date.html. It will give you how this new version of php7 perform.
@jameswilliam723 Oh, go to the article that coincidentally redirects to agriya?
I was having trouble with the error "Fatal error: Uncaught ReflectionException: Class log does not exist" and found that php_mbstring.dll needed to be enabled.
I have been building an API with Laravel at work and decided to try it out on a php 7 (RC8) homestead box. In one of my queries I have over 13000 returns and a bunch of associations and if I return all 13k on php 5 it was taking about 25 seconds. A) Installing my laravel app on php 7 was easy. 0 changes needed to be made B) The same query now runs 10 x faster (2.2 seconds).
Im happy with both the performance increase AND how easy it was to upgrade...really excited for official release now.
PHP 7 was just released today!
Found this topic while searching for how-to-install.
This link helped me a lot. https://asked.io/how-to-install-php-7-x--nginx-1-9-x---laravel-5-x
Please or to participate in this conversation.