Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I've recently set up the title instance (64bit) on AWS. I have that being said, I've installed httpd and php, both of which are running.

The series of installs executed are as follows:

yum install httpd
yum install php
yum install mysql
yum install php-mysql

What am I missing with regards to the PHP install? The function library seems to be lacking as both mb_strlen() and imagecreatefromjpeg() are no longer recognized.

Many thanks for suggested additional installs.

share|improve this question
up vote 6 down vote accepted

imagecreatefromjpeg is in


mb_strlen is in


So install them via

yum install php-gd php-mbstring
share|improve this answer
many thanks. working perfectly now. – zeshin Oct 9 '12 at 20:45
if you're running php 5.5, you'll need to run sudo yum install php55-mbstring. – Mark Kasson Jun 3 '15 at 12:34

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.