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 8029133
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T00:20:44+00:00 2026-06-05T00:20:44+00:00

System: redhat Configure: ./configure –prefix=/path/to/php/share/php –with-apxs2=/path/to/apache2/bin/apxs –with-mysql –with-libdir=lib64 –with-ldap –with-ldap-sasl –with-config-file-path=/path/to/php/share/php.ini In php.ini i

  • 0

System: redhat

Configure:

./configure --prefix=/path/to/php/share/php --with-apxs2=/path/to/apache2/bin/apxs --with-mysql --with-libdir=lib64 --with-ldap --with-ldap-sasl --with-config-file-path=/path/to/php/share/php.ini

In php.ini i set upload_max_filesize to 50 and restart apache.

I use

<?php
phpinfo();
?>

to check. The configuration file (php.ini)path is correct but upload_max_filesize is still 2M.
Does anyone know why the configure failed? Thanks.


; Maximum allowed size for uploaded files.
; http://php.net/upload-max-filesize
upload_max_filesize = 50M

; Defines the default timezone used by the date functions
; http://php.net/date.timezone
date.timezone = Asia/Shanghai
  • 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-05T00:20:46+00:00Added an answer on June 5, 2026 at 12:20 am

    I don’t have access to my server, so I cannot check it now, but you can try to follow the directions in this link and see if solves your problem. – bacchus

    Thanks bacchus. The .htaccess works! But I still can’t understand why the php.ini doesn’t work.

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

Sidebar

Related Questions

I'm setting up a new RedHat Enterprise Linux 5 system to host Ruby apps
I'm new in Rails and I'm getting some problems. About system: Rails-3.2.1 Ruby-1.8.7 RedHat
I have housekeeping script which is running on Redhat operating system. I have a
I'm trying to do a file system backup of a RedHat Enterprise Linux v4
Software packages with a configure script can specify this manually by adding --prefix: ./configure
Notice these two RedHat Linux system configuration settings: $ getconf GNU_LIBC_VERSION glibc 2.3.4 $
Possible Duplicate: PHP - It is not safe to rely on the system’s timezone
System.err.println() in Eclipse doesn't print in red. I checked preferences > Run/Debug > console
System: rails 3.2.3 1.9.2p320 ubuntu 12.04 32 bit I am trying to split up
/System/Library/Services/ImageCaptureService.app - what is it? Evernote uses it for importing the images from scanners

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.