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 gkittelson 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
Mar 14, 2005
59
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
 
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