If you ever get a notice that
The Process class relies on proc_open, which is not available on your PHP installation."
All you need to do is to:
- Log in to your Cloudways Platform
2.Choose the Servers where you application is deployed, then go the Application where you need to enabled the PHP.
3.Under Application Management, select Application Settings.
4.Find PHP FPM Settings.
The windows below, as the screenshots show above you will see a list of PHP directives, and you will notice all the PHP functions which are disabled.
To enable any PHP function/extension, simple remove it from the list, then click Save Changes.
Here is a full list of PHP functions which can be modified.
getmyuid,passthru,leak,listen,diskfreespace,tmpfile,link,dl,system,highlight_file,source,show_source,fpassthru,virtual,posix_ctermid,posix_getcwd,posix_getegid,posix_geteuid,posix_getgid,posix_getgrgid,posix_getgrnam,posix_getgroups,posix_getlogin,posix_getpgid,posix_getpgrp,posix_getpid,posix,_getppid,posix_getpwuid,posix_getrlimit,posix_getsid,posix_getuid,posix_isatty,posix_kill,posix_mkfifo,posix_setegid,posix_seteuid,posix_setgid,posix_setpgid,posix_setsid,posix_setuid,posix_times,posix_ttyname,posix_uname,proc_open,proc_close,proc_nice,proc_terminate,escapeshellcmd,ini_alter,popen,pcntl_exec,socket_accept,socket_bind,socket_clear_error,socket_close,socket_connect,symlink,posix_geteuid,ini_alter,socket_listen,socket_create_listen,socket_read,socket_create_pair,stream_socket_server,shell_exec,exec