Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot get php-worker container to work #835

Closed
sefaYavuz opened this issue Apr 20, 2017 · 4 comments
Closed

Cannot get php-worker container to work #835

sefaYavuz opened this issue Apr 20, 2017 · 4 comments

Comments

@sefaYavuz
Copy link

I get an error when i put this code in my docker-compose.yml file:

php-worker:
      build:
        context: ./php-fpm
        dockerfile: Dockerfile-70 # or Dockerfile-56, choose your PHP-FPM container setting
      volumes_from:
        - applications
      command: php artisan queue:work

And the error i get:

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/sqlsrv.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/sqlsrv.so: cannot open shared object file: No such file or directory in Unknown on line 0

PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_sqlsrv.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20160303/pdo_sqlsrv.so: cannot open shared object file: No such file or directory in Unknown on line 0

It seems it cannot load the extensions sqlsrv and pdo_sqlsrv. Anyone know how to fix this issue?

@naillizard
Copy link
Contributor

I know, I find that annoying too,... but, that's just a warning. It shouldn't be causing the container not to work. Also, have you created this Dockerfile-70 in the php-worker directory?

After you docker-compose up -d php-worker ...

can you do a docker-compose ps and see if the php-worker container is up?

@sefaYavuz
Copy link
Author

The container is now running, but the command: php artisan queue:work doesn't work. It just returns the warnings that I mentioned before.

@stale
Copy link

stale bot commented Feb 2, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the Stale label Feb 2, 2020
@stale
Copy link

stale bot commented Feb 23, 2020

Hi again 👋 we would like to inform you that this issue has been automatically closed 🔒 because it had not recent activity during the stale period. We really really appreciate your contributions, and looking forward for more in the future 🎈.

@stale stale bot closed this as completed Feb 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants