• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

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