Q: Problems with installing PHP extensions on El Capitan Server...
Hi,
I have installed the OS X El Capitan with latest Server application and try to install some PHP extensions.
I have installed some after I found that I need to disable root permissions with "csrutil disable".
But my big problem is that I'm unable to install mcrypt, smbclient and gmp.
I have try the same install process like on all others:
- install SMBClient
phpize
./configure --enable-shared
make
sudo make install
To /Library/Server/Web/Config/php/php.ini add:
extension=libsmbclient.so
- Download from http://php.net
php-5.5.xx.tar.bz2 (latest for OS X 5.5.31)
Choose the appropriate extension from: /php-5.5.xx/ext/
cd (the extension folder)
phpize
./configure --enable-shared
make
sudo make install
To /Library/Server/Web/Config/php/php.ini add:
extension= (with extension name)
sudo apachectl restart
Please can anybody help me how ti become it working?
Mac OS X (10.7.4)
Posted on Jan 14, 2016 6:09 AM