I'm having memory (RAM) issues in my Digital Ocean droplet,
I have 3 sites with average of 300 unique visitors daily, with 2GB's of RAM and 2GB (in my opinion this should be enough) of swap...
I runned: php -m
And this is the result:
bcmath
bz2
calendar
Core
ctype
curl
date
dba
dom
ereg
exif
fileinfo
filter
ftp
gd
gettext
hash
iconv
json
libxml
mbstring
mhash
mysql
mysqli
openssl
pcntl
pcre
PDO
pdo_mysql
Phar
posix
readline
Reflection
session
shmop
SimpleXML
soap
sockets
SPL
standard
sysvmsg
sysvsem
sysvshm
tokenizer
wddx
xml
xmlreader
xmlwriter
Zend OPcache
zip
zlib
That know, the only one I'm using of those is curl, but most of them, I don't know what they do.
Which of these modules do you think most websites don't need?
PS: I use MySQL, sessions, I make several responses that return JSON, it's really the basic stuff.