You won’t find many people in Hollywood who say they’re happy that Daniel Day-Lewis declined to do their project, but that happened with “Philadelphia,” the Oscar-winning AIDS drama that 25 years ago led to one of the most memorable acceptance speeches in academy history.

“We were making a really serious drama, and Daniel brings that kind of weight,” the film’s screenwriter, Ron Nyswaner, recalled in a recent phone interview. But the esteemed British actor turned down the role of Andrew Beckett, a stricken gay lawyer who sues his firm for firing him, in the director Jonathan Demme’s drama.

“Then Tom Hanks presented himself,” Nyswaner continued, “and it was Jonathan’s genius to see that Tom would bring that lighter touch and that invitation for the audience to come along for the ride.”

That they did. The movie grossed more than $200 million worldwide, and Hanks, who won best actor at the 1994 Academy Awards (the first of his two Oscars), tearfully thanked his wife, Rita Wilson and his co-workers on “Philadelphia.” Then he shined a spotlight on two private citizens.

“I would not be standing here if it weren’t for two very important men in my life,” he began and continued later, “Mr. Rawley Farnsworth, who was my high school drama teacher, who taught me that ‘act well the part, there all the glory lies,’ and one of my classmates under Mr. Farnsworth, Mr. John Gilkerson. I mention their names because they are two of the finest gay Americans, two wonderful men that I had the good fortune to be associated with, to fall under their inspiration at such a young age.” He went on to eulogize AIDS victims like Gilkerson, a San Francisco actor and puppeteer who died in 1989: “The streets of heaven are too crowded with angels.”