I just uploaded my first project to Cpanel. My Php project needs to send the email, and for that I need to edit the php.ini file to open the SSL connection. Please help me in editing the PHP.ini file.
Thanks
I just uploaded my first project to Cpanel. My Php project needs to send the email, and for that I need to edit the php.ini file to open the SSL connection. Please help me in editing the PHP.ini file.
Thanks
The main php's php.ini for apache is in /usr/local/lib/php.ini
You may need to request your hosting support in order to make these changes for you if you do not have root access.
Martin.K | JaguarPC.com
JaguarPC High Class Hosting since 1998*
Unmanaged VPS Hosting | Managed VPS Hosting | Fail Over Hosting
isn't there any way to override the php.ini file. I tried this solution(How to create a custom php.ini file when nothing else works | drupal.org), but it didn't worked.
Chinmay
ESDS - Data Center in India
If you do not have 'root' access to the server then get your host to provide/copy the contents of the server php.ini so that you can create a custom php.ini . Just make the changes to the required variables.
Note that you have to place this custom php.ini the exact folder where you need the changes to take effect.
For example, if you place the 'php.ini' in your public_html folder then it would NOT be effective for a sub-folder under it.
InstaCarma
Outsourced Web Hosting Technical Support and Server Management
To visit out Blog , click here
Thank for your answers and your time. I have got the root acess. Ok to run the program on my local machine i edit the php.ini and uncomment the line that says
extension=php_openssl.dll
How can I uncomment this line in cpanel after getting the root acess.
Any help is highly appreciated