Quantcast
Channel: Drup.org - php
Browsing latest articles
Browse All 9 View Live

backup database

pre{border:none;background-color:#f4f3d7;padding:1em;-moz-border-radius:10px}<?php exec("mysqldump -uDBUSER -pPASSWORD DBNAME > DBNAME.sql"); exec("tar -czvf BACKUP.tar.gz ."); print "Done";

View Article


Drupal Database Access

Single node output: Sony use DrupalGet many items using an objectread more

View Article


Misc Drupal database queries

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...

View Article

Drupal and PHP 5.3

There are some problems with running Drupal on php 5.3. There are five kinds of solutions:Downgrade to php 5.2.6 (not possible in many situations)modify Drupal to change the error level reportingfind...

View Article

Class 'XMLWriter' not found

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...

View Article


Upgrading CentOS 5 from PHP 5.1 to 5.3

see what is installed (assuming php-mcrypt & php-mhash are installed 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...

View Article

Technical Notes

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...

View Article

Upgrading CentOS 6 to PHP 5.4 (or 5.5)

SCL is the way to go since it has RedHat’s blessingNote that it is the .conf file that controls which version of php is used. For some reason this does not seem to be available for php55.read more

View Article


Install php 5.6 on Ubuntu 16.04

By default Ubuntu 16.04 (Xenial) now comes with php 7.0You can install php 5.6 in parallel and switch between them using the following instructions: add-apt-repository ppa:ondrej/php apt update apt...

View Article

Browsing latest articles
Browse All 9 View Live