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 289 views
2 answers 354 views
1 answer 248 views
1 answer 229 views
1 answer 253 views
1 answer 270 views
1 answer 320 views
...