Title: PHP extensions
Last modified: June 11, 2017

---

# PHP extensions

 *  [tinkerrbell](https://wordpress.org/support/users/tinkerrbell/)
 * (@tinkerrbell)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/)
 * Hi,
 * which are the required PHP extensions for WordPress 4.8 to work?
    And do I need
   additional Apache modules than mod_rewrite?
 * Thanks!

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

 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217624)
 * I’m not sure what you mean. Please explain your hosting environment.
 *  Thread Starter [tinkerrbell](https://wordpress.org/support/users/tinkerrbell/)
 * (@tinkerrbell)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217625)
 * I mean for setting up VPS running Centos 7.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217630)
 * You will need mod_rewrite (which is installed by default when you install httpd)
   and mod_php. However, I strongly recommend you use php_fpm as it provides a better
   level of security and control.
 * [https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/](https://wp-root.org/server/install-php-fpm-tcp-unix-sockets-centos/)
 * Also, use the ius repo to get PHP 7
    [https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7](https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-php-7-on-centos-7)
 * A sample of my config files are here:
 * [https://gist.github.com/sterndata/55bac4f1d833421203cff7816e2f5276](https://gist.github.com/sterndata/55bac4f1d833421203cff7816e2f5276)
 *  Thread Starter [tinkerrbell](https://wordpress.org/support/users/tinkerrbell/)
 * (@tinkerrbell)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217709)
 * Thanks for your assist! I am using PHP 7.1 and I ask for the extensions like 
   gd, mysql etc.
 * Another question that popped is this the right setting of httpd.conf?
 * <Directory /var/www/html>
    AllowOverride All </Directory>
 * because I still get error 404 when I update permalink settings. The .htaccess
   file is setup properly with write privileges.
 *  Moderator [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/)
 * (@sterndata)
 * Volunteer Forum Moderator
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217767)
 * Assuming your wordpress install is in /var/www/html, you’ll need that either 
   in .htaccess or in your httpd config file for that virtual host.
 * install gd, php-gd, ImageMagick, and mariadb
 *  Thread Starter [tinkerrbell](https://wordpress.org/support/users/tinkerrbell/)
 * (@tinkerrbell)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217774)
 * Thanks

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

The topic ‘PHP extensions’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 6 replies
 * 2 participants
 * Last reply from: [tinkerrbell](https://wordpress.org/support/users/tinkerrbell/)
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/php-extensions-3/#post-9217774)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
