ddev spx toggle and status aren't working for me as when I just run php -m I see SPX rather than spx.
|
status=$(php -m | grep 'spx') |
|
if [ "${status}" = "spx" ]; then |
This should probably be
status=$(php -m | grep -i 'spx')
if [ ! -z "${status}" ]; then
It should work for both upper and lowercase
Same should be done for both status and toggle