Fix the Problem with $_SERVER["SCRIPT_FILENAME"] when using Apache + PHP-FPM + mod_fastcgi

I was trying to run Boost module with Drupal on one of my website and I got the problem that Boost doesn't work as it should be no matter what I did. I don't have this problem when using [NginX + PHP-FPM] or [Apache + mod_fcgid]. So, I checked error log and found below :

Drupal 7.7 released

Drupal 7.5, a maintenance release which fixes security vulnerabilities is now available for download. Drupal 7.7 also fixes other issues reported through the bug tracking system. Note: Drupal 7.7 is just Drupal 7.6 with a fixed VERSION string (7.6 was reporting itself as 7.5). No other changes. Upgrading your existing Drupal 7 sites is strongly recommended. There are no new features in these releases. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement. Changelog

Memcached Multiple Instances Startup Script (init.d) on CentOS 5.6 - 64 bits

Category:

I just need Memcached to start automatically when reboot so that I don't have to wait to log into the server to do that every time I restart my server. The problem here is that I didn't install Memcached using YUM. I compiled Memcached it myself. So, there is no startup script for me to do it. Also, from what I have read, init.d startup script comes with YUM only support one instance of Memcached. In my case, I need to run multiple instances of Memcached. So, I searched for the script and below script is work for me

1. Create Script in /etc/init.d/memcached

DirectAdmin 1.391 : pcfg_openfile: unable to check htaccess file, ensure it is readable

Category:

Today, I got a problem with one of my website. Suddenly, I could access my website using Nginx but all themes were gone. I, then, switched back to Apache. It became worse. I can't access my website at all. The error when access my website using Apache is below :

Change Owner of Symlink in Linux

Category:

When you use chown to change ownership of a file or directory, it will work but with Symlink (Created by using ln command), you can't do that. When you do it, it will fail and you may not know that since there is no error message or anything to let you know. So, to change ownership for Symlink, you need to use option -h. Below is an example :

Server monitoring using Munin in CentOS 5.6 + DirectAdmin

1. Download RPMForge Package. Check your system with uname -a command to get the suitable package. Below is the current one I got :

32-bit system

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.i386.rpm

64-bit system

wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el5.rf.x86_64.rpm

If you want to check for the latest one, check it from -> http://packages.sw.be/

Finally, CentOS 6.0 is now available.

The CentOS team is pleased to announce the immediate availability of CentOS-6.0 for i386 and x86_64 Architectures. CentOS-6.0 is based on the upstream release EL 6.0 and includes packages from all variants. All upstream repositories have been combined into one, to make it easier for end users to work with. There are some important changes to this release compared with the previous versions of CentOS and we highly recommend reading this announcement along with the Release Notes.

Drupal 7.4 released

Drupal 7.3, a maintenance release which fixes security vulnerabilities is now available for download. Drupal 7.4 also fixes other issues reported through the bug tracking system Upgrading your existing Drupal 7 sites is strongly recommended. There are no new features in these releases. For more information about the Drupal 7.x release series, consult the Drupal 7.0 release announcement. Changelog

Drupal 7.2 and 6.22 released

Drupal 7.1 and 6.21, maintenance releases which fix security vulnerabilities are now available for download. Drupal 7.2 and 6.22 also fix other issues reported through the bug tracking system. Changelog Drupal 7.1 only includes fixes for security issues. Drupal 7.2 also includes bugfixes. The full list of changes between the 7.0 and 7.2 releases can be found by reading the 7.2 release notes. A complete list of all bug fixes in the stable 7.x branch can be found in the git commit log.

wget replacement in MAC OS X Server

Category:

I have a MAC OS X Server and would like to be able to use "wget" command to download some file using Terminal. However, wget doesn't come with it. So, I checked on Google and found an article about using Curl as a replacement for wget. What you have to do is run command below in Terminal :

echo 'alias wget="curl -O"' >> ~/.bash_profile

Then, log out and login again. Now, you can use "wget" command to download file as you normally do. For example, I ran

wget http://pecl.php.net/get/APC-3.1.7.tgz

It will looks like this :

Pages

Subscribe to BXTra.net RSS