Support the ongoing development of Laravel.io →
Installation Configuration
Last updated 1 year ago.
0

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,

0

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?

0

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.

0

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 :(

0

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.

0

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.

0

Sign in to participate in this thread!

Eventy

Your banner here too?

sstringer sstringer Joined 2 Dec 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.