How to get path of php.ini with a php script?



How to get path of php.ini with a php script?..

Answer / priti

phpinfo(); return php.ini location under 'Loaded
Configuration File' title.

Is This Answer Correct ?    18 Yes 0 No

Post New Answer

More PHP Interview Questions

Is php difficult to learn?

1 Answers  


How to replace a text in a string with another text in php?

1 Answers  


What are the differences between Get and post methods in form submitting, give the case where we can use get and we can use post methods?

11 Answers   HCL, Rushmore Consultancy, Thursday Technology,


What is the meaning of curl , which is used while connecting with pay pal? and how it works?

2 Answers  


Is php still in demand?

1 Answers  


Explain what are psrs?

1 Answers  


Write down the code for saving an uploaded file in PHP.

1 Answers  


When is a conditional statement ended with an endif?

1 Answers  


Extract url from this string? It should be flexible for all strings, not for this string only. "yahoo.comyahoo.co.inhotmail.org"

1 Answers   A1 Technology,


Is laravel frontend or backend?

1 Answers  


How can I prevent sql-injection in php?

1 Answers  


What are magic methods?

1 Answers  


Categories