• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Question opcache_get_status(Default)

seabiscuit

New Pleskian
Hello

All I want to start using wordpress, however I ended up dealing with whole bunch of new stuff related with VPS. I'm not an expert and trying to learn various things.

Can you please help me with the following? Thanks...Rgrds


I entered the following into the php.ini of each version:

disable_functions = ln -s, ln, ln -b, exec, dl, passthru, shell_exec, system, eval, popen, fsockopen, proc_open, proc_get_status, proc_nice, proc_terminate, show_source, stream_socket_server, symlink, link, lchgrp, lchown, chown, chgrp, posix_initgroups, posix_kill, posix_mkfifo, posix_mknod, and posix_setegid, posix_seteuid, posix_setgid, posix_setpgid, posix_setsid, posix_setuid

Is it OK to enter the same at Hosting Plans/Plan Name/PHP Settings:

disable_functions= ln -s, ln, ln -b, exec, dl, passthru, shell_exec,....

...instead of "opcache_get_status(Default)".

p.s. I have no domains added so far, but soon I will start adding. I would like the server-wide settings automatically applied to each domain added.
 
Maybe "disable_functions" in PHP only refers to PHP functions. I'd probably omit "ln -s, ln, ln -b". Not sure if all the others are needed. Specifically "eval" pops into my eye. There are lots of uses for eval beyond hacking a website. Probably your Wordpress won't work correctly without this.

You can preset the disable_functions in your hosting plan, so that each new domain has that setting. But why "instead" of opcache_get_status?
 
Hi Peter,

I saw a video.... the guy was simply suggesting this list to enter as disable_functions in php.ini and he was also copying the same list into the disable_functions field at Hosting Plans/Plan Name/PHP Settings, overwriting "opcache_get_status".

To be honest I dont know which one is a good practice.... pls tell me what I should do. Thanks
 
Back
Top