How to gets a value from php.ini file configuration in PHP

3 Answers

0 votes
echo ini_get('post_max_size');


/*
run: 

8M  

*/

 



answered Jun 30, 2016 by avibootz
0 votes
echo ini_get('memory_limit'); 


/*
run: 

128M  

*/

 



answered Jun 30, 2016 by avibootz
0 votes
echo ini_get('upload_max_filesize'); 


/*
run: 

2M  

*/

 



answered Jun 30, 2016 by avibootz

Related questions

1 answer 292 views
2 answers 360 views
1 answer 252 views
1 answer 231 views
1 answer 254 views
1 answer 272 views
1 answer 322 views
...