Posts tagged ‘Php’

phpinfo from the command line

PHP.gif

Display information about your php install on the command line with the following:

echo “<?php phpinfo(); ?>” | php | less
simple enough.
Edit: apparently php -i does the same thing.  Leave it to me to find the hardway.

How to setup a FAMP (FreeBSD, Apache, MySQL & PHP) server

freebsd.png

Software installed and functioning by the end of this walk through :

  • FreeBSD 7.1
  • Apache 2.2
  • PHP 5.2.8
  • MySQL 6.0.9

First off grab a copy of FreeBSD 7.1 from http://www.freebsd.org/where.html

Once you have FreeBSD installed we can start.

Continue reading ‘How to setup a FAMP (FreeBSD, Apache, MySQL & PHP) server’ »

Php Regular Expressions Cheat Sheet

PHP.gif

Make Wordpress Load Much Faster

wordpress.png

If you are suddenly receiving a lot of request within a short period of time because you’ve been linked by a large site like Digg or Slashdot, your hosting solution might not be able to handle the load.

This article should help your to prepare your WordPress blog for such a case or if you’re just using a slow webhost and want to improve the general performance.

Continue reading ‘Make Wordpress Load Much Faster’ »