How to set .ini file in the server?

此生再无相见时 提交于 2019-12-13 11:17:31

问题


For My PDF Generation I am using MPDF. But its not working in client's server. It shows no problem in my local system and my server. So I tried to change the max_execution_time, max_input_time, memory_limit in the ini file. But its not changing. When I used .htaccess it showed " For security reasons, mod_php is not used on this server. Use a php.ini file for php directives"..

I tried ini_set(), .user.ini file, php.ini file options. Is there any other way I can change the ini settings on the server?


回答1:


Adding this specific line to .htaccess file reads the newly created php.ini file in that folder.

AddHandler application/x-httpd-php5 .php


来源:https://stackoverflow.com/questions/25117741/how-to-set-ini-file-in-the-server

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!