itsdarrylnorris / lazydubuntu

(Deprecated) Setting Up my Drupal Enviroment in Ubuntu
http://www.lazydubuntu.com
Apache License 2.0
20 stars 10 forks source link

Database Import (php.ini) #23

Open itsdarrylnorris opened 9 years ago

itsdarrylnorris commented 9 years ago

Problem:

Sometimes we have to import a existing database and by the default setting we can not import a big database.

Solution

We need to modify the the upload_max_filesize = 2M to upload_max_filesize = 500M and post_max_size = 10M to post_max_size = 100M.

Resource

Using sed should be a great way to replace this information.