php |
These notes are my personal online notebook of useful commands and "how-to's". You are welcome to make use of them if you find them helpful. They obviously don't come with any warranty! Click on one of the category tags above for the notes in any category. |
|||
yum list installed | grep php | cut -d' ' -f1 typical result: php.x86_64 php-cli.x86_64 php-common.x86_64 php-devel.x86_64 php-gd.x86_64 php-imap.x86_64 php-ldap.x86_64 php-mbstring.x86_64 php-mcrypt.x86_64 php-mhash.x86_64 php-mysql.x86_64 php-odbc.x86_64 php-pdo.x86_64 php-pear.noarch php-xml.x86_64 php-xmlrpc.x86_64
yum remove php php-* |
|||
In a Red Hat or CentOS server installation, XMLwriter may not be enabled by default. To enable it, follow these steps: # If you are using the base 5.1.6 php, then yum -y install php-xml #if you are using php 5.2 (from the centos 5 testing repo) yum -y --enablerepo=c5-testing install php-xml #restart apache service httpd restart |
|||
There are some problems with running Drupal on php 5.3. There are five kinds of solutions:
Drupal 62. Modify Drupal's error reporting --already done for Drupal 63. Find patches |
|||
This are probably not of general interest, just some example queries from a particular database that I wanted to save here as snippets. --view all category titles from node: n & d, category node: c --get the body of the category definition c from a given node n & d |
|||
Single node output: Sony use Drupal Get many items using an object |
|||
pre{border:none;background-color:#f4f3d7;padding:1em;-moz-border-radius:10px} <?php |
|||

