Silverstripe Version:
4.1.2
Question:
How does your .bash_profile look?
I’m not quite clear on the MAMP php version, and the MacOS php. When working on localhost does SS only want to use the MAMP version of php? I feel I get crossways with the MAMP install and perhaps it has to do with the .bash_profile.
This post has some good ideas, but it’s based on wordpress. Is there a post somewhere dealing with SS and the proper .bash_profile setup?
I’ve tried using this line but get the same error as I do below:
https://docs.silverstripe.org/en/4/getting_started/installation/mac_osx/
Trying to get phpdebugbar to work so I can eventually get the silverstripe plugin to work on top of it.
just seems like I have endless issues get the proper localhost environment setup.
Do you use this silverstripe-debugbar?
Trevors-Mac-mini:htdocs trevorpan$ composer install.phar
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/intl.so' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/intl.so, 0x0009): closured error in Unknown on line 0
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "install.phar" is not defined.
The above is using the system php.
http://phpdebugbar.com/ I’ve added this dependency to the composer.json file but the above command returns the above error.