Title: Invalid command &#8216;php_value&#8217;,
Last modified: September 24, 2024

---

# Invalid command ‘php_value’,

 *  Resolved [Trailside3278](https://wordpress.org/support/users/bartaal/)
 * (@bartaal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/invalid-command-php_value/)
 * hello,
   i’ve moved a wordpress site (emergency move) from one DirectAdmin to another.
   Now the site displays:
 * “Internal Server Error”Internal Server Error The server encountered an internal
   error or misconfiguration and was unable to complete your request”
 * The log of de webserver states:
 * /home/staring/domains/domainname.nl/private_html/.htaccess: Invalid command ‘
   php_value’, perhaps misspelled or defined by a module not included in the server
   configuration
 * But there is no mention of the php_value in the .htaccess file:
 * sorry for the wacky formatting, I cannot get the .htaccess to look normal here(
   it keeps messing up)
 * php_value max_input_vars 3000 BEGIN WordPress De richtlijnen (regels) tussen “
   BEGIN WordPress” en “END WordPress” worden dynamisch gegenereerd en zouden alleen
   aangepast mogen worden via WordPress filters. Alle wijzigingen aan de richtlijnen
   tussen deze markeringen worden overschreven.
 * RewriteEngine On RewriteRule .* – [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
   RewriteBase / RewriteRule ^index.php$ – [L] RewriteCond %{REQUEST_FILENAME} !-
   f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] END WordPress

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Moderator [James Huff](https://wordpress.org/support/users/macmanx/)
 * (@macmanx)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/invalid-command-php_value/#post-18032576)
 * I’m a bit confused. You say:
 * > But there is no mention of the php_value in the .htaccess file
 * But, when you quote your .htaccess file, it’s:
 * > php_value max_input_vars 3000 BEGIN WordPress …
 * So, what happens when you remove `php_value max_input_vars 3000` from your .htaccess
   file?
 *  Thread Starter [Trailside3278](https://wordpress.org/support/users/bartaal/)
 * (@bartaal)
 * [1 year, 8 months ago](https://wordpress.org/support/topic/invalid-command-php_value/#post-18035034)
 * i completely overlooked that line, sorry and thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Invalid command ‘php_value’,’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Trailside3278](https://wordpress.org/support/users/bartaal/)
 * Last activity: [1 year, 8 months ago](https://wordpress.org/support/topic/invalid-command-php_value/#post-18035034)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
