PHP mailfunction error.

    Error: Session “default” started at 2013-04-20T12:31:45+0000 #1 ERROR: Error: mail() [<a href=’function.mail’>function.mail</a>]: Failed to connect to mailserver at &quot;localhost&quot; port 25, verify your &quot;SMTP&quot; and &quot;smtp_port&quot; setting in php.ini or use ini_set() in ‘C:\wamp\www\public\projects\library\swift\lib\classes\Swift\Transport\SimpleMailInvoker.php’ on line 50 (error code: 2) Time since start: 1.4565789699554 seconds Session “default” started Read more…

Failed to initialize storage module- PHP error -IIS

PHP Error  : Fatal error: session_start() [function.session-start]: Failed to initialize storage module: files (path: ) Solution: Uncomment   session.save_path =    line  and define the tmp folder for example “C:\tmp” , so  the line looks like session.save_path =  “C:\tmp” Also make sure that tmp directory is writable by IIS user