quick tip: phpSecurityscanner with xampp
Posted: September 10th, 2008 | Author: sofia | Filed under: useful | Tags: php, security, tips, tools |Just a quick tip for those that want to use phpSecurityScanner but also use xampp/mampp. By default the scanner uses the local mysql server but since i’m used to xampp i wanted to use its mysql server.
So when i first ran the tool i got
[nativecode=Can't connect to local MySQL server through socket '/var/mysql/mysql.sock' (2)]
which was natural since what i’d started was xampp. To fix this i just added to bin/config.php, right after set_include_path, the following :
ini_set(’mysql.default_socket’,'/Applications/xampp/xamppfiles/var/mysql/mysql.sock’);





Leave a Reply