After switching to Mac OSX Sierra from El Capitan, as soon as I started php, it refuses to start any php project that was previously installed on my system. That after studying these problems on the Internet, I came up with these options ... After running the following commands:
cd /etc/apache2/
sudo mv httpd.conf httpd.conf.sierra
sudo mv httpd.conf~previous httpd.conf
cd ..
sudo cp php.ini-previous php.ini
sudo apachectl restart
I made my php project like a charm. But now I am facing another problem. This is a php mcrypt extension error. When I start the php project (laravel 4.2 project), the project does not work and shows me an error - "PHP mcrypt extension is required!" Please help me with this .. My mcrypt line of the php.ini file looks like this:
extension_dir = "/usr/lib/php/extensions/no-debug-non-zts-20121212/"
extension=mcrypt.so
Can you tell me what is wrong with my system.