# Connection trouble with Elastica PHP driver

**URL:** <https://discuss.elastic.co/t/connection-trouble-with-elastica-php-driver/13126>\
**Category:** Elasticsearch\
**Created:** [August 8, 2013, 9:38am UTC](https://discuss.elastic.co/t/connection-trouble-with-elastica-php-driver/13126 "2013-08-08T09:38:04Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![flavien\_p](https://avatars.discourse-cdn.com/v4/letter/f/2bfe46/32.png) [@flavien\_p](https://discuss.elastic.co/u/flavien_p)\
**Post date:** [August 8, 2013, 9:38am UTC](https://discuss.elastic.co/t/connection-trouble-with-elastica-php-driver/13126/1 "2013-08-08T09:38:04Z")

</div>

Hello,  
I have a problem with Elastica. I try to install it with my CodeIgniter  
project.  
I followed the installation tutoria l:

[http://elastica.io/getting-started/installation.html](http://elastica.io/getting-started/installation.html)

but it doesn't works and I get this error :

"Fatal error: Class 'Elastica \ Connection' not found in / home / flavien /  
NetBeansProjects / trunk / application / libraries / Elastica / Client.php  
on line 102"

As you can see in my file : [https://gist.github.com/anonymous/6183119](https://gist.github.com/anonymous/6183119) I  
correctly set parameters to initialise the connection (I set the path in  
hard way to be sure it's loading, of course I will change it...). My  
elasticsearch is running well :

{  
"ok" : true,  
"status" : 200,  
"name" : "Tyrannus",  
"version" : {  
"number" : "0.90.2",  
"snapshot\_build" : false,  
"lucene\_version" : "4.3.1"  
},  
"tagline" : "You Know, for Search"  
}

Have you any clue on what am I doing wrong ? Thanks you,

F.

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
For more options, visit [https://groups.google.com/groups/opt\_out](https://groups.google.com/groups/opt_out).

---

<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, 2:22am UTC](https://discuss.elastic.co/t/connection-trouble-with-elastica-php-driver/13126/2 "2017-07-06T02:22:09Z")

</div>

Closed on July 6, 2017, 2:22am UTC


