• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

PHP Command Line

theywill

Basic Pleskian
Hi there,

I've installed a second version of PHP, 5.5.3, using Plesk. Does anyone know how I can run that from the command line? If I use php, I get the OS version.

I've tried...

php55
php553

Thanks in advance.
 
Hi theywill,

depending to your installation path, you would use a command like:

/your/installation/path/to/php553/bin/php ...
 
We have a winner. Thank you!

For me (and for reference) the path is /opt/plesk/php/5.5/bin/php.

Best regards!
 
Back
Top