Forums | Mahara Community

Support /
Hosting Provider won't change global php.ini- path to my own?


anonymous profile picture
Account deleted
Posts: 3

18 September 2015, 9:38

Hi,

 

I don't have access to the global php.ini through my hosting provider, & need to make one somewhere in the http_root directory on my own.

 

What path should I place this file so it works w/ the whole site?

 

I have entropy warnings on my dashboard.

 

Please advise.

 

Thanks,

Chris

anonymous profile picture
Account deleted
Posts: 3

18 September 2015, 10:37

This fixed it:

 

If your host won't let you edit php.ini, you may also be able to fix them with a .htaccess file - try putting these lines in a file called .htaccess in your web root:

php_flag magic_quotes_runtime off
php_flag magic_quotes_sybase off
php_flag magic_quotes_gpc off
php_value post_max_size 250M
php_value session.entropy_length 16
2 results