Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

include_path

Status
Not open for further replies.

mwpclark

Programmer
Joined
Mar 14, 2005
Messages
59
Location
US
Hello

I am in the process of migrating domain accounts from one linux server to another, and it has a different php version setup in a different location.

I had been getting a number of include_path errors, and this is the syntax for php.ini that seems to be working, allowing me to include files from whatever path:

include_path = ".:./:../"

My general understanding is that php looks for files first in a certain order, specified here: current directory, then parent directory.

Are there any suggestions to improve this?

Thanks
Mike
 
if that is what you want, it looks fine
 
although the second item is redundant as the last slash is implied.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top