PHP
Cache or PHP-info is none of your business
Heine Sat, 2007/02/24 - 09:41
I've a few extra scripts in the webroot of several sites to provide me with server information when I need it. These scripts tend to provide too much information to just anyone. Here's how you can quickly limit access to the Drupal admin user (the first user created on the site).
Create a file restrict.php. The example assumes all files (restrict.php, info.php and apc.php) are in the Drupal root directory. You need to adapt the include paths if you save the files elsewhere. You can make the access criteria as baroque as you need; the example simply checks on user id.
Alternative PHP cache on SUSE 9.3 Professional
Heine Wed, 2007/02/21 - 04:17
Forget about # pecl install apc
(Alternative PHP Cache on Debian Sarge). This is going to hurt.
All steps in this short overview were necessary on a Strato V-PowerServer. Depending on your installation, your mileage may vary.
Alternative PHP Cache on Debian Sarge
Heine Tue, 2007/02/20 - 22:40
This is a repost about a different (now defunct) server.
Khalid wrote a small guide to Installing the Alternative PHP Cache on Ubuntu Dapper and Debian. The installation on Debian 3.1 (Sarge), requires a few extra steps though.
Make sure you have the proper permissions (# denotes the root prompt) and issue the following commands:
