Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8460257
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T13:33:24+00:00 2026-06-10T13:33:24+00:00

I am working on WordPress. I need to increase the memory, so I added

  • 0

I am working on WordPress. I need to increase the memory, so I added the following line to my .htaccess file

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

php_value memory_limit 64M

my sample php page

<?php
phpinfo(); 

but it throws the 500 internal server error. what is the problem here..

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-10T13:33:26+00:00Added an answer on June 10, 2026 at 1:33 pm

    In your .htaccess you can add:

    PHP 5.x

    <IfModule mod_php5.c>
        php_value memory_limit 64M
    </IfModule>
    

    PHP 7.x

    <IfModule mod_php7.c>
        php_value memory_limit 64M
    </IfModule>
    

    If page breaks again, then you are using PHP as mod_php in apache, but error is due to something else.

    If page does not break, then you are using PHP as CGI module and therefore cannot use php values – in the link I’ve provided might be solution but I’m not sure you will be able to apply it.

    Read more on http://support.tigertech.net/php-value

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a .htaccess file with the typical wordpress mod_rewrite: <IfModule mod_rewrite.c> RewriteEngine On
I am working on a wordpress blog, with the default .htaccess settings: <IfModule mod_rewrite.c>
I'm working on a Wordpress plugin. I need to pass plugin directories (that can
I'm currently working on the admin section of a Wordpress plugin and I need
I am working on a WordPress site and I have placed the following code
I am working on a wordpress website where I need to get the number
I am working on wordpress and I need to generate timely csv files for
I am working on a wordpress site and I need some overlay windows. They
I'm working on a WordPress template and need to add a hyperlink to the
I'm working with wordpress and need to create a trigger that updates a table

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.