Hamilton Turner ab40d594ae Cleanup php-silex 11 years ago
..
cakephp a6e74857ec Fix cakephp PATH handling 11 years ago
hhvm 23d7cbb0b7 HHVM typo 11 years ago
php 7d777ee841 Cleanup basic PHP 11 years ago
php-codeigniter b9f7248722 Cleanup codeigniter 11 years ago
php-fatfree 2d9b1b65d5 cleanup php-fatfree 11 years ago
php-fuel 1a55c3933b Cleanup php-fuel 11 years ago
php-kohana e279bc581f Cleanup php-kohana 11 years ago
php-laravel 9e89f4215e Cleanup php-laravel 11 years ago
php-lithium ef2fcd4449 Cleanup php-lithium 11 years ago
php-micromvc 1913b5079c Cleanup php-micromvc 11 years ago
php-phalcon 5740008f61 Cleanup php-phalcon 11 years ago
php-phalcon-micro b5b550654e Cleanup phalcon 11 years ago
php-phpixie b2a457b37d Cleanup php-phpixie 11 years ago
php-pimf cc571e5496 Cleanup php-pimf 11 years ago
php-senthot 5b6b4b74e8 Cleanup php-senthot 11 years ago
php-silex ab40d594ae Cleanup php-silex 11 years ago
php-silex-orm c791a06013 name php properly 11 years ago
php-silica c791a06013 name php properly 11 years ago
php-slim c791a06013 name php properly 11 years ago
php-symfony2 c791a06013 name php properly 11 years ago
php-symfony2-stripped c791a06013 name php properly 11 years ago
php-yaf 27358dbea7 Minor updates to reflect moving yaf and phalcon into php install 11 years ago
php-yii2 7fde1aa370 Add __init__ files to a number of tests 11 years ago
php-zend-framework c791a06013 name php properly 11 years ago
phreeze c791a06013 name php properly 11 years ago
README.md 5b6b4b74e8 Cleanup php-senthot 11 years ago

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 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.