Php extension installation problem: local two php, installation php extensions are always not installed

for example,
each installation cannot be installed on
mac, and xampp,
failed to install ffmpeg and imagick extensions

.

try to use the phpize of the absolute path of the specified version to generate the compilation configuration. The description is not very clear, and there are no errors or detailed descriptions. This is the only way to remind you.


Please state clearly the environment and the extension you want to install


mac also use xampp. What do you think of
using homebrew ! Install no matter how many versions of php, install an extension of a command to solve, with mac but also use the integrated environment, what's the point.
even if you install with source code, use phpize to help install. In addition, ffmpeg is not an extension, just use the green package.


installation is actually very simple, brew install * simple installation, or can be compiled and installed, for example:

  1. php-a, find the php version

  2. wget http://cn2.php.net/distributi. download the corresponding version

  3. enter the corresponding extension directory of ext/

  4. which php / which php-config / which phpize find the php directory

  5. then follow the general steps to install, compile and install ok

is it very simple? no, no, no. I'm sorry. No, no, no.


describe the installation process clearly,
and post an error

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1be670f-3104f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1be670f-3104f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?