Tuesday, April 11, 2017

Some tips for Laravel installation on Windows

1.PHP interpreter path and version

If you need to update your php version , just dowload PHP executable and save it to a folder. Add that folder to PATH and make sure it's the first php.exe in the PATH's folder list.
Rename php.ini.development to php.ini and uncomment the extension you need. You will need mbstring and openssl for sure (otherwise composer update will fail).

More tips will be added soon:)

2. Non-Windows related: Accessing external classes added via composer (in Laravel controllers):


$objReader = \PHPExcel_IOFactory::createReader($type);

Where PHPExcel represents PHPExcel library.

No comments:

Post a Comment

Ubuntu 12.04, 14.04, 16.04 - auto start an app or script before login

To run a command or application at startup, even before the user has logged in, you can use this file: /etc/rc.local The commands entered...