Frameworks, Composer & Git articles

Frameworks, Composer & Git 1,432 Getting a Laravel application running Laravel is not a CMS: it is the foundation you write a PHP application on top of. So this article has two halves....
Frameworks, Composer & Git 1,766 Rebuilding the wp-config.php connection wp-config.php is the file that tells WordPress which database to connect to, and with what password. Without it,...
Frameworks, Composer & Git 1,155 Git in cPanel: publishing your site from a repository Anyone who works with Git knows the nuisance: the code is in a repository, the site is on the server, and between...
Frameworks, Composer & Git 1,393 Composer on shared hosting: installing it and running it Composer is not installed as a command on the server, but you do not need it that way. You download a single file,...
Frameworks, Composer & Git 1,142 Running a PHP script from a cron job In Cron Jobs, in cPanel, the command is the full path of PHP, a space, and the full path of the script:...
Frameworks, Composer & Git 722 .htaccess for PHP projects: friendly URLs and redirects The .htaccess file is where you tell the server how to treat addresses: send every request to a single index.php...
Frameworks, Composer & Git 1,365 Keeping passwords out of your PHP code: .env files and the right permissions Put passwords and keys in a configuration file outside the public folder, readable only by your account, and let the...
Frameworks, Composer & Git 1,010 Composer says your requirements could not be resolved: PHP version and missing extensions Composer installs libraries and, before doing so, checks that the PHP it runs on meets what each one demands. The...
Frameworks, Composer & Git 1,321 Putting a CodeIgniter application on cPanel hosting A CodeIgniter application runs well on cPanel hosting, as long as the domain points at the application’s public...
Frameworks, Composer & Git 793 Laravel shows a 500 error or a missing application key: what to check In most cases a freshly uploaded Laravel that shows a 500 error has one of four causes: the application key is...