Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am writing a program that needs to be able to detect the presence of various web hosting control panels. I don't use Plesk, or have access to a server running Plesk, so I am unable to ascertain what file or directory I could test for to reliably conclude that the system is running Plesk.

What file or directory indicates "Yes, this has Plesk installed" that is unlikely to ever change in the future, but would be present on all versions of Plesk out in the wild?

Thanks in advance :)

share|improve this question

1 Answer 1

up vote 3 down vote accepted

If Plesk is installed there should be a version file at this location on Linux systems:

/usr/local/psa/

Or you can check for the directory itself. If needed you can use the version file to determine the installed Plesk version. According to the Parallels knowledgebase, Plesk won't even start when this file doesn't exists: http://kb.parallels.com/en/3968.

I'm not the right person to tell you how to detect Plesk on Windows based systems ;).

share|improve this answer
    
Thanks! I appreciate it. –  Tim Post May 4 '10 at 18:29

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.