Lita Gratrix c6d25304c1 Convert setup.py to setup.sh for php-symfony2 10 anni fa
..
cakephp f1220cd6b3 Started PHP and fixed a Scala 10 anni fa
hhvm f1220cd6b3 Started PHP and fixed a Scala 10 anni fa
php 902ed0e127 Merge pull request #1028 from roman-tsiupa-sociomantic/patch-1 11 anni fa
php-codeigniter 4c4119511f Updated setup files for codeigniter 10 anni fa
php-fatfree e7c3473e0a Convert setup.py to setup.sh for php-fatfree 10 anni fa
php-fuel bd808a10e6 fix typo in setup.sh for php-fuel 10 anni fa
php-kohana 190e6c27c4 Update setup.py to setup.sh for php-kohana 10 anni fa
php-laravel e8c09372f2 Convert setup.py to setup.sh for php-laravel. Was unable to fully test due 10 anni fa
php-lithium 4b9fd2aa02 Convert setup.py to setup.sh for php-lithium 10 anni fa
php-micromvc ba7c9a62e3 Convert setup.py to setup.sh for php-micromvc 10 anni fa
php-phalcon 84fc15b090 create stand alone install for php-phalcon (for use with php-phalcon 10 anni fa
php-phalcon-micro 84fc15b090 create stand alone install for php-phalcon (for use with php-phalcon 10 anni fa
php-phpixie 4a0a073cf9 Convert setup.py to setup.sh for php-phpixie. Includes changes to separate 10 anni fa
php-pimf 2f8c92ffa5 Convert setup.py and setup-raw.py to setup.sh and setup-raw.sh. Confirmed 10 anni fa
php-senthot 9732233479 Attempts to convert setup.py/setup-raw.py to setup.sh/setup-raw.sh for 10 anni fa
php-silex 9732233479 Attempts to convert setup.py/setup-raw.py to setup.sh/setup-raw.sh for 10 anni fa
php-silex-orm feb766dcfe Convert setup.py to setup.sh for php-silex-orm 10 anni fa
php-silica 5f7ec0f8a8 Convert setup.py to setup.sh for php-silica 10 anni fa
php-slim 4d9a515714 Convert setup.py to setup.sh for php-slim. 10 anni fa
php-symfony2 c6d25304c1 Convert setup.py to setup.sh for php-symfony2 10 anni fa
php-symfony2-stripped 04c4772776 Update to PHP 5.5.17 11 anni fa
php-yaf 04c4772776 Update to PHP 5.5.17 11 anni fa
php-yii2 04c4772776 Update to PHP 5.5.17 11 anni fa
php-zend-framework 202ab37d9e Fix zend framework 2 db multi queries should default to min/max 1/500 11 anni fa
php-zend-framework1 65dc752fb9 Add bash_profile script 11 anni fa
phreeze 04c4772776 Update to PHP 5.5.17 11 anni fa
README.md 9ddae9f92b Update php readme 11 anni fa

README.md

Tricks to writing PHP-based Frameworks

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.

Dependency Management

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"