I had a site with a system on one server, I needed to migrate to another and now there is an error in almost all the PHP functions of the system. I already gave the permissions on the folders, since it is hosted in linux, but I can not anyway.
When I try to create a new account, for example it gives the following errors:
Warning: fsockopen () [function.fsockopen]: unable to connect to autors.com.br:587 (Connection refused) in /home/storage/1/f2/68/autors/public_html/smtp.class.php on line 134 Error 222 Warning: fgets (): supplied argument is not a valid stream resource in /home/storage/1/f2/68/autors/public_html/smtp.class.php on line 122