Now when i try to install apache it gives error
configure: Configuring Apache Portable Runtime library..
APR not found..
How to install APR in openshift?
What are you trying to do? If you just want to run a static html site, then just use one of the php cartridges, and it will service static content just fine. Otherwise it might help to explain exactly what you are trying to do?