Nearly 20,000 striking municipal employes in Philadelphia intend to stay off the job until a package comparable to one recently awarded city police is obtained, union officials said yesterday.

Trash remained the most visible evidence of Philadelphia's largest municipal strike. Recreational facilities were closed for the most part and health care units operated on a referral and emergency-only basis.

Leaders of District Councils 33 and 47 of the American Federation of State, County and Municipal Employes, representing nonuniformed city employees, voted unanimously on the fourth day of the walkout to reject the city's latest contract offer.

A spokesman for the councils said the union was holding out for no layoffs and an immediate 9 percent wage increase. On Thursday, the city offered the union a 7 percent wage increase the first year, 5 percent the second and a 1 1/2 percent increase in fringe benefits over the two years.

Meanwhile, in Louisville a judge struck down an order directing the city's 600 union firefighters to end a strike that has closed all but eight of the city's 23 fire stations.

Jefferson Circuit Judge George Ryan dissolved a temporary restraining order he had issued Friday when the strike began. Ryan said the order was invalid because Mayor William Stansbury had signed the request for it in advance and was out of town when it was filed. An attorney for the city said he would apply immediately for a new order.