Monthly Archives:: February 2012
Entypo is a set of 100+ carefully crafted pictograms available as an OpenType font, vector EPS and web font. All released for free under the Creative Commons license CC BY-SA.
I have a fresh Ubuntu 11 server installation with the LAMP stack installed. When I sent e-mail thru PHP, the message never left the server.
I believe there is a more kosher way to do this, but this is what worked for me.
=> Modify /etc/mail/sendmail.cf
=> Locate the lines that say:
# “Smart” relay host (may be null)
=> Edit the DS line like so:
Restart the services… good to go.
It’s this easy:
nriley@server:/var/www$ sudo apt-get install php5-odbc freetds-dev tdsodbc php5-sybase nriley@server:/var/www$ sudo /etc/init.d/apache2 restart nriley@server:/var/www$ php -m [PHP Modules] … mssql mysql mysqli odbc …
Configuration under Yii is simple as well. Simply add a new item under components in main.php:
'connectwiseDb' => array( 'class' => 'CDbConnection', 'connectionString' => 'dblib:host=myhost.address.com;dbname=databasename', 'username' => 'user', 'password' => 'pass', ),
Do you also want the possibility to add, edit and remove items by dead simple templating?