fix proc_open() malfunction on some PHP for Android by replacing by popen()