I'll appreciate your help with this problem:
My website is not working after I modified the php.ini file using the php configuration editor included in Cpanel.
Our webiste is a high traffic site and it is working slow or sometimes it just go down, our web hosting provider says that it is caused by a mysql overload, so I decided to modify:
mysql.max_links from -1 to unlimited
mysql.max_persistent from -1 to unlimited
after I did it the following text is shown when a page is opened:
Warning: session_start(): Cannot find save handler user in /home/XXXXXXX/public_html/includes/bootstrap.inc on line 862
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXX/public_html/includes/bootstrap.inc:862) in /home/XXXXXX/public_html/includes/bootstrap.inc on line 531
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXX/public_html/includes/bootstrap.inc:862) in /home/XXXXXX/public_html/includes/bootstrap.inc on line 532
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXX/public_html/includes/bootstrap.inc:862) in /home/XXXXXX/public_html/includes/bootstrap.inc on line 533
Warning: Cannot modify header information - headers already sent by (output started at /home/XXXXXX/public_html/includes/bootstrap.inc:862) in /home/XXXXXX/public_html/includes/bootstrap.inc on line 534
Fatal error: Unknown(): Cannot find save handler files in Unknown on line 0
I checked files_handler and is set to: files, I also reversed both changes but nothing happen
I hope someone can help me to solve the problem or pioint me in the right direction to find a solution
Thanks in advance
Comments
=-=
what program was used to edit php.ini ?
what if php.ini if removed from the installation ?
headers already sent, can mean that there is white space at the end of a file, have you altered any php file recently beyond php.ini?
_____________________________________________________________________
My posts & comments are usually dripping with sarcasm.
If you ask nicely I'll give you a towel : )
Thanks for your answer
To edit php.ini I used the PHP Configuration Editor included in WHM-Cpanel, I checked twice, the php.ini is open correctly each time that I rry to modify it
I didn't modify files or folders on drupal installation, I only changed a couple of lines in php.ini, that's all
hI, I Have readed in another
hI,
I Have readed in another forum that the WHM editor corrupts the php.ini files, sometimes... because i have the same problem but with oscommerce, i'm searching the solution... But, i repeat, beware with whm editor's, i suggest you to edit manually php.ini and re-check its sintaxis