Open david-quintanilla opened 9 years ago
Does it have the same php binary path?
thanks for response, You have an example?
I dont have configured what you say, why works in the local server?
The default path is 'php'. So when you type php -v
in the commandline, do you get a correct response on both servers?
yes, in my local server, but in the remote is shared server
So what is the command there? /usr/bin/php ? You can add that to the driver parameters as described in the readme.
not work: 'async' => array( 'driver' => 'async' 'binary' => '/usr/bin/php', 'binary_args' => '', ),
not show job the data base.
'async' => array( 'driver' => 'async' 'binary' => 'php', 'binary_args' => '', ),
show in the data base, but not start :-(
I have access ssh and type php -v, result PHP 4.4.9 (cgi-fcgi) (built: Jan 14 2014 12:10:11) Copyright (c) 1997-2008 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
What? php 4???
Does your hosting provider have different php versions in cli and cgi? I've seen that happen before.
thanks, change version to php 5.5, but my problem is same :(
Hello, get the binary path, in connection ssh type whereis php, result: /usr/bin/php5
'async' => array( 'driver' => 'async' 'binary' => '/usr/bin/php5', 'binary_args' => '', ),
but, not work. somebody helpme?
in the database the status queue is 0
I need permissions of super user for execute queue in the server?, my server is shared and not sure this is problem.
You could try first by executing the command as the normal ssh user. (php artisan queue:async 684 --env=production --delay=0
) if your id (in the database) is 684 for example.
You php should also be able to execute shell commands.
I just spoke with 1and1 tech support and they told me I do not have permission to access the folder / usr / bin, I guess because of this is that my job queues can not run it?
Probably, perhaps try a better hosting provider? ;)
if from the beginning I said, but my client was already working with that service :-(.
thanks for the help.
Am having the same issue the laq_async_queue is always empty!
And when i run "php artisan queue:async 684 --env=production --delay=0" I got
[Illuminate\Database\Eloquent\ModelNotFoundException]
No query results for model [Barryvdh\Queue\Models\Job].
queue:async [-D|--delay[="..."]] job_id
When I fire php artisan queue:async 3 --env=production from SSH it works. but as a queue on its own it does not. However when I use the queue using a console commands it works
Would it be that I am using php 5.5.31 with Laravel 5.1.82?
Edit: Just upped PHP to 5.6.17 still 0 attempts when using Mail::queue Works fine on my local server. Ive set the queue config with the following for my remote which i found with "which php" 'binary' => '/usr/local/bin/php', 'binary_args' => '',
hello sorry I speak english a little bit, my problem is :
the database in the remote server have the queue, but don't execute
I don't understand the error :-(