View Single Post
Old 04-27-2009, 03:26 AM   #1 (permalink)
allworknoplay
The Gregarious
 
allworknoplay's Avatar
 
Join Date: Feb 2009
Location: New York
Posts: 645
Thanks: 64
allworknoplay is on a distinguished road
Default modifying PHP.ini

Hey guys,

I'm installing Zend framework on a hosted server. According to the installation it says I need to modify the "include_path" to include the /library directory...

I'm not sure exactly how this works. Luckily my hosting provider has an option to copy the master PHP.ini file to my local directory so I did that. I figured I just have to modify my local PHP.ini file and in all my PHP headers, make the PHP point to the local PHP.ini?

Here's what my "include_path" looks like:

Code:
include_path = ".:/usr/lib/php:/usr/local/lib/php"
How do I add the "/library" directory to that?

Here's what the instructions says:

Quote:
Zend Framework requires no special installation steps. Simply download the framework, extract it to the folder you would like to keep it in, and add the /library directory to your PHP include_path.
This release also includes the extras library. To use components in this library, add the /extras/library directory to your PHP include_path.

Since my website is hosted, are they looking for relative path or absolute path?

And how do I tell my PHP pages to look at the local PHP.ini instead of the main server?

Thanks!

FYI:
When I log in, all I see is this:

/www/

So I assume that the "library" directory would be:

/www/library/ ????
allworknoplay is offline  
Reply With Quote