fix hard-coded php version reference

- php extension path should be based on version number from ```phpenv version-name``` command and not hardcoded