back to previous idea for phpXYm script; fix extension_dir for phpXYm