PHP
If you are having issues sending out emails using the standard PHP mail you need to make sure that you have sendmail installed and running on the server. To install sendmail do the following: yum install sendmail Then you’ll want to make sure to start the new services: service sendmail start Lastly, you’ll want to make sure that sendmail starts automatically after a reboot. chkconfig sendmail on If you are still having issues after following the above […]
Below are the steps needed in order to successfully install the PHP APC optimizer module on Red Hat based systems such as CentOS. Before installing PHP APC, we need to start by installing the php pear module, php-devel, httpd-devel, and pcre-devel modules. yum install php-pear php-devel httpd-devel pcre-devel After you install the required packages, then we can go ahead and install PHP APC. In the command line type the following: pecl install apc PHP APC will now […]
PHP Programming - November 4, 2010
Connecting to a MySQL database is a simple process requiring only 2 functions. 1 function to connect to the server and 1 function to connect to the desired database. The functions used to establish a MySQL connection are mysql_connect() and mysql_select_db(). First lets start by seeing a sample of the connection code and then I’ll go through and explain each function.
WordPress Development - September 9, 2010
After this tutorial, you should be able to build completely custom WordPress themes in no time. I will take you through the files needed, as well as the PHP functions needed to make the site functional. First things first, lets create a folder within the themes folder of your site. /wp-content/themes/. In this tutorial I created a folder called basic_theme. This folder will be where we store all of our template files for the entire site. Lets […]
Follow DevBlog.co on Twitter
follow us on Twitter
Join DevBlog.co is on Facebook!
DevBlog.co on Facebook
Follow DevBlog.co on Digg!
DevBlog.co on Digg