TalkPHP
 
 
Account Login
Latest Articles
» The basic usage of PHPTAL, a XML/XHTML template library for PHP
» Vulnerable methods and the areas they are commonly trusted in.
» Simple way to protect a form from bot
» The Basics On: How Session Stealing Works
» How to keep your forms from double posting data
IRC Channel
IRC Speech Bubble Join the friendly bunch on IRC...
(#TalkPHP on Freenode)

...Also available via a web interface.

See this thread for information on the TalkPHP Free Hugs Initiative™. Subject to availability.
Associates
Associates
CSS Tutorials
 
 
LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
Old 04-27-2009, 03:26 AM   #1 (permalink)
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
 



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
PHP.ini 9three Advanced PHP Programming 5 11-07-2008 05:19 PM
Edit php.ini within PHP ETbyrne General 5 08-16-2008 12:35 PM
Issues on php.ini Dave Absolute Beginners 6 06-24-2008 06:25 AM
PHP.ini change upload limit killer-kurt Absolute Beginners 14 04-28-2008 11:32 AM


All times are GMT. The time now is 12:34 AM.

 
     

Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Inactive Reminders By Icora Web Design