• Introducing WebPros Cloud - a fully managed infrastructure platform purpose-built to simplify the deployment of WebPros products !  WebPros Cloud enables you to easily deliver WebPros solutions — without the complexity of managing the infrastructure.
    Join the pilot program today!
  • Support for BIND DNS has been removed from Plesk for Windows due to security and maintenance risks.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS.

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