Page 1 of 1

Empty PHP.INI file

Posted: Thu Feb 26, 2004 12:16 pm
by mrvanjohnson
I came across an interesting problem the other day. I
noticed a server wasn't processing PHP files
correctly. I logged into the box and did some poking
around and discovered the php.ini file was at 0(zero)k. I
checked it out and sure enough it was empty. I
restored the INI file and everything worked fine. I
called the owner of the server, the only other person
who administers the box, and asked if he had done
anything. He said no that he hadn't touched the box in
about a week. I know the site had been working early
this week.

I was curious if anyone else has ever experienced
anything like this. Obviously, my first concern is
that it was a hack initialized by someone. Does any
one know of any such hack that targets the php.ini
file?

Thanks