The nonlinear dynamic behavior of microscopic bubbles near a rigid wall is investigated. Oscillations are driven by the ultrasonic pressure field that arises in various biomedical applications such as ultrasound imaging or targeted drug delivery. It is known that, when bubbles approach a blood-vessel wall, their linear dynamic response is modified. This modification may be very useful for real-time detection of bubbles that have found targets; in future therapeutic technologies, it may be useful for controlled release of medical agents encapsulating microbubbles. In this paper, the nonlinear response of microbubbles near a wall is studied. The Keller-Miksis-Parlitz equation is adopted, but modified to account for the presence of a rigid wall. This base model describes the time evolution of the bubble surface, which is assumed to remain spherical, and accounts for the effect of acoustic radiation losses owing to liquid compressibility in the momentum conservation. Two situations are considered: the base case of an isolated bubble in an unbounded medium, and a bubble near a rigid wall. In the latter case, the wall influence is modeled by including a symmetrically oscillating image bubble. The bubble dynamics is traced using a numerical solution of the model equation. Subsequently, Floquet theory is used to accurately detect the bifurcation point where bubble oscillations stop following the driving ultrasound frequency and undergo period-changing bifurcations. Of particular interest is the detection of the subcritical period-tripling and -quadrupling transition. The parametric bifurcation maps are obtained as functions of nondimensional parameters representing the bubble radius, the frequency and pressure amplitude of the driving ultrasound field, and the distance from the wall. It is shown that the presence of the wall generally stabilises the bubble dynamics, so that much larger values of the pressure amplitude are needed to generate nonlinear responses. Thus, a clinical protocol in which selected nonlinear harmonics are examined under varying insonation amplitudes may be useful in detecting microbubble proximity to walls.