PHP What is PHP?
PHP is a widely-used general-purpose scripting language that is especially suited for Web development and can be embedded into HTML. If you are new to PHP and want to get some idea of how it works, try the introductory tutorial.
Items Covered:
  1. Adjusting the http file upload limit to allow more kbs.
  2. Oh damn! I can't use registered globals now!
  3. PHP Compiling lstdcc++ Error

Adjusting the http file upload limit to allow more kbs.
I think the default limit in PHP for http uploads is set 2M in the php.ini file. The default location of php.ini is a compile time option. In most Red Hat distros it is located at /etc/php.ini.

If uploads are not working at all make sure:
file_uploads = On

You can adjust the amount allowed by changing:
upload_max_filesize = 2M

Since most uploads are done as POSTS thru forms make sure post_max_size is equal to or larger then upload_max_filesize.
post_max_size = 8M

HINT:
When you're having troubles uploading files using Apache 2, try to use
upload_max_filesize = 6291456;
instead of
upload_max_filesize = 6M;
that should work!

Oh damn! I can't use registered globals now!
The esiest way to get around this is to add php_flag register_globals on to a .htaccess file in your website root directory. This override with work if your sever settings allow it.
PHP Compiling lstdcc++ Error
While trying to compile PHP 5 on a old Red Hat 7.3 system during make I would get the error:
lcrypt  -o sapi/cli/php
/usr/bin/ld: cannot find -lstdc++
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1
Here was the solution I found:
You need to make a symbolic link to the libstdc++ libraries. EXAMPLE:

[root@zim php-5.0.0RC3]# ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.so /usr/lib/libstdc++.so
[root@zim php-5.0.0RC3]# ln -s /usr/lib/libstdc++-3-libc6.2-2-2.10.0.a /usr/lib/libstdc++.a