• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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