I’m trying to run php via the command line but for some reason I’m getting errors about extensions that it cant find. If I go to the command line and type:
I get a windows style alert box with:
This application has failed to start because php_mbstring.dll was not found. Re-installing the application may fix this problem.
And then in the command line window this error appears:
PHP Warning: PHP Startup: Unable to load dynamic library 'c:\php\ext\php_exif.dll' - The specified module could not be found.
That is the correct path to the extension and both extensions are there.
The weirdest thing about all of this is that when I run a php script through apache there are no errors. And if I do phpinfo() both of those two extensions are in the list and working perfectly.