Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am having problems with my Auth component in an Amazon ec2 linux instance. Apparently the mysql pdo needs to be installed via easy apache rather than PECL. The command I used to instal the mysql pdo was:

sudo yum install -y php-devel php-mysql php-pdo

Is this command installing via PECL? How can I install the mysql pdo via easyapache instead?

share|improve this question
    
It really shouldn't matter how PDO is installed as long as you do so correctly. Are you sure yum install php-pdo doesn't require you to add something to php.ini to enable it first? –  ceejayoz Nov 5 '12 at 18:49
    
@ceejayoz: Yes, you are required to enable the pdo in the php.ini, which I did. Are you saying the PDO modules are the same via easyapache or pecl? Here is the answer I am referencing:stackoverflow.com/questions/11421213/… –  Alex McClary Nov 5 '12 at 18:56
    
Which version of PHP are you using? Looks like 5.1+ has it built in to PHP. Shouldn't need to install it at all. –  ceejayoz Nov 5 '12 at 19:02
    
Its an Amazon Linux instance so PHP 5.3. They have the list of commands here. codingsteps.com/… , but then you must also edit the php.ini file. –  Alex McClary Nov 5 '12 at 19:50
add comment

Your Answer

 
discard

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

Browse other questions tagged or ask your own question.