Gerard Roche 0e8d1f18a1 Add zend framework 1 functional unit tests před 11 roky
..
cakephp ef391492fe Update Cake to use Redis instead of APC # Please enter the commit message for your changes. Lines starting před 11 roky
hhvm 04c4772776 Update to PHP 5.5.17 před 11 roky
php 902ed0e127 Merge pull request #1028 from roman-tsiupa-sociomantic/patch-1 před 11 roky
php-codeigniter 04c4772776 Update to PHP 5.5.17 před 11 roky
php-fatfree 04c4772776 Update to PHP 5.5.17 před 11 roky
php-fuel 04c4772776 Update to PHP 5.5.17 před 11 roky
php-kohana 3ac5e82a49 Change PHP-kohana over to PDO because of deprecation před 11 roky
php-laravel 04c4772776 Update to PHP 5.5.17 před 11 roky
php-lithium 04c4772776 Update to PHP 5.5.17 před 11 roky
php-micromvc 04c4772776 Update to PHP 5.5.17 před 11 roky
php-phalcon 04c4772776 Update to PHP 5.5.17 před 11 roky
php-phalcon-micro 04c4772776 Update to PHP 5.5.17 před 11 roky
php-phpixie 04c4772776 Update to PHP 5.5.17 před 11 roky
php-pimf 04c4772776 Update to PHP 5.5.17 před 11 roky
php-senthot 04c4772776 Update to PHP 5.5.17 před 11 roky
php-silex 04c4772776 Update to PHP 5.5.17 před 11 roky
php-silex-orm 597d0950ae Update silex-orm to use Redis instead of APC před 11 roky
php-silica 04c4772776 Update to PHP 5.5.17 před 11 roky
php-slim 04c4772776 Update to PHP 5.5.17 před 11 roky
php-symfony2 031fca6e13 Update symfony2 with Redis instead of APC před 11 roky
php-symfony2-stripped 04c4772776 Update to PHP 5.5.17 před 11 roky
php-yaf 04c4772776 Update to PHP 5.5.17 před 11 roky
php-yii2 04c4772776 Update to PHP 5.5.17 před 11 roky
php-zend-framework 04c4772776 Update to PHP 5.5.17 před 11 roky
php-zend-framework1 0e8d1f18a1 Add zend framework 1 functional unit tests před 11 roky
phreeze 04c4772776 Update to PHP 5.5.17 před 11 roky
README.md 9ddae9f92b Update php readme před 11 roky

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"