If you are getting Internal server Error in WordPress  after entering your login  credentials .

How To Fix The WordPress Internal Server Error ?

You need to disable the “Suhosin” from php.iniFirst login as a root and enter in the users home directory of the domain which is causing issue.
root@abc [~]# /scripts/whoowns abc.com
abc
root@server [~]#cd /home/abc/public_html
root@server [/home/abc]#pwd
/home/abc/public_html
root@server [/home/abc/public_html]# php -i | grep php.ini
Configuration File (php.ini) Path => /usr/local/lib
Loaded Configuration File => /usr/local/lib/php.ini
root@server [/home/abc/public_html]# cp /usr/local/lib/php.ini .   (“.” means the currect working directory copy the php.ini file)
root@server [/home/abc/public_html]# vi php.ini

Find the line which look like
extension=”suhosin.so”
extension = “pdo.so”
extension = “pdo_sqlite.so”
extension = “sqlite.so”

and you need to disable the “suhoshin.so” by just semicolon “;”.
;extension=”suhosin.so”
extension = “pdo.so”
extension = “pdo_sqlite.so”
extension = “sqlite.so”
save the file.

and now open your .htaccess file in Using your favorite Linux Text editor such as pico or vi, add the the below code :-
root@server [/home/abc/public_html]# l .
root@server [/home/ceylan/public_html]# l .   (“l.” command display all the file which starts from “.” )
./  ../  .ftpquota  .htaccess
root@server [/home/ceylan/public_html]# vi .htaccess

SetEnv PHPRC “/home/ceylan/public_html”

save the file that’s it.
and again try to re-login you will not get the error anymore

😀