Rory McIlroy had more trouble with his stomach than his ribs. The golf was just fine.
Playing for the first time in seven weeks because of a rib injury, McIlroy coped with a bad stomach and the high altitude with a 3-under-par 68 that left him one shot out of a six-way tie for the lead as the Mexico Championship made a strong debut Thursday in Mexico City.
Phil Mickelson and Lee Westwood, two of the four players who were in the field for the first edition of this World Golf Championships event in 1999, each shot 67 and were joined at the top by PGA champion Jimmy Walker, Ross Fisher, Jon Rahm of Spain, and Ryan Moore.
Westwood and Walker each made it to 6 under until two bogeys over their final few holes.
McIlroy, who can return to No. 1 with a victory this week, had not competed since Jan. 15 because of a hairline fracture of a rib. That was never a problem. As he waited to tee off midway through his round, he said he spent most of the night in the bathroom and ‘‘the altitude doesn’t help.’’
He made the golf look easy, rarely getting out of position while playing aggressively with a driver early in the round and surging late with an eagle on the par-5 sixth.
‘‘I’ve waited long enough to play,’’ McIlroy said. ‘‘I wanted to get out here and be competitive and try to shoot a good score. I don’t feel anywhere near as bad as I did in China last year when I had the same thing. So hopefully, it’s just a day thing and it will pass.’’
British Open champion Henrik Stenson wasn’t so fortunate. He withdrew after 11 holes with a stomach virus.
The biggest surprise was Chapultepec Golf Club, hosting the best players in the world at nearly 7,800 feet. Roberto Castro hit a tee shot 407 yards. Mickelson hit one 379 yards, his longest in recent years without hitting a cart path. Dustin Johnson, in his debut at No. 1 in the world, hit 3-wood on the 316-yard first hole that bounded over the green, into the hedges and out of bounds.
For all that length, no one could do better than 67, and only 27 players in the 77-man field broke par.
‘‘Even though the golf course doesn’t play long because of the altitude, it is challenging in many other respects with the precision of the irons, the small targets that the greens present and the speed and undulation of the greens,’’ Mickelson said.
Westwood certainly didn’t expect to make eight birdies, and he wasn’t all that disappointed with his two bogeys at the end.
‘‘It’s a great golf course,’’ Westwood said. ‘‘You’ve got to be really patient. It’s a pleasure to play a golf course where your caddie doesn’t hand you the driver walking off the previous green. You’ve got to put in a bit of thought on this golf course.’’
Westwood, Mickelson, Sergio Garcia (68), and Jim Furyk (77) were all at Valderrama in 1999 for what was then the American Express Championship. It was the one WGC originally designed to travel, and when the PGA Tour couldn’t secure a sponsor at Trump Doral outside Miami, it moved to Mexico City.
The crowd was loud and energized, no cheer louder than when Justin Thomas holed a punch-and-run from 103 yards on No. 4.
That was about the time Walker reached 6 under with a birdie on the par-5 sixth hole. But he was a victim of the thin air on the par-3 seventh when his 7-iron on the 235-yard seventh hole bounced hard and went all the way to the back of the green, leading to a three-putt bogey. He went long again on No. 8, leaving him a chip that didn’t even reach the green. If it had, it might have run some 70 feet back into the fairway because of the slope.
‘‘Good to post a 4 under, especially on a course . . . no one has seen it,’’ Walker said.
Jordan Spieth had an OK round. He had two early bogeys and had to rally to get back to 71.
LPGA — Michelle Wie rolled in several clutch putts and had six birdies in a 10-hole stretch to take a one-stroke lead after the first round of the HSBC Women’s Champions in Singapore.
The 27-year-old Wie, who has struggled with injuries and form since winning the US Open in 2014, shot a 6-under 66 at the new Tanjong course.
‘‘It’s a marathon this week, it’s not a sprint,’’ said Wie. ‘‘But I have to say I’m very proud of where I’ve positioned myself today.’’
Five others were tied for second after 67s — Olympic champion Inbee Park, Brooke Henderson, Mo Martin, Anna Nordqvist, and Ariya Jutanugarn. Among other scores in the 63-player field, Stacy Lewis and Paula Creamer had 68s, top-ranked Lydia Ko shot 69, Shanshan Feng and Lexi Thompson 70, Karrie Webb 75, and Cristie Kerr 77.
‘‘I still feel like I’m a little bit rusty, but hopefully that rust goes away as quickly as possible,’’ said Park, who is playing just her second tournament after taking a six-month break. ‘‘One round doesn’t really matter. I have to do this for the rest of the three days.’’
Park spent much of the early part of last year sidelined with a left thumb injury, and the break helped give it time to heal.
Wie, who had eight birdies and a pair of bogeys, has managed just one top-10 finish since 2014 and only got into the $1.5 million LPGA tournament on a sponsor’s invitation after her ranking slumped to No. 179. But she was in vintage touch Thursday despite playing in tricky winds and light rain.
After making a bogey-5 at the third, Wie’s putter suddenly got hot as she made three birdies in a row to go out in 34.
She made another three birdies at the start of the back nine, draining a 12-foot putt on the 11th and then sinking another long putt from below the hole on the 501-yard, par-5 13th to take the early lead at a tournament featuring nine of the world’s top 10 players.
‘‘It feels good to play without much pain, to go out there and just play some golf and focus on my game rather than trying to finish out rounds,’’ Wie said. ‘‘It’s always exciting to be on the top of the leaderboard.’’
European — Gregory Havret, Haydn Porteous, and Alexander Bjork shared the lead after the first round of the Tshwane Open in Pretoria, South Africa, all carding 6-under 65s.
Fifteen players shot 67 or better at the par-71 course, a low-scoring opening round in the South African capital.