Link to home
Start Free TrialLog in
Avatar of Terry Woods
Terry WoodsFlag for New Zealand

asked on

Which PHP extensions are needed to run a fully operational Wordpress site?

The below list of PHP extensions (for v5.5, in case it differs by version) are available to me in cPanel. Which of them do I need to enable to run a fully functional Wordpress website?

So far, I know I need to enable mysqli (or an equivalent... but it should be better than mysql which is obsolete, and probably better than pdo_mysql which I think is PEAR from memory)

I also need GD otherwise image editing from the Media Library won't work.

Background:
I was told I should update my hosting account from the default PHP version of 5.4 to 5.5. When I did so I discovered my Wordpress site could no longer connect to the database because there was no package for it to use. Adding mysqli fixed that, but I don't know what else I need.

apcu             hidef             mongodb             pspell             translit       
apm             htscanner             msgpack             quickhash             uploadprogress       
ares             http             mssql             radius             uri_template       
bcmath             igbinary             mysql             raphf             uuid       
big_int             imagick             mysqli             rar             wddx       
bitset             imap             ncurses             recode             weakref       
bz2_filter             inotify             oauth             redis             xcache_3       
dba             intl             oci8             rsync             xdebug       
dbase             ioncube_loader             odbc             snmp             xmlreader       
dbx             jsmin             opcache             soap             xmlrpc       
dom             json             pdf             sockets             xmlwriter       
doublemetaphone             ldap             pdo             spl_types             xrange       
eio             libevent             pdo_dblib             ssh2             xsl       
enchant             libsodium             pdo_mysql             stats             yaf       
ffmpeg             lzf             pdo_odbc             stem             yaml       
fileinfo             magickwand             pdo_pgsql             stomp             yaz       
gd             mailparse             pdo_sqlite             sysvmsg             zend_guard_loader       
gender             mbstring             pgsql             sysvsem             zip       
geoip             mcrypt             phalcon             sysvshm                   
gmagick             memcache             phar             tidy                   
gnupg             memcached             posix             timezonedb                   
haru             mongo             propro             trader
ASKER CERTIFIED SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Terry Woods

ASKER

Thanks everyone. The hosting service in use is a relatively small local one, and I've chatted about PHP versions to the owner of the business. I think he'll get PHP 7 available on the service at some point, but based on the conversation it doesn't sound like there's a lot of demand for it from his customers. I believe v5.6 is available already, so I should really be focusing on that (at least) rather than v5.5.
Thanks again!
Keep in mind PHP-5.6 is in it's end of life cycle now... which means...

It will become completely unsupported + hackable in around 18 months.

All hosting companies concerned with long term site security have already switched to PHP-7.x for months now.

For my hosting I always run latest Apache + PHP + OpenSSL + MariaDB (fast MySQL).

Saying there's no demand for PHP-7 == saying there's no demand for fast + secure PHP sites.
David is right PHP 7 is (has been) live a while my hosting company is  EOL'ing all previous versions