Edit your .bash_profile and modify the PATH with :
export PATH=/opt/plesk/php/7.2/bin:$PATH
then reload with :
source ~/.bash_profile
More info here.
Related Posts:
- Chrome net::ERR_INCOMPLETE_CHUNKED_ENCODING error
- Running WP Cron on multisite the right way
- WP-CLI – Selecting PHP version
- cURL 28 error after switch from to brew php 7.2 on localhost
- How to run multiple Async HTTP requests in WordPress?
- Does the debug.log do log rotation?
- Utilize WP-CLI from inside WordPress, not SSH
- Setting Up PHPUnit tests for WP development on Windows
- Configuring WP-CLI on Windows 10
- apache cpu over 70% on localhost
- Is it possible to move wordpress out of webroot?
- login wp impossible
- wp-admin/index.php gives a “500 Internal Server Error [closed]
- PHPCS: Strings should have translatable content
- Memory errors with media upload, WordPress can’t use more than 96M (while there’s 512 available!)
- Evaluations of two wordpress security plans against php code injection attack
- WordPress (3.9.1) MultiSite Permissions. Is chown the answer?
- Different output from WP-CLI in bash vs PHP exec()
- Is XAMPP faster than running LAMP in WSL on Windows 10? [closed]
- Apache /Ubuntu server not running WordPress installation, outputting PHP code like HTML
- Apache Fallback instead of add_rewrite_rule
- WordPress: get recent posts, delete the current category
- wp search-replace on database returns PHP fatal error: Array and string offset access syntax with curly braces is no longer supported
- PHP Warning: chmod(): Operation not permitted in class-wp-filesystem-direct.php on line 173
- WordPress admin dashboard missing icons
- WordPress returning 404 for multisite pages
- how to combine wordpress htaccess on my root domain + php on subfolder
- How to disable server signature on wordpress? [closed]
- Posting and image insertion problems after EasyApache4 and PHP 7 upgrade
- Call to undefined function mysql_connect() After upgrading PHP 7.1 to 7.3
- How does WP work in conjunction with a web server?
- Permalinks are not working in WordPress in digitalocean
- Apache HTTP Server stops working for only a certain local website
- PHP Parse error on WP-CLI, not on web server
- WP-CLi PHP Warning: mysqli_query(): (HY000/1356): View During Search Replace
- Problem with data collection in tables
- call to undefined function mysql_connect
- How to edit content in WordPress and the Polylang – plugin? – with demosite
- Upgrade to PHP7.3 and Changing Apache from Prefork to Event Breaks WordPress
- Windows Setup: Error establishing a database connection
- Huge time to first byte on live site
- WAMP SERVER Command Prompt SET PATH=%PATH%
- How come there is no error if I upgrade WordPress core after locking .htaccess permissions to 644?
- Full search and replace isn’t enough to make all pictures to be loaded with https
- 403 Forbidden Localhost Wamp Apache Php
- Strange special character/Latin characters
- Rewrite /keyword1+keyword2.html to search page | .htaccess
- Not logged in when using http
- Admin-area broken through weird issues
- Blog only showing code
- WordPress Memory limit not increasing
- Having an HTTP error 500 after migrating a website
- session_start(): Cannot find save handler ‘mm’ – session startup failed in /sites
- how to put shortcode to the top of the page – theme 2014
- How to avoid timeout waiting for output from CGI script?
- How can I prevent wordpress from sending emails
- Restricting access to a file for everyone except logged in users
- Cannot register a custom WP-CLI command
- NGINX rewrite rules for WordPress Subdirectory Multisite to support deep URL
- Run a WP-CLI command from within PHP without using shell_exec()
- 404 Error after URL update
- Running WP-Cron on Multisite networks the right way?
- How to add global CSS to all webpages without installing any plugin?
- How to fix ‘Notice: Undefined index:’ in PHP form action
- How to determine if WP_DEBUG is enabled? [duplicate]
- Getting key value of WP_Term object in wordpress
- Delete post revisions on post publish
- how to add display_name from the users table to this query
- How do I list the_tags() into HTML data-attribute
- WP Insert Post function – Insert Post Thumbnail
- get_usermeta() deprecated in favor of get_user_meta(). But why doesn’t it make use of it?
- How can I hide Home in my menu in a specific page?
- Setting a cookie upon specific URL visit
- WordPress custom slug (endpoint) and compare all links
- Only show search results with if current date is between two dates?
- Remove duplicates – array_unique()
- prevent default not stopping page refresh. Passing form information to and from php with ajax in a wordpress site
- Capture User Email Address When Filling Out Form
- Execute long and heavy processes
- get_posts() and WP_query limits ‘AND’ conditions to a maximum of 6 for meta value queries in WordPress
- Function Reference Documenting Template Tags for use in Custom Theme Templates?
- Seo Friendly Filter URLs
- Add new post in existing categories using wp_insert_post
- I’m unable to call img path using single quotes in an array?
- Else/If Statement to Display Photo Descriptions
- custom header text
- Too many errors on log
- Trying to copy linux blog locally with XAMPP – php fatal error
- How to search order using database frontend short code WordPress
- Categories does not show Block editor WordPress
- Contactform7: display results from CURL
- How to update option field in database on clicking the publish button in customizer
- Add ID to output only for first option
- how use php query in AJAX jquery
- Custom Meta Box If Else Statement
- how to change “Read more” button position [closed]
- How to format PHP if statement? [closed]
- Unable to upload media to WordPress
- _load_textdomain_just_in_time
- browser tab showing page title twice