Some do, and some don't. It's kind of a crap shoot.
You'll probably hit this again with things like mcrypt and mysqli.
Nearly every extension can be installed using yum on centos. If it fails, then you can also install the php builder system called pecl.
yum install pecl
pecl install (name of php extension)
Happy pressing!