I’m using laravel and thus require the command line to run artisan commands. When doing so, php gives me the following errors: When checking “which php” it points to the right version (of zend server) as I’ve added that to my path variable. Any idea what can be done to solve this? Answer Ok, what I did was the following: