Empty PHP.INI file

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
mrvanjohnson
Forum Contributor
Posts: 137
Joined: Wed May 28, 2003 11:38 am
Location: San Diego, CA

Empty PHP.INI file

Post 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
Post Reply