Logo 
Search:

Unix / Linux / Ubuntu Answers

Ask Question   UnAnswered
Home » Forum » Unix / Linux / Ubuntu       RSS Feeds
  on Dec 05 In Unix / Linux / Ubuntu Category.

  
Question Answered By: Adah Miller   on Dec 05

When setting up a server phpinfo() is used to determine all is working.
a simple script is made to access this function:

<?php
phpinfo();
?>

saved as phpinfo.php to the server web root.

To troubleshoot the Mysql data base:

<?php
echo mysql_connect ('localhost','username','password');
?>

normally saved as mysql_test.php will test the mysql server connection
and passwords...

These scripts are considered a large security risk on servers, and
should be removed or renamed to a name a hacker would not consider to
hold such a powerful script. Information about your server can lead to a
hackers missuse of your system. Don't install any php script that can
give your information away on a public server. If you must have the
info, name your scripts wisely.

Share: 

 

This Question has 2 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on install phpsysinfo from Synaptic Or get search suggestion and latest updates.


Tagged: