Hi,
After struggling with their terrible support I got it working:
Solution:
Go to /home/{{YOU CLIENT ID NUMBER}}/etc/
Create php.ini containing:
zend_extension=/usr/local/php-5.5.21/lib/php/20121212/opcache.so
Hope it helps,
I'm having this same problem.
I created the php.ini file and added the zend_extension as in the above solution, but I still get the same error.
If I run with a very simple test.php file, which simply writes to a file, I have no problem.
Also if I just do artisan route:list, that works too.
But both display a "warning" about the zend_extension, they do actually run though.
However if I try use artisan schedule:run
It won't proceed through the code and actually run.
Any ideas?
Hi oindypoind,
MediaTemple removed php-latest without any notice. Support told me something like: "If php-latest was removed, there was surely a reason for doing it so". I asked for a workaround and they said "Not at the moment". I am not longer hosting anything on their servers.
I've half got around it by targetting the version of PHP it needs to use, and I no longer get the error in my cron response, but it still appears in my schedule output which i'm logging to files. And the contents of the schedule isn't running :(
Weird, I have two GS accounts, and php-latest works on both of them still.
I have this in my .bash_profile: alias php="/usr/bin/php-latest"
and php -v kicks out 5.5.xx
I will have to watch this as I'm working on a couple new projects right now.
Try with this /usr/local/php-5.5.21/bin/php artisan ....
ezeql said:
Hi oindypoind,
MediaTemple removed php-latest without any notice. Support told me something like: "If php-latest was removed, there was surely a reason for doing it so". I asked for a workaround and they said "Not at the moment". I am not longer hosting anything on their servers.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community