Posts Tagged ‘xampp’

Skype and XAMPP port conflict

XAMPP is a free and open source cross-platform web server package, consisting mainly of the Apache HTTP Server, MySQL database, and interpreters for scripts written in the PHP and Perl programming languages.

Skype is a software application that allows users to make voice calls over the Internet. Calls to other users within the Skype service are free, while calls to both traditional landline telephones and mobile phones can be made for a nominal fee using a debit-based user account system.

Sending mail from Localhost in XAMPP WAMPP using PHP

During Web Development in Windows environment, we use XAMPP/WAMP or some other local web server environment to test the code. In many cases includes the sending of mail, so it’s lazy job to upload the file in the server and test. In this case we can set the SMTP (Simple Mail Transfer Protocol) in our local server located in php.ini file.

In case of XAMPP, edit the file located in \xampp\php\php.ini

When  the SMTP is not set, error like this is displayed:

Warning: mail() [function.mail]: Failed to connect to mailserver at “localhost” port 25, verify your “SMTP” and “smtp_port” setting in php.ini or use ini_set() in C:\xampp\htdocs\testmail.php  on line 10

Powered by WordPress