Posts with the tag PHP
I had a nasty problem with Piwik today. I use it on a low traffic website until today (updated to 1.5) I did not mind that the sparklines were not displayed. But today I wanted to fix the problem and at first I didn't come to the conclusion that <a...
If you want to use SQlite3 databases with PHP you should probably use PDO.
Install it like this:
su apt-get install php5 php5-sqlite echo -e "\nextension=pdo.so\n" >> ../conf/php.ini
Note: You don't need any command like
pecl install pdo_sqlite or
pecl install pdo as PDO is now included in the package
If you get an error message like the following when changing the color scheme / color set of the Bartik theme in Drupal 7 you might have PHP Safe Mode enabled.
* The specified file themes/bartik/logo.png could not be copied, because the destination directory is not properly configured. This...
Mac OS X 10.6 ships with Apache as well as PHP5. This blog post describes how to activate it.
To run Apache: Enable Web Sharing in the System Preferences → Sharing.
Websites are stored in
To activate PHP:
uncomment a line in
LoadModule php5_module ...