0

When I generate static files in the deployment, I run php bin/magento setup:static-content:deploy but it fails. I have disabled the extension=php_intl.dll in etc/php/7.0/cli/php.ini and restarted the apache webserver, but the issue is still popping up.

jordan@jordan-Precision-M4600:/var/www/html/lightrabbit2$ php bin/magento setup:static-content:deploy

PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/20151012/php_intl.dll' - /usr/lib/php/20151012/php_intl.dll: cannot open shared object file: No such file or directory in Unknown on line 0 cache_dir "/var/www/html/lightrabbit2/var/page_cache" is not writable jordan@jordan-Precision-M4600:/var/www/html/lightrabbit2$

David Lambauer
1,0722 gold badges9 silver badges25 bronze badges
asked Nov 19, 2017 at 5:51

2 Answers 2

0

Please check your permissions for

"/var/www/html/lightrabbit2/var/page_cache"

answered Nov 19, 2017 at 7:37
0

The Intl Extension is required by Magento. You should install it to solve the problem.

In addition to that, you should fix your permissions as recommended by Magento. For a shared hosting, use the following command in your root Magento dir.

find app/code pub/static app/etc var/generation var/di var/view_preprocessed vendor \( -type f -or -type d \) -exec chmod u-w {} \; && chmod o-rwx app/etc/env.php && chmod u+x bin/magento
chmod -R u+w .

For more information, read the Magento 2 DevDocs for Permissions.

answered Nov 19, 2017 at 12:12
0

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.