Error Messages:
A symlink for "/www/wwwroot/www.atepaoutdoors.com/lib/web/mage/requirejs/mixins.js" can't be created and placed to "/www/wwwroot/www.atepaoutdoors.com/pub/static/frontend/Zemez/theme115/en_US/mage/requirejs/mixins.js". Warning!symlink() has been disabled for security reasons
When deploying the PHP project to the PHP environment on the new server, an error occurs: scandir() symlink() has been disabled for security reasons.
How to Solve:
In this case, just go to the PHP installation directory, find php.ini, ctrl+F and search for “disable_functions”, and find the following property configuration.
disable_functions = scandir,passthru,exec,system,chroot,chgrp,chown,shell_exec,proc_open,proc_get_status,ini_alter,ini_alter,ini_restore,dl,pls. restore,dl,pfsockopen,openlog,syslog,readlink,symlink,popepassthru,stream_socket_server,fsocket,fsockopen
Delete scandir and symlink from “disable_functions”, save the php.ini file, restart the service, and refresh the page. This will solve the error problem.
Read More:
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- Lua: Error during loading: [string “/usr/share/wireshark/init.lua”]:45: dofile has been disabled
- [Exception] javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path validation failed: java.security.cert.CertPathValidatorException: validity check failed
- How to Solve SSH Login Error: WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
- Taro Install Error: permission denied, symlink ‘../lib/node_modules/@tarojs/cli/bin/taro‘ -> ‘/usr/local/bin/tar
- Vue ElementUI el-dropdown Error: Uncaught TypeError: Cannot read property ‘disabled‘ of null
- How to Solve the jump error after Spring Security Login
- VScode jsconfig.json files First Line error for no reasons
- [Solved] Elasticsearch.service failed after enable elasticsearch security features
- Adjusted frame length exceeds 4096: 5637-discarded server solution
- Elasticsearch 6.2.3 version executes aggregation error Fielddata is disabled on text fields by default
- How to Solve Android Arouter Frame Autowired Error
- R: Data frame index error “unexpected token”
- [Solved] No tf data. Actual error: Fixed Frame [world] does not exist
- [Solved] Android Networking error: CLEARTEXT communication to www.xxxxx.xyz not permitted by network security policy
- [Solved] An unexpected error has occurred. Conda has prepared the above report.
- [Solved] ClientError.Security.Unauthorized: The client is unauthorized due to authentication failure.
- Chrome Error: Uncaught Error: SECURITY_ERR: DOM Exception 18
- [Solved] spring boot security Start Error: ‘login.html?error‘ is not a valid redirect URL
- [Solved] Neo4j error: Import-Module & neo4j Neo.ClientError.Security.Unauthorized