find . -name php.ini
Hello,--
I'm dabbling with Islandora for a school project. I need to upload WARC file that excess the maximum file limit (most of them are between 600-800 Mb). I'm using the virtual machine configuration as I do not have the skills to install Islandora otherwise. I would like to change the php.ini to modify the maximum size of my uploaded files.
Do you know which commands I may use to access, open and save the php.ini file ?
Many thanks,
Chloé
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/b3f212ba-6cf5-42a5-9527-640b05727e44%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/CAOqT600eoNsOKaBuFLB9g1fkGy7pbvjEZ7%2B-1yKVaom-ZaMH0Q%40mail.gmail.com.
Chloe,The 'php --ini' command will show you which inI file is being used. Typically there's one for command line use (cli) and one for the webserver (apache2). Once you find out where the Apache inI file is, you can edit it with any Linux text editor. 'nano' is probably the easiest to get started with.~Danny
On Apr 17, 2017 9:03 AM, "Chloé Hendrickx" <chloehe...@gmail.com> wrote:
Hello,--
I'm dabbling with Islandora for a school project. I need to upload WARC file that excess the maximum file limit (most of them are between 600-800 Mb). I'm using the virtual machine configuration as I do not have the skills to install Islandora otherwise. I would like to change the php.ini to modify the maximum size of my uploaded files.
Do you know which commands I may use to access, open and save the php.ini file ?
Many thanks,
Chloé
For more information about using this group, please read our Listserv Guidelines: http://islandora.ca/content/welcome-islandora-listserv
---
You received this message because you are subscribed to the Google Groups "islandora" group.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+...@googlegroups.com.
To unsubscribe from this group and stop receiving emails from it, send an email to islandora+unsubscribe@googlegroups.com.
Visit this group at https://groups.google.com/group/islandora.
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/092a1e80-2b9d-4528-8de7-9cbc2cb0cd7f%40googlegroups.com.
Chloe,
You can pass arguments to the 'ls' command. So 'ls /etc/php5' should list all the directories contained in that folder. You can enter them with the 'cd' command.
But just hang on a sec and I'll try to recreate the steps myself
on a vagrant box. I should be able to give you a complete list of
commands to just run so you don't lose weeks teaching yourself
linux just to try this out.
~Danny
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/f2b8d829-69b8-40fe-ad92-410072d98765%40googlegroups.com.
Looks like you're missing the preceding '/' in that last command. It should be 'cd /etc/php5/apache2'.
Here's some commands to find out the upload_max_filesize for your install and how to change them.
This will print out what it's currently set to. I received
"upload_max_filesize =500M". Note the space before the equals
sign.
To change it, I used sed, which can be used to update chunks of
text.
Note the space before the =, again. It has to match exactly what
got printed out, so if you get different results, you'll need to
adapt accordingly. This sets the max upload size to 2 gigabytes.
I would repeat this process for some other common parameters related to working with large files. For example, I did the same for 'post_max_size':
Which got me 'post_max_size =500M'
Which got me 'max_execution_time =100'. So my sed command was
Setting that to 0 removes any sort of limit on execution time.
You ought to be able to copy/paste your way through this
knowledge. Hope that helps.
~Danny
To view this discussion on the web visit https://groups.google.com/d/msgid/islandora/0337fcb0-50af-4c83-82f9-0dfba8a9ad07%40googlegroups.com.