In a link in php, for example, when using require();
What does .:/ do in .:/usr/share/php:/apps/php?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The
:is a path delimiter. It indicates that the include path, in this case, consists of the directories.,/usr/share/php, and/apps/php.That is, the current working directory referenced by
.plus the two other full directory paths/usr/share/php, and/apps/phpThis is common method in Unix-like systems of separating paths. Dos/Windows may use a
;for environment variables instead, though not in PHP configurations, which use:.