Plesk API 404

Suddenly without warning our whmcs started returning a – (hyphen) when trying to create a package, looked in /usr/local/psa/admin/logs/httpsd_access_log and saw 404 errors for enterprise/control/agent.php

The default plesk filename for the agent file begins upper case –


Whereas whmcs calls lowercase agent.php

Weird, anyway create a symbolic link from agent.php -> Agent.php:

cd /usr/local/psa/admin/htdocs/enterprise/control/

ln -s Agent.php agent.php

One thought on “Plesk API 404

  1. I was wondering if you could help me. I inherited a website using Plesk, and don’t know anything about it. No, I’m not asking you to tell me everything about it! I need to know what the content of Agent.php is. It’s acting like a black box and I have no idea where it is requesting it’s data from. The online interface is not helpful at all.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>