• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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