Did setup a new apache and php settings.
Uninstalled XAMPP,
Installed
Apache 2.4.10
PHP 5.6.0

Did some changes for the .htaccess, As it was not working perfectly fine.
I hope now it dont give error to any other server i upload this application to.