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

PHP Warning because of option to specify PHP executable #48

Closed
ssammut opened this issue Jun 5, 2018 · 0 comments
Closed

PHP Warning because of option to specify PHP executable #48

ssammut opened this issue Jun 5, 2018 · 0 comments
Assignees
Labels

Comments

@ssammut
Copy link

ssammut commented Jun 5, 2018

The new option to specify the php executable it causing the createPathDirectories function to throw a warning.

One of the entries in the $this->paths is

["php_executable"]=>
  string(3) "php"

When that is processed by the createPathDirectories I get a

PHP Warning: mkdir(): Permission denied in /var/app/current/vendor/phobetor/rabbitmq-supervisor-bundle/Phobetor/RabbitMqSupervisorBundle/Services/RabbitMqSupervisor.php on line 269

Due to:

dirname("php"); returns value "." and mkdir(".", 0755, true); gives that warning.

If permission would have been granted anyway I don't see why there would be the need to create that directory as it would already exist anyway.

@ssammut ssammut closed this as completed Jun 5, 2018
@ssammut ssammut reopened this Jun 5, 2018
@Phobetor Phobetor added the bug label Jun 6, 2018
@Phobetor Phobetor changed the title option to specify php executable PHP Warning because of option to specify PHP executable Jun 10, 2018
@Phobetor Phobetor self-assigned this Sep 6, 2019
Mapsred pushed a commit to igraal/rabbitmq-supervisor-bundle that referenced this issue Mar 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants