Important php files


1. info.php contents:


info.php is used to view the php properties of a domain. ex: This will show the php version, enabled or disabled components etc.

If a php based site does not contain the info.php, you can add this file with the contents to that domain.

2. php.ini
This resides in a site. With this we can enable / disable services. Where info.php is only used to view the services enabled or disabled.<ins

If the php.ini file is not available for a domain, you can copy and paste the php.ini from the server/ other source to that domain. It will work.

3. Index.php
Index.php is usually the homepage of a PHP based site.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s