|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-02-08 17:21 UTC] spamik at yum dot pl
Description: ------------ include_path needs something for home directory or username substitution. Without it tens of tousands of unmanagable php.ini specific to every username are needed. in php.ini include_path = ".:~/pear/php/" or include_path = ".:/home/$LOGIN/pear/php/" PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2026 The PHP GroupAll rights reserved. |
Last updated: Wed May 27 04:00:01 2026 UTC |
Right, or they are running nginx+php-fpm without any sort of suexec feature. This would be a feature that only worked for suexec users and as such it would be quite confusing. Note though that env variables work in your .ini and .user.ini files. So you can use ${LOGIN} or ${USER}. eg. include_path = ".:${USER}/pear/php/" so this feature is actually already there. Changing it to a documentation problem since I couldn't find this documented anywhere.