Fetch PHP version from package config