Use state.pecl rather than state.cmd to call out to PHP package mgmt.