Also released with Version 2.5, the WP_MEMORY_LIMIT option allows you to specify the maximum amount of memory that can be consumed by PHP. This setting may be necessary in the event you receive a message such as “Allowed memory size of xxxxxx bytes exhausted”. This setting increases PHP Memory only for WordPress, not other applications. …
Monthly Archives: October 2009
Ubuntu Networking Configuration Using Command Line
The basics for any network based on *nix hosts is the Transport Control Protocol/ Internet Protocol (TCP/IP) combination of three protocols. This combination consists of the Internet Protocol (IP),Transport Control Protocol (TCP), and Universal Datagram Protocol (UDP). By Default most of the users configure their network card during the installation of Ubuntu. You can however, …
Continue reading “Ubuntu Networking Configuration Using Command Line”
How To Enable PEAR Packages In Plesk
By default, Plesk will install PEAR and a lot of packages, but block any access to it for PHP scripts. It’s fairly easy to enable this, though. First of all, you need to edit the VirtualHost of whatever domain you’re trying to enable this for. Seeing as Plesk would just overwrite your httpd.conf with the …
Installing PEAR modules necessary on RHEL 3 (or clones)
Installing PEAR modules necessary on RHEL 3 (or clones) # first change to the framework directory and get the framework PEAR packages installed cd /var/www/html/horde/framework/ php install-packages.php
ORDER BY using specific order from IN
You can use FIND_IN_SET to do that: SELECT * FROM tablename WHERE id IN (1,10,8,5) ORDER BY FIND_IN_SET(id, ‘1,10,8,5’)
ISO 3166-1 Languages codes
http://en.wikipedia.org/wiki/ISO_3166-1 Officially assigned code elements The following is a complete ISO 3166-1 encoding list of the countries which are assigned official codes. It is listed in alphabetical order by the English short country names officially used by the ISO 3166/MA, which are all from United Nations sources.[7] For example, Macedonia is listed as “Macedonia, the …