Topics

User Functions

Events

There are no upcoming events

What's New

Stories last 2 weeks

No new stories

Comments last 2 weeks

No new comments

Trackbacks last 2 weeks

No new trackback comments

Links last 2 weeks

No recent new links

NEW FILES last 14 days

No new files

Welcome to Geeklog Sunday, April 20 2014 @ 10:12 PM EDT

Where is my php.ini?

The path where PHP looks for its php.ini file is built into PHP on compile time. To find out that path, use a PHP script that does a phpinfo() call. This will display a huge table of all of PHP's configuration variables. The path to php.ini can be found in the first part of that table, near the start of the page.

Geeklog ships with a phpinfo script in /path/to/geeklog/admin/install/info.php. Or you can simply create a new file (name it "phpinfo.php", for example) that contains the single line

<?php phpinfo(); ?>

Upload that file anywhere on your website and call it up in your browser.

FAQ Manager » General » Where is my php.ini?