views:

58

answers:

3

Background: I need to setup a search engine for my classifieds site, which is PHP and Mysql based.

I have downloaded Zend Framework and have no clue what to do with it. My webhosting provider says they don't support changing the php.ini file, and all tutorials I have found so far is based on changing that file.

I have found very little info, but it seems it is possible to use 'set include' I think, somehow!

Please somebody out there hear my pain and write some steps on how to get me started and save me a lot of headache and misery of searching around. I have already searched for two days without luck.

If you need to know anything else let me know...

PS: I have a php page called query.php which prepares to search the mysql db and display results, so far.

Thank you

A: 

If you don't have root access to your server then the answer is that you don't.

Azeem.Butt
He is talking about zend framework not the server or optimizer
+1  A: 

The Zend framework is not a standalone application with a start page, it's just a bunch of libraries really. You would have to read up on the Zend_Lucene docs and then start using the functions the framework provides within your PHP application. There's nothing more to it than that :)

Looking at the Zend_lucene docs, I can understand what you mean though. That is some heavy reading. Check out the front page of the docs, you'll find some examples that might be halfway quick to get to work as a first step towards understanding how it works and setting it up.

Otherwise I would consider asking a new question specifically looking for examples on how to use Zend_lucene.

Edit: Hey, check this out! It's about searching RSS feeds but it might get you going.

Pekka
Okay, but don't I have to 'point' to that library folder somehow in my php file? Which php function should I use for that?
Camran
I amended my answer.
Pekka
A: 

To test if it works, you can download a demo using Zend Framework, and see if it works. On Google Code you can find one.

kiamlaluno