 | News Feed |
 | Jobs Feed |
Sections
|
| feed this: |  |
Snipe.net: Sending Mail Using PHP and Amazon SES on Centos/AWS Linux
by Chris Cornutt March 27, 2013 @ 10:56:53
In this new post to her site Alison shows how to send emails through the Amazon Simple Email Service (SES) from a CentOS instance (an AMI in this case).
If you find yourself using Amazon SES for sending outgoing emails in a PHP web app, getting everything set up is much simpler than it may seem. In my case, this was on an AWS Linux image, but it will work on any Fedora/CentOS AMI. You can, of course, set up sendmail and use a proper MTA to send email from your web app, but in this case, I had inherited the requirement to set up an environment for code that was already written to use SES for outgoing email and Google Apps for incoming emails, so the actual mechanics weren't up for debate.
She includes screenshots showing how to configure the SES system with your site's domains and DNS as well as the email addresses you're planning on using. She links over to the MSMTP software you'll need to install on your instance to make the connection and what you'll need to do to get it configured for PHP's use. A sample email script is also included to test the connection (and where to look to make sure everything worked correctly).
voice your opinion now!
amazon ami ses email send centos tutorial
Mike Purcell's Blog: CentOS - PHP - Install Memcached (with a d) Stack
by Chris Cornutt June 20, 2012 @ 09:13:59
In this new post to his blog Mike Purcell gives you the full instructions to getting a CentoOS 6 system up and running with Memcached and PHP.
Recently I started retro-fitting the MeLikeDrinks.com drink website to cache frequently used data to improve performance, as such I wrote a light, custom cache API which sits on top of PHP's Memcached API. [...] If you opt to use PHP Memcache, and because this article assumes you are using CentOS, you can simply have YUM install the entire stack for your via `yum install php-memcache`.
He describes some of the differences between the two memcache APIs available to PHP developers (memcache and memcached) and includes the instructions to get both versions installed. "Memecache" is as easy as installing the package, while "Memcached" takes a bit more work - installing dependencies, configuring and compiling a few things specific to your system.
voice your opinion now!
memcached install centos package compile tutorial
Ben Ramsey's Blog: Build PHP 5.4 on CentOS 6.2
by Chris Cornutt March 06, 2012 @ 09:58:38
In this latest post to his blog Ben Ramsey shows you how to, inside of a virtual machine, set up a server with PHP 5.4 installed (using CentOS 6.2).
In case you haven't heard the news, the PHP project released version 5.4.0 last Thursday. Naturally, I decided it was time to install and give it a try. I chose to install to a clean and bare-bones CentOS 6.2 virtual machine using VirtualBox. I did this for two reasons: 1) I wanted a clean environment for the build, and 2) I wanted to play with CentOS. At the time of this writing, there are not yet any official CentOS RPMs for PHP 5.4, so I had to build PHP from source. What follows are the notes I took during the installation and build process. I hope you find them helpful.
His instructions cover the full process:
- Installing the CentOS operating system
- Creating a non-root user
- Setting up the network for local access
- Installing the packages for PHP (via yum)
- Grab PHP 5.4 and compile it
- Testing out the web server with a sample phpinfo file
He includes a lot of extensions in his installation, some you may not need like pspell, tidy, calendar, ftp or xsl.
voice your opinion now!
virtual machine virtualbox centos install process tutorial
Joshua Thijssen's Blog: Setting up a development environment
by Chris Cornutt February 06, 2012 @ 09:27:41
In a new post to his blog Joshua Thijssen gives a guide to how he usually sets up his development environments when working in PHP. It includes working with virtual machines, configuring DNS and setting up his tools to work with it all.
Doing development on multiple projects can be a burden from time to time. One project would be running on PHP 5.3, while another still needs 5.1. Sometimes you need a MySQL server, while on other occasions, you need a NoSQL solution like couchDB or MongoDB together with all kind of gearman functionality. This article shows you how I've setup such a development platform that allows you to quickly create new projects, and still maintain flexibility when you need it.
He uses VirtualBox with either a Debian or CentOS installation as a base platform. He uses Vagrant to set up and configure the machines to make setup almost automatic. He still has to go in and configure a few things like the VirtualHost and DNS settings for the site/application he's working on.
Next up is setting up the tools he uses, specifically XDebug and setting up his editor of choice (PHPStorm) for remote debugging.
voice your opinion now!
development environment virtualbox debian centos mysql vagrant xdebug phpstorm dns virtualhost
Bollysite Blog: Upgrading php 5.1 to php 5.3 with xcache rebuild on Centos 5
by Chris Cornutt August 09, 2010 @ 13:09:08
In this quick tutorial on the Bollysite blog showing how to upgrade your CentOS install of PHP from 5.1 to 5.3 along with xcache.
CentOS 5 comes with php 5.1 version. There is no official PHP 5.2+ release for upgrade since last 3 years. [...] As a result, Developer had to implement alternative functions to integrate twitter, myspace OAuth API. Today wordpress has officially said bye bye to php 4 and mysql 4. So finally, I gathered some courage to mess with my current php installation. I followed the following steps to upgrade php 5.3 on centos 5.
The update requires adding the webtatic repository to your yum setup and using the "enablerepo" to pull directly from that. Once that's installed, you'll need to rebuild xcache to match the version (commands included).
voice your opinion now!
centos yum ubuntu xcache webtatic
Richard Thomas' Blog: PHP and Centos, a step towards automating your server builds
by Chris Cornutt April 26, 2010 @ 08:33:10
Richard Thomas has posted a script that could be used to set up a complete PHP-enabled instance of CentOS from a basic install. He's posted about it on his blog.
I compile php all the time, I am constantly installing the latest versions on my own servers for various reasons. After doing this the first dozen or so times I started creating little batch files. [...] The other day someone asked something about my setup and I had to pull open the script to remember what I had going on and he asked for a copy and hence I figure others might be interested as well.
He's shared out the file here and it installs all the usual tools you might need including MySQL support with PHP being the only thing compiled from scratch.
voice your opinion now!
centos server build automated
Michael Girouard's Blog: Pro Tip Installing PHP 5.2.9 on CentOS
by Chris Cornutt November 23, 2009 @ 10:46:38
Michael Girouard has posted a new guide today about getting PHP 5.2.9 up and running on a CentOS distribution:
CentOS in my opinion is the best way to go in terms of server distros. Some people, including myself, are frustrated at the fact that some software is slow to be updated out of a fresh install: specifically PHP. At the time of this writing, PHP 5.1.6 is the version shipped with CentOS 5.4. While I'm sure they have their reasons for this, I still am required to write somewhat modern apps - 5.1 just doesn't cut it anymore.
He suggests moving away from the compile from source option and "go with the flow" and work with the packages that've already been created. You have to get the testing repository set up first (creating a configuration file to add the name, baseurl and other keys) to be able to use the yum installer tool to grab the latest packages.
voice your opinion now!
install tutorial centos yum package
PHPFreaks.com: The creation of the new site
by Chris Cornutt May 29, 2008 @ 09:31:01
With the successful relaunch of the PHPFreaks.com website recently, Daniel Egeberg wanted to share a little glimpse behind the work that it took to get to that place. In this new blog entry, he talks about the technology, code and design aspects they worked through.
I thought that, seeing as this is a programmer community, the people who have not had the privilege to have access to the forums where these things were discussed or access to the code itself might be interested in knowing a bit about the underlying technology and code that powers this website
Some of the technologies they use include the Zend Framework running on a CentOS with PHP5.2. Some of the highlights in the coding process included updates to Zend_Auth, using Zend_Acl for access management, content management and other various packages (like Zend_Feed, Zend_Form, Zend_Db, etc).
voice your opinion now!
creation new release website technology zendframework centos
PHPFreaks.com: Hardening PHP with Suhosin
by Chris Cornutt May 28, 2008 @ 08:47:22
PHPFreaks.com has a new tutorial posted that looks to help you protect you and your application with an even greater level of security by using the Suhosin patch.
Suhosin is a great and simple way of increasing your security without having a large impact on overall performance. In this tutorial I will cover the installation and configuration of Suhosin on both debian etch and centos 5. I may cover mod_security in a later tutorial.
They apt-get the packages needed for the patch in examples for two different distributions - Debian (etch) and CentOS. They also show how to set up some basic configuration to get the patch installed and working with your PHP installation.
voice your opinion now!
harden patch suhosin install tutorial debian centos
|
Community Events
Don't see your event here? Let us know!
|