Skip to content

Instantly share code, notes, and snippets.

@lucianovalenca
Last active October 28, 2019 15:19
Show Gist options
  • Select an option

  • Save lucianovalenca/7659668714960ea39d2a9420a4d6b9b3 to your computer and use it in GitHub Desktop.

Select an option

Save lucianovalenca/7659668714960ea39d2a9420a4d6b9b3 to your computer and use it in GitHub Desktop.
# Composer Windows
Se der erro ao instalar pacotes (PHP unable to load php_curl.dll extension), adicionar php no path do Windows:
The right way to do it is to add the PHP path to the Windows Path variable. In Control Panel -> System click on Advanced System Settings and use the button Environment Variables. Under System Variables you will find the Path variable. Edit it and append ;C:\PHP to it - or whatever the path to your PHP folder is. Then fully stop Apache and start it again (a simple restart might not be enough).
# Composer Phalcon
Para usar composer no Phalcon carregue autoload em config/loader.php:
`require_once APP_PATH . '/vendor/autoload.php`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment