What is the php.ini file? and where is it?

From ClarolineDoc

The php.ini file is an important configuration file of your PHP server.

This file location depends on several things : if your are using Linux or Windows, where you installed your webserver, ... the file is always located on the server where the scripts of Claroline will run.

Table of contents

Using a PHP hosting service

The file is normally not editable to people who open an account in a host service, as it is common to several users hosted on the same machine. But you can noramlly easily see its content with this simple code added to the script of Claroline if you need to see the settings :

<?
phpinfo();
?>

php_function:phpinfo

Using your own webserver

Under Windows

With easyPhp

When Easy PHP is started (but Apache stop) make a right-click on icon in systray and go to "configuration" and there on PHP.

If it's gray, stop Apache and retry (don't forget to restart Apache after this work). You can also search php.ini file at these locations :

C:\Windows\php.ini
C:\.....\easyphp\apache\php.ini
C:\.....\easyphp\conf_file\php.ini

With Wamp

Under linux

/etc/?????

Debian

/etc/php4/apache/php.ini

With php5

 /etc/php5/apache/php.ini