Skip to content

Use PHP from path in server.sh

Looks like I forgot to commit a change in !1640 (merged)

So when using SCL by sourcing /etc/profile, it sets the path to binaries to the version you've configured in SCL. Example:

$ which php
/opt/rh/rh-php70/root/usr/bin/php

So to actually use the desired PHP version, we cannot use a hard reference to /usr/bin/php .

This is already the case in cron.sh so one could argue this PR makes it consistent.

Merge request reports

Loading