• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    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.

Question pm_Settings::set always report missing class

qtwrk

Basic Pleskian
Hi,

I need to run

pm_Settings::set('some-thing-here', 'some-value-here')

so I wrote a php , and run it by "plesk php php.php" , the problem now I have is

It keeps return Class no found

PHP Fatal error: Class 'DomainService' not found in /usr/local/psa/admin/plib/AbstractDSMail.php on line 3
exit status 255

I even tried blindly include all files /usr/local/psa/admin/plib , still having that issue.

any help would be much appreciated.
 
Back
Top