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.
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.
If the traditional “pecl install APC” style command is not working for some reason, here is the manual procedure:
|
1 2 3 4 5 6 7 8 |
wget http://pecl.php.net/get/APC-3.0.19.tgz tar -xvzf APC-3.0.19.tgz cd APC-3.0.19 phpize ./configure make make install |
How can I determine what version of PHP is running on my server? If you have command line access to the server then type:
|
1 |
php -v |
or
|
1 |
php --version |
And you’ll get a result similar to this:
|
1 2 3 4 |
[root@localhost]# php -v PHP 4.3.11 (cli) (built: Jun 7 2005 08:14:45) Copyright (c) 1997-2004 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies |
Be careful using this
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
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.
Reliable Penguin provides managed web hosting, systems administration, website and server migrations, and expert consulting.
Submit the form—or for immediate service call 866-649-7984.