# Starting elasticsearch from an application

**URL:** <https://discuss.elastic.co/t/starting-elasticsearch-from-an-application/5293>\
**Category:** Elasticsearch\
**Created:** [September 1, 2011, 6:55am UTC](https://discuss.elastic.co/t/starting-elasticsearch-from-an-application/5293 "2011-09-01T06:55:46Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![michaelpeters99](https://avatars.discourse-cdn.com/v4/letter/m/d78d45/32.png) [@michaelpeters99](https://discuss.elastic.co/u/michaelpeters99)\
**Post date:** [September 1, 2011, 6:55am UTC](https://discuss.elastic.co/t/starting-elasticsearch-from-an-application/5293/1 "2011-09-01T06:55:46Z")

</div>

I'm a newcomer to elasticsearch but have found it very easy to install and use. However in order to make it part of an operational system, I need to be able to start it from a web based application using something like PHP's exec function or similar. Although I can start elasticsearch directly or as a service on the command line this does not work from the application.  
I'm aware that this is really not an elasticsearch question, but I have extensively googled on this without finding a solution so I'm hoping that somebody has also had this requirement and has solved it.  
I am using elasticsearch 0.17.6 on Centos 6 final.  
Mike

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 3:55am UTC](https://discuss.elastic.co/t/starting-elasticsearch-from-an-application/5293/2 "2017-07-06T03:55:22Z")

</div>

Closed on July 6, 2017, 3:55am UTC


