Problem after php. ini change

poweradd

New member
Joined
May 26, 2011
Messages
4
I have messed a little bit with php.ini than i had error 500 on my websits so i have copied php.ini form my computer a now i can not login do DA panel, what should i add to php.ini to have acces to DA?
 
You might need to login with SSH, and restore working php.ini. Use find or locate to learn your php.ini location.
 
What do you mean? If you don't know how to work in SSH, you'd better stay off, because you might make things even worse.

You need to have a working copy of php.ini. If you've got none, you should get it from PHP source tar.gz. Find php.ini-dist or php.ini-recommended and copy to your location, then rename it.
 
re

i have copied php.ini from this package a nothing changed this is why i am asking on this forum how to solve my problem, the only thong i have change before error ocured was php.ini so i have copied new one and i have solved error 500 problem but i have problem loging to DA i am getting white page.
 
re

ok, found sollution, not sure wha i fixed but it worked
HTML:
cd /usr/local/directadmin/custombuild
rm -rf php*
./build update
./build clean
./build php y
thanks for help and effort
 
After you change php.ini you need to restart Apache. This action is required if you use mod_php, and useless if you use mod_suphp. So with ./build clean you got apache restarted at the end. It would not have helped you, if you haven't replaced broken php.ini before.
 
Back
Top