Read the FAQ

Some problems are more common than others. The most common ones are listed in the PHP FAQ, part of this manual.