How to edit php.ini to enable curl for PHP5


i cant edit php.ini file because i have no permission to edit it in c9 vm


You can create a php.ini file in your workspace folder with the directives you need.


You can also edit it with sudo. e.g. sudo nano php.ini in the terminal.