find php.ini in the Cpanel

6

I need to edit php.ini in CPanel, but I can not find the services configuration panel. I am trying to send email with codeigniter in localhost worked using Xampp , but online in CPanel of this error:

  

A PHP Error was encountered
  Severity: Warning
  Message: fsockopen (): unable to connect to     ssl: //smtp.googlemail.com: 465 (Connection timed out)   Filename: libraries / Email.php
  Line Number: 1950
  Backtrace:
  File: /home/sermulhe/public_html/application/controllers/FrontEnd_Ctrl.php
  Line: 261
  Function: send
  File: /home/sermulhe/public_html/index.php
  Line: 292
  Function: require_once

    
asked by anonymous 30.11.2015 / 11:08

1 answer

2

It depends on your hosting.

Some hosts allow you to add a PHP.INI to the root of your site's directory, with only the policies you want to change.

Another tip is, as you use codeigniter, you can try to change the protocol in sending the email, in the email.php file within the application/config directory, change the protocol to mail and try sending again.

    
30.11.2015 / 12:49