Search Type:
Search for:

Language:

Product:
Category:
No categories for selected product

I have Plesk 8.x and PHP 5 installed. When I try to install some application from Application Vault onto a domain, the error "PHP : The component version on the server does not satisfy the site application's requirements" appears.

Article ID: 1122 
Last Review: Mar,19 2009
Author: Vitaly Malakhov
Last updated by: Bezborodova Anastasiya APPLIES TO:
  • Plesk 8.x for Linux/Unix

Resolution

Some applications from Application Vault may not support PHP5 and may not work correctly with PHP 5. If PHP 5 support is not officially featured by this application vendor, then PHP dependency is set to 4.x for this application in Parallels Plesk Panel.

For applications which officially support PHP 5 version PHP dependency is set to >= 4.x.

PHP dependency is set in the application info.xml file, for example for Coppermine:

/usr/local/psa/var/cgitory/Coppermine-1.3.3-28/info/info.xml

REQUIREMENTS section in this file defines application requirements, for example:

-------------for Coppermine:
<REQUIREMENTS>
    <APACHE_VHOST name="PHP" value="on" />
    <DATABASE type="mysql" name="" username="" passwd="" host="localhost" />
</REQUIREMENTS>

-------------for phpBB:
<REQUIREMENTS>
    <APACHE_VHOST name="PHP" value="on" />
    <DATABASE type="mysql" name="" username="" passwd="" host="localhost" />
    <VERSION name="PHP" value="4.0.3" rel="ge" />
</REQUIREMENTS>

For phpBB this means that it requires PHP to be enabled for the domain and its version should be greater then or equal to 4.0.3.

There is no version specification for Coppermine, in such cases default requirement is applied which is:

<VERSION name="PHP" rel="eq" value="4.x.x" />

i.e. PHP version should be equal to 4.x.x where x can be arbitrary digit. 'x' char here is only allowed for eq operator.

Other valid operators are:
# lt - less then
# le - less or equal
# gt - greater then
# ge - greater or equal
# eq - equal
# ne - not equal

Multiple VERSION directives are allowed, in this case they are concatenated with AND logic operator.

If you want you can install and use an application on PHP 5 anyway. Note that application performance is not guaranteed in those case as it was not guaranteed by application vendor and was not tested by Parallels Plesk Panel QA.

As an example, if you want to allow Coppemine applicatoin to be installable on system with PHP 5 you should add VERSION directive in its info.xml file in REQUIREMENTS section, like:

<VERSION name="PHP" value="4.0.3" rel="ge" />


Subscription for changes to this article Subscription for changes to this article

Please provide feedback on this article

Did this article help you solve your issue?
Yes
No
Partially
I do not know yet
 
Strongly Agree   Strongly Disagree
  9 8 7 6 5 4 3 2 1
The article is easy to understand
The article is accurate
Additional Comments:
*Please provide us with your email address in case we need to contact you.
* - required fields
 
 
 
 
 
 
For Home
For Business
For Hosters
For SaaS
For Developers
 
Desktop Virtualization
- Parallels Desktop Switch to Mac Edition
- Parallels Desktop for Mac
- Parallels Desktop 4 for Windows & Linux
- Parallels Workstation Extreme
- Parallels Solution for Windows 7
Server Virtualization
- Parallels Server for Mac
- Parallels Server 4 Bare Metal
- Parallels Virtuozzo Containers
Automation
- Parallels Operations Automation
- Parallels Business Automation
- Parallels Virtual Automation
- Parallels Plesk Panel Suite
More Products