Customizing php.ini



For PHP, you can create custom configuration by editing /home/ubuntu/workspace/php.ini. For example, from the terminal, from the following commands:

# create custom php.ini
$ echo "display_errors=Off" > /home/ubuntu/workspace/php.ini

# verify it is found
$ php --ini
Loaded Configuration File:  /home/ubuntu/workspace/php.ini

You may also just create a new file in your workspace folder and name it php.ini and then open that by double-clicking it.

The uploaded file exceeds the upload_max_filesize directive in php.ini
Writing a PHP App
How to allow IMAP Open in Cloud9
How to edit php.ini to enable curl for PHP5
PHP Solr extension
Getting Started with Laravel
How can I disabled xdebug in c9 workspace?

How can I access the php.ini file?


Please try the method stated above as I’ve updated it to make it clearer :slightly_smiling:

split this topic #4

2 posts were split to a new topic: Using Mongo with PHP

split this topic #5

A post was split to a new topic: Increasing max file upload size from php.ini


This isn’t working for me. Has something changed?