pTutorial

New way to learn Programming

How to locate php.ini file on server

PHP php.ini file

The php.ini file is also known as configuration file or you can say special file for PHP. The php.ini file is where you declare changes to your PHP settings.

Steps for locating php.ini file or configuration file on server

1. Create A PHP file with any name and type phpinfo() function as follows:

<?php

//Info.php

phpinfo();

?>

2. Upload this file on the server.

3. Than type URL on the browser, Suppose our website name is www.ptutorial.com then the URL is http://www.ptutorial.com/info.php

How to locate php.ini

Now yow can see the path of the php.ini file inside the details.

See Also


QUOTES OF THE DAY

Knowledge without integrity is dangerous and dreadful.

LIKE ON FACEBOOK

+1 ON GOOGLE

SHARE ON TWITTER