Category: PHP

PHP Mailer : Swift Mailer

Every time I need a PHP class to handle sending email I turn to Swift Mailer at: http://swiftmailer.org. It’s feature rich and easy to use. Only downside is it doesn’t work for PHP4.

Read More »

Alternate Install Method For PHP PECL Modules

If the traditional “pecl install APC” style command is not working for some reason, here is the manual procedure:

Read More »

Determine PHP Version

How can I determine what version of PHP is running on my server? If you have command line access to the server then type:

or

And you’ll get a result similar to this:

Be careful using this

Read More »

Determine PHP Compile Settings

How can one determine what config settings were used to build PHP? This is a question that comes up when you want to upgrade to a new version of PHP and need to replicate the original settings. Another case is

Read More »

File Upload Size Limits

In php.ini the following parameters impact file uploads: file_uploads http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.file-uploads upload_tmp_dir http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.upload-tmp-dir upload_max_filesize http://www.php.net/manual/en/ini.sect.file_uploads.php#ini.upload-max-filesize post_max_size http://www.php.net/manual/en/ini.sect.data-handling.php#ini.post-max-size max_input_time http://www.php.net/manual/en/ref.info.php#ini.max-input-time memory_limit http://www.php.net/manual/en/ini.sect.resource-limits.php#ini.memory-limit Apache might also impose a limit on the size of file uploads using the LimitBodyRequest directive. See http://httpd.apache.org/docs-2.1/ko/mod/core.html#limitrequestbody for details.

Read More »

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.