WebFaction
Community site: login faq

How to Increase the memory limit setting in php.ini? Trying to upload a large xml file into my new wordpress site...Tried to add file directly in wordpress import section but will not allow...Thanks in advance!

File size is around 6mb

asked 25 Feb '11, 22:17

wesleysoccer
212924
accept rate: 0%

edited 25 Feb '11, 22:22


Since Wordpress is a PHP application, you should be able to specify an upload limit as described in our documentation, here:

http://docs.webfaction.com/software/php.html#setting-an-upload-limit

Please note that php.ini only applies to webservers greater than or equal to web120, and .htaccess is used on servers prior to this.

permanent link

answered 25 Feb '11, 22:28

ryans ♦♦
5.0k93160
accept rate: 43%

Sorry I'm a bit confused...I checked out the link but not sure where to begin? How do i start?

(25 Feb '11, 22:48) wesleysoccer

.htaccess and php.ini are both just text files under your web application. So, you would begin by connecting to your account via either SSH or sFTP as explained here:

http://docs.webfaction.com/user-guide/access.html

And then edit the appropriate file in ~/webapps/<wordpress_app_name>

(25 Feb '11, 23:11) ryans ♦♦

Thanks...Yes I looked for these files in my FTP and were unable to locate them under webapps-myapp...Any additional help would be great! Thanks.

(26 Feb '11, 06:31) wesleysoccer

Neither of these files will exist by default. Just create them.

(26 Feb '11, 06:34) David L ♦♦

Hello, I'm having difficulty to solve the same problem as well. I'm a new user too, and I connected to my host using filezilla, created a php.ini file under my wordpress folder and included these lines

php_value post_max_size 10M php_value upload_max_filesize 10M

However, my wordpress uploads still show 2 MB...

I need some guidance over here - thank you.

permanent link

answered 01 Apr '11, 17:52

undream
1
accept rate: 0%

Don't use 'php_value' in your php.ini. Please follow the directions at web120 or Greater or dweb62 or Greater instead.

(01 Apr '11, 18:13) seanf
Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×262
×87

question asked: 25 Feb '11, 22:17

question was seen: 17,725 times

last updated: 01 Apr '11, 18:13

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM