Tuesday, November 15, 2011

How to create a php info page

Sponsored Links
Go to the DocumentRoot of your domain or default DocumentRoot of your webserver.

Create a php info file as follows.
[root@server1 public_html]# cat info.php

<?php
// Show all information, defaults to INFO_ALL
phpinfo();
?>
[root@server1 public_html]#

Give proper permissions
permission 644
ownership as domain owners

Now go to the browser and access as given below:
http://your_domain/info.php
or
Sponsored Links

No comments:

Post a Comment

Be nice. That's all.