1
When I upload to production I get these errors:
Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86 Warning: putenv() has been disabled for security reasons in /home/httpd/htdocs/telekobr/site/vendor/vlucas/phpdotenv/src/Dotenv.php on line 86
I am using Laravel 5.1 and the server is with PHP5.6
thanks a lot for the clarification, I took a look at the server and did not find this file, I will contact the support to change. Thanks
– scooby
@Scooby php.ini is not loose anywhere, if you only have access to FTP you will never be able to access, especially if you are a SHARED server (common hosts), the only ones that can access are the server(s)/station(s)
– Guilherme Nascimento
I found the php.ini file but I am not allowed to edit it
– scooby
I downloaded the server by the program Putty and logged with my user, then used sudo and sudo -s command, but gave invalid command. After a few attempts I am no longer able to access the server gets timeout. Thanks for the help, I will contact the support.
– scooby
it would be the Ubuntu, yes I already used these commands, I contacted the support and they have to release even this permission of the function. I cannot change manually due to the server being shared. Thanks for the help, it was very helpful I will mark as solved.
– scooby
@Scooby for nothing, thank you ;)
– Guilherme Nascimento
I was subpoenaed that they can not release this function for security reasons, know of any alternative to work the env of my site?
– scooby
@Scooby unfortunately is impossible, just switching framework or even hosting, I find strange this argument of theirs, the
getenv
It will only be "insecure" if they release something sensitive in a forced manner in the "environment variables", which seems to me to be a huge failure on their part. Have accommodation in account that support everything in Brazil, maybe it’s time to migrate.– Guilherme Nascimento
Thanks, I’ll have to change hosting rs
– scooby