3

I am using centos 6. i want to install php5-dev on my cloud server. Because in my server I got phpize error.

This is not working on my server. My PHP version is 5.3.3. I need to pecl install mongo

Danny Beckett
  • 20,529
  • 24
  • 107
  • 134

1 Answers1

9

as root, execute the following command

yum install php-devel
marklark
  • 860
  • 1
  • 8
  • 18
  • im getting `Error: php56-cli conflicts with php-cli-5.3.29-1.8.amzn1.x86_64 ` – t q Mar 08 '20 at 16:18
  • 1
    @weber - you may need to uninstall php 5.3 to get version 5.6 installed. Or have you worked this out already? – marklark Mar 10 '20 at 17:49
  • phpinfo shows im running php5.6, but are you saying that 5.3 is installed as well? – t q Mar 10 '20 at 20:01
  • try 'php -v' to determine what is installed. If you're on an Amazon instance or something, you may need to ask them. – marklark Mar 19 '20 at 19:34