• 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 PHP Version Question???

Corey

New Pleskian
Probably a really dumb question,but I installed Owncloud to my server using the default YUM install location, which placed it in /var/www/html/owncloud. I have a single domain that is aliased to this path and every domain on my server uses PHP version 5.6.30.

php -v from command line shows version 5.6.30.

However, a phpinfo() placed in the /var/www/html/owncloud directory shows PHP version 5.4. Does anyone know how the heck I change the version of PHP that is used in this directory?? There are no config files for this directory as it is not an actual domain.

I've searched for hours, no luck.
 
For vhosts Plesk uses own PHP versions which are located in

/opt/plesk/php/X.X/bin/php

For example

# ll /opt/plesk/php/
total 28
drwxr-xr-x 7 root root 4096 Oct 17 05:21 5.2
drwxr-xr-x 7 root root 4096 Oct 17 05:21 5.3
drwxr-xr-x 8 root root 4096 Oct 17 05:22 5.4
drwxr-xr-x 8 root root 4096 Oct 17 05:22 5.5
drwxr-xr-x 8 root root 4096 Oct 17 05:22 5.6
drwxr-xr-x 8 root root 4096 Oct 17 05:22 7.0
drwxr-xr-x 8 root root 4096 Oct 17 05:22 7.1

But /usr/bin/php is default PHP version from OS vendor.
 
Back
Top