Actually I am very new at this and didnt find a solution on google for my issue. I just downloaded the new Version of Xampp and install Laravel with composer. Until here i didnt have any error messages but when i start to working i became error messages, see below.
(In this case command "php artisan migrate" is used to create a Database)
I receive following error message;
- Code: Select all
PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll in Unknown on line 0
UnexpectedValueException : The stream or file "/Users/tahaguener/.bitnami/stackman/machines/xampp/volumes/root/htdocs/blog/storage/logs/laravel-2019-06-20.log" could not be opened: failed to open stream: Permission denied
at /Users/tahaguener/.bitnami/stackman/machines/xampp/volumes/root/htdocs/blog/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:107
103| }
104| restore_error_handler();
105| if (!is_resource($this->stream)) {
106| $this->stream = null;
> 107| throw new \UnexpectedValueException(sprintf('The stream or file "%s" could not be opened: '.$this->errorMessage, $this->url));
108| }
109| }
110|
111| if ($this->useLocking) {
Exception trace:
1 Monolog\Handler\StreamHandler::write()
/Users/tahaguener/.bitnami/stackman/machines/xampp/volumes/root/htdocs/blog/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119
2 Monolog\Handler\RotatingFileHandler::write()
/Users/tahaguener/.bitnami/stackman/machines/xampp/volumes/root/htdocs/blog/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39
Please use the argument -v to see more details.
Whoops\Exception\ErrorException : PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll
at Unknown:0
1|
I tried with removing the semicolon on php.ini -> (;) extension=php_openssl.dll and started Apache new but nothing happens.
The second thing is, when i put command php -v you will see that my PHP Version is 7.1.23 but when i go on Localhost/dashboard there is PHP Version 7.3.0
- Code: Select all
php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll' - dlopen(/usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll, 0x0009): dlopen(): file not found: /usr/lib/php/extensions/no-debug-non-zts-20160303/php_openssl.dll in Unknown on line 0
PHP 7.1.23 (cli) (built: Feb 22 2019 22:19:32) ( NTS )
Copyright (c) 1997-2018 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2018 Zend Technologies
Does anyone know how to fix this problem.
Thanks in advance.
Regards