Questions tagged [php.ini]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
327 views

Restricting page by user role

I want to restrict certain pages according to user role for my wordpress site, so for example, when user with customer role wants to login to example.com/about page, they will be redirected to another ...
ByWorld's user avatar
  • 11
0 votes
0 answers
15 views

Post Timing Out Updating ACF Image Gallery

I have a page with multiple ACF Gallery fields in a Repeater field. All of the Gallery fields have images with no problem. My user is adding a new repeater row and then adding hundreds of images to ...
Junky's user avatar
  • 103
0 votes
2 answers
24 views

Increased max_upload_filesize, but still can't upload plugin [closed]

I'm trying to upload a plugin (it's not available in the marketplace), that's 2.73 megabytes, but the limit is 2M. I've increased the max_upload_filesize variable in php.ini to 3M, but still can't ...
Jillian Hoenig's user avatar
0 votes
1 answer
71 views

WP-Includes/load.pgp Not Recognizing File Path to db.php Inside ISPConfig Jailkit User Shelll

My current problem is as follows. I had a local LAMP environment WP Multisite on my host maschine that I migrated into an ISPConfig client directory that uses jailkit for security (vbox Debian 10 test ...
mjones's user avatar
  • 153
2 votes
1 answer
1k views

Get WP CLI to hide debug warnings and notices in JSON output, same setting as website

Summary: WP CLI can be used to get a JSON output of all the plugins installed on a site, but the output gets corrupted due to warnings although log levels are set to low. Problem Unfortunately, I have ...
Thomas Ebert's user avatar
0 votes
0 answers
55 views

How do you remove the “The Link You Followed Has Expired” error for a subfolder website?

I am building a wordpress website in a subfolder of a drupal website. I want to add a new theme by uploading a theme file but I keep getting the “The Link You Followed Has Expired” error. From my ...
Florian Lavorel's user avatar
3 votes
0 answers
2k views

WordPress Ignoring .user.ini

I have a server using Apache and PHP-FPM. The server hosts several WordPress sites with each site running as a different user and using a different pool. I'm trying to configure the post_max_size and ...
tech-otaku's user avatar
1 vote
1 answer
217 views

adding custom user input fields in WordPress admin dashboard gives error The link you followed has expired. Please try again

I am developing a wordpress theme for themeforest so its for commercial use and adding a custom input field of social media to the user menu in the WordPress dashboard gives error after i click Update ...
Muhammad Kashif's user avatar
0 votes
2 answers
881 views

Wordpress shows different upload_max_filesize than php.ini setting

I have php.ini files in the following directories of my WordPress installation: /wp-admin /wp-content / (where there wp-config.php lies) In all of them I set upload_max_filesize = 640M; - 640MB is ...
jasie's user avatar
  • 143
0 votes
0 answers
17 views

Maximum file Upload

I want to ask the about this upload_max_filesize = 2M in PHP. Does it mean that the allowable file upload is 2M? then how could we or how can we upload videos more than 2M?. Thanks new to PHP.
Lucifer Levi's user avatar
0 votes
1 answer
74 views

upload_max_filesize error in php.ini

I have a error while uploading my download theme for about a size of 2.3 MB with these error The uploaded file exceeds the upload_max_filesize directive in php.ini. . and when i try to change the ...
Lucifer Levi's user avatar
1 vote
1 answer
7k views

Max file size not updating

Hi I am a beginner at WordPress and am currently trying to increase my file upload size. So far I've tried two ways: The first way was to add this to the bottom of the functions.php file: @ini_set( ...
bigpotato's user avatar
  • 335
0 votes
1 answer
260 views

PHP E_WARNING being shown despite php.ini [closed]

I'm on OS X. I just upgraded to High Sierra 10.13.x from Sierra 10.12.x, and thus to PHP 7 from PHP 5. I suddenly started getting PHP Warning errors displayed in the browser. (It's fine that PHP ...
user2801042's user avatar
0 votes
1 answer
2k views

Wordpress upload file size error even after raising php limits

I get 'The uploaded file exceeds the uploadmaxfilesize directive in php.ini.' error while trying to upload a plugin which is just 5.1MB. I have raised the limits in php.ini file and also thru webmin. ...
aka_ab's user avatar
  • 1
0 votes
1 answer
202 views

How does WordPress rewrite URLS using its PHP scripts

My Question is WordPress redirects url even in httpd. httpd doesn't support htaccess. And if developer tries to rewrite urls he have to do it in the httpd.conf file. But WordPress how rewrite urls in ...
AA Shakil's user avatar
  • 111
0 votes
2 answers
783 views

Can't upload images (incorrect "file exceeds upload_max_filesize" error)

This is my first WordPress site. I've installed it on my Linux Ubuntu 16.04 remote server (which is in my house). I've got a LEMP stack installed on this server. When I try to upload images to my ...
ejwheelock's user avatar
0 votes
1 answer
149 views

Wp-admin uses different php.ini than the theme files

A strange issue with my webhost (which doesn't seem to have an idea either). I tried to increase the upload limit for the wp installation by changing values in the php.ini. If I check which php.ini -...
Apeli's user avatar
  • 111
0 votes
1 answer
3k views

Unable to install and upload theme due to php.ini file [closed]

Issues with uploading my theme to localhost using WAMP Server on Windows 7 Home version. I've changed the limit to 635mb in the php.ini. However, there seems to be TWO php.ini files. These are ...
Fliss's user avatar
  • 3
0 votes
0 answers
293 views

How to fix UpdraftPlus's memory issue?

I've tried to restore a backup version of my website through Updraft Plus, a WP Plugin that allows users to backup the website every few days. However, it cannot complete the backup due to this error:...
Intrepidity's user avatar
11 votes
3 answers
3k views

Which one does Wordpress prioritize when it comes to php.ini, wp-config and .htaccess?

Let's say I want to change the max upload limit for a Wordpress website and I give the following values: wp-config.php: 128MB php.ini: 256MB .htaccess: 64MB So, which one would Wordpress prioritize ...
imranhunzai's user avatar
1 vote
1 answer
3k views

Receiving 404 when uploading file larger than 10kb

I built a file upload form using AJAX code that runs perfectly on my localhost (xampp/apache). I can upload files as large as 256MB. Using HTTP. However, when I upload this code to my nginx server on ...
nu everest's user avatar
0 votes
3 answers
2k views

OSX El Capitan local install Maximum upload file size: 2 MB But php.ini set to 64M

Brand new site. Not MU. No matter what I do, I cannot get a file uploaded that exceeds 2MB. I'm running a localhost server with WordPress 4.3.1 I've modified both relevant settings in the the site's ...
Scott B's user avatar
  • 5,666
1 vote
1 answer
3k views

Set WP_MAX_MEMORY_LIMIT higher than PHP.ini memory_limit

I've read here, but I want to ask if I have understood this correctly. We have a server in which WordPress admin needed more memory. The PHP memory_limit, in PHP.ini, is set to 256M, and so was ...
ptf's user avatar
  • 423
0 votes
1 answer
8k views

upload_max_filesize in .user.ini Not Reflected in Media Upload

I would like to know why Media Upload does not detect the upload_max_filesize that had been set in .user.ini file as shown below. max_execution_time = 10000 memory_limit = 512M upload_max_filesize = ...
WeeHong's user avatar
  • 117
0 votes
2 answers
636 views

Weird Cron Error

So my wordpress site keeps going down from a 500 error, about once a day now. The entire site, including the wp-admin, will go down and stop responding to all requests with a 500 error. If I enable ...
Scott Lott's user avatar
0 votes
1 answer
1k views

WP 4.3.1 new install on localhost missing php.ini [closed]

I've installed WordPress on my localhost Mac OSX Yosemite box. I'm getting error: The uploaded file exceeds the upload_max_filesize directive in php.ini phpinfo() reports upload_max_filesize = 2M ...
Scott B's user avatar
  • 5,666
0 votes
2 answers
528 views

Why is Wordpress' file upload limit so low? Is changing it harmful?

Why is the WordPress upload limit set to 2mb? This seems prohibitively low, especially when almost everyone has broadband these days. I know this can be overridden, but I was trying to find a reason ...
SinisterBeard's user avatar
0 votes
1 answer
648 views

Wordpress import error

Firstly I installed WordPress on my site, then I generate a XML file for my blog (akasujjwal.wordpress.com) transfer by using export tool. And when I try to import this XML file to the installed ...
akash ujjwal's user avatar
1 vote
1 answer
533 views

"open_basedir restriction" but project is within the allowed paths

I had a project working right, but suddenly I'm getting a Database connection error. Looking at the Apache2 logs I can see these lines: PHP Warning: file_exists(): open_basedir restriction in effect....
Manolo's user avatar
  • 533
0 votes
3 answers
264 views

Wordpress article with 50 000 words loading slow - 100% cpu

I have a wordpress article with 50 000 words. After a debug I realised that the CPU is 100% when I read the post / open the category page. I have a quad core server with 8gb ram (the ram level is ...
Rares P.'s user avatar
  • 133
7 votes
3 answers
15k views

Connection lost. Saving has been disabled... (Updating Posts/Pages)

I've been developing for Wordpress for a few years now without any trouble on an old XP/WAMP development server (v1.7.4) but recently have been getting the error "Connection lost. Saving has been ...
user48973's user avatar
1 vote
2 answers
79 views

Increasing the the file upload size

I put these inside wp-admin/php.ini upload_max_filesize = 75M post_max_size = 75M max_execution_time = 300 Still not working, please advice if i am doing the right way or not?
rolz's user avatar
  • 43
-1 votes
1 answer
2k views

Why can't the WP-CLI installer find my php.ini?

I am trying to install WP-CLI on my Mac using the standard installation command (found here: http://wp-cli.org), yet I am receiving the following error message: #!/usr/bin/env php Some ...
JP Lew's user avatar
  • 274
1 vote
1 answer
86 views

WP & Server Speed [Teacher Question]

I'm a teacher and have used multisite WP for two years now as a resource for completing assignments. This spring semester, I have the most students that I've had on my site (30). Prior to this ...
hoss9009's user avatar
1 vote
1 answer
1k views

Memory errors with media upload, Wordpress can't use more than 96M (while there's 512 available!)

I'm aware that this is a known problem but I was unable to address it using information found in WPAnswers and Wordpress support forums. In my Worpdress single site installation the media uploader is ...
unfulvio's user avatar
  • 1,794
1 vote
1 answer
3k views

Getting template_include to work when allow_url_include is off?

I'm working on a plugin that creates a custom post type and I would like to display a custom template without modifying the theme. Here's the simplified code I'm working with: add_filter('...
bybloggers's user avatar
1 vote
1 answer
367 views

How to stop fatal error when loading theme template file directly

If one tries to load a theme template file directly, the following error message is displayed: Fatal error: Call to undefined function get_header() in ... and it goes on to list the full directory ...
daxitude's user avatar
  • 203
0 votes
2 answers
7k views

Theme requires allow_url_include = on in php.ini

I don't even know where to start with this one. I'm using a theme that requires me to override server php.ini settings in my own php.ini with allow_url_include = on That setting at very least seems ...
markratledge's user avatar
  • 8,715