Dreamhost runs PHP as a CGI module, so you have to work around Apache.
It's a pretty easy fix though.
http://www.besthostratings.com/articles/http-auth-php-cgi.html
Thursday, July 30, 2009
Friday, May 29, 2009
Custom PHP.ini for Loading Zend Framework with Dreamhost
Creating a custom php.ini is really easy.
Just follow these directions:
Just follow these directions:
http://wiki.dreamhost.com/index.php/PHP.iniJust check your phpinfo() to see what Configuration File is getting loaded after words to make sure you changes took hold.
Thursday, May 28, 2009
Example PHP and AS3 encrypt and decrypt
Still testing this out, but it looks pretty good. I need to update it to use AES-256, but that should be hard.
http://www.zedia.net/2009/as3crypto-and-php-what-a-fun-ride/
Hindsight is 20/20: This method is a worthwhile starting point, but AES-256 needed some additional tweaking. Will post update when I know I have all the kinks worked out and tested.
http://www.zedia.net/2009/as3crypto-and-php-what-a-fun-ride/
Hindsight is 20/20: This method is a worthwhile starting point, but AES-256 needed some additional tweaking. Will post update when I know I have all the kinks worked out and tested.
Wednesday, May 27, 2009
Installing Mcrypt in Ubuntu Desktop for PHP5
Open the Synaptic Package Manager. Search for php5-mcrypt. Start installation. Agree to any additional libraries it might need. Finish Install.
Run
Mcrypt will show up when you execute
Run
sudo /etc/init.d/apache2 restartfrom the command line to restart Apache.
Mcrypt will show up when you execute
phpinfo();in php.
Subscribe to:
Posts (Atom)