Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Codenator81's avatar

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

bobby_1800's avatar

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

1 like
Craftyx's avatar

Is there any way to have homestead with php7 per project ?

Omega81's avatar

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.

bgarrison25's avatar

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.

3 likes
Previous

Please or to participate in this conversation.