PHP configure file in Linux
<p>System: redhat</p>

<p>Configure:</p>

<pre><code>./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
</code></pre>

<p>In php.ini i set <strong>upload_max_filesize</strong> to <strong>50</strong> and restart apache.</p>

<p>I use</p>

<pre><code>&lt;?php
phpinfo();
?&gt;
</code></pre>

<p>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.</p>

<hr>

<pre><code>; 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
</code></pre>
