Title: Change PHP Version for WordPress Only
Last modified: November 28, 2018

---

# Change PHP Version for WordPress Only

 *  [Funky_52000](https://wordpress.org/support/users/funky_52000/)
 * (@funky_52000)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/change-php-version-for-wordpress-only/)
 * Hello
 * My customer have WordPress installed in the root folder and in the root folder
   there is also a third part “core app” installed.
    Unfortunately the “core app”
   actually only work in PHP 5.4 that makes the WordPress very slow…
 * Is there a way to update the PHP version to 7.2 only for WordPress and live the
   rest to 5.4 ?
 * Thanks and best regards
    David

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [RossMitchell](https://wordpress.org/support/users/rossmitchell/)
 * (@rossmitchell)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/change-php-version-for-wordpress-only/#post-10922273)
 * Suggest that you talk to the tech support of your client’s hosting company.
 *  Thread Starter [Funky_52000](https://wordpress.org/support/users/funky_52000/)
 * (@funky_52000)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/change-php-version-for-wordpress-only/#post-10922277)
 * I already do that and they are NOT WP specialised. They only propose me to use
   the option in they cpannel to change PHP Version of folders.
 *  [Dion](https://wordpress.org/support/users/diondesigns/)
 * (@diondesigns)
 * [7 years, 5 months ago](https://wordpress.org/support/topic/change-php-version-for-wordpress-only/#post-10922355)
 * You only have two choices here:
 * 1) move WordPress into its own folder/directory and use cPanel to change PHP 
   version
 * 2) Migrate the site to a VPS, and hire someone to create custom builds of Apache
   and PHP 5.4 / 7.2
 * I suggest that you convince your client to have WordPress in its own folder/directory.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Change PHP Version for WordPress Only’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 3 participants
 * Last reply from: [Dion](https://wordpress.org/support/users/diondesigns/)
 * Last activity: [7 years, 5 months ago](https://wordpress.org/support/topic/change-php-version-for-wordpress-only/#post-10922355)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
