Joomla 2.5 – PHP and MySQL settings on Xampp for Windows

Here are some useful Joomla 2.5 tips for PHP and MySQL settings on Xampp 1.7.7 for Windows (XP, Vista, Win7)

MySQL: If you follow official instructions you’ll find that MySQL password for root account is ‘root’. That is NOT true. Root account doesn’t have password. If you want to access MySQLd server, you should try this command ‘mysql -u root’ . Do not add ‘-p’ prefix cause on default instalation root account doesn’t have password.

my.ini file can be found in \xampp\mysql\bin\

PHP: You need to change php.ini settings to suppress dozens of STRICT STANDARD warrnings.
You should find two uncommented lines (started without ‘;’ );
Find ‘error_reporting = E_ALL | E_STRICT’ and change it to ‘error_reporting =  E_ALL & ~E_NOTICE’.
Find ‘display_errors = no’ and chage it to ‘display_errors = Off’
Find ‘display_startup_errors = no’ and chage it to ‘display_startup_errors = Off’

php.ini file can be found in \xampp\php\

Restart Xampp server or restart Windows.

Bookmark the permalink.

Comments are closed