|
пре 10 година | |
---|---|---|
.. | ||
cakephp | пре 10 година | |
hhvm | пре 10 година | |
php | пре 11 година | |
php-codeigniter | пре 10 година | |
php-fatfree | пре 10 година | |
php-fuel | пре 10 година | |
php-kohana | пре 10 година | |
php-laravel | пре 10 година | |
php-lithium | пре 10 година | |
php-micromvc | пре 10 година | |
php-phalcon | пре 10 година | |
php-phalcon-micro | пре 10 година | |
php-phpixie | пре 10 година | |
php-pimf | пре 10 година | |
php-senthot | пре 11 година | |
php-silex | пре 11 година | |
php-silex-orm | пре 11 година | |
php-silica | пре 11 година | |
php-slim | пре 11 година | |
php-symfony2 | пре 11 година | |
php-symfony2-stripped | пре 11 година | |
php-yaf | пре 11 година | |
php-yii2 | пре 11 година | |
php-zend-framework | пре 11 година | |
php-zend-framework1 | пре 11 година | |
phreeze | пре 11 година | |
README.md | пре 11 година |
Many servers use the php
, php-fpm
, or other binaries. If your
server launches with sudo
(e.g. sudo php-fpm
) then you should be
aware that using sudo resets the $PATH
environment variable, and your
specific binary may not be the one being used. The solution is to
always use sudo <full-path-to-my-binary>
. For example, cakephp
's
bash_profile.sh
sets the variable $PHP_FPM
to be the full path
to the php-fpm
binary that cakephp
wants, and then uses sudo $PHP_FPM
to ensure that the php-fpm
binary used by sudo is the exact binary
desired.
Many PHP apps use https://getcomposer.org/ for dependency management.
To support this, use fw_depends php composer
(note that order is
important, composer requires php and therefore should be listed after
PHP), and then add $IROOT/php-composer
to the PATH
in your bash_profile.sh
.
For example:
export COMPOSER_HOME=${IROOT}/php-composer
export PATH="$COMPOSER_HOME:$PATH"