Thats it!
I had some of my blogs on dreamhost for 7 years.
Moved some to online.net last year to a one-core server.
Three months ago moved them to a eight-core server.
PHP since then has never hanged-up!


Thats it!
I had some of my blogs on dreamhost for 7 years.
Moved some to online.net last year to a one-core server.
Three months ago moved them to a eight-core server.
PHP since then has never hanged-up!


Took a HUGE time to figure out why my .htaccess rules weren’t working on a CPanel environment.
Like I said on the previous post, CPanel requires the right file permissions on folders and files.
[Tue Jan 06 12:19:40 2015] [crit] [client 84.XX.XX.XXX] (13)Permission denied: /home/asiandee/subdomains/www.domain.com/folder/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
folder has to be with 755
and .htaccess has to be with 644
More readings
I’v been struggling for hours to solve a weird problem with PHP in a cPanel environment.
This is how my log (/usr/local/apache/logs/error_log) looks like
[Tue Dec 30 21:13:09 2014] [error] [client 88.94.5.xxx] SoftException in Application.cpp:601: Directory "/home/dee/subdomains/www2.domain.com/members" is writeable by group [Tue Dec 30 21:13:09 2014] [error] [client 88.94.5.XXX] Premature end of script headers: index.php [Tue Dec 30 21:13:09 2014] [error] [client 88.94.5.XXX] File does not exist: /home/dee/subdomains/www2.domain.com/500.shtml
I thought that was some bad configuration on .htaccess … but that was wrong!
On some environments we need to have the right file/directory permissions so it work…
Download the latest FFmpeg Static Builds from http://johnvansickle.com/ffmpeg/.
How to know if we need to download the 32 or 64 bits?
Lets run:
cat /etc/*release*
CentOS release 6.6 (Final) LSB_VERSION=base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarch
Or using uname (more reliable)
uname -m
I’v download it do a specific folder
wget http://johnvansickle.com/ffmpeg/builds/ffmpeg-git-64bit-static.tar.xz
And the run the following command to uncompress it:
tar xf ffmpeg-git-64bit-static.tar.xz
To run ffmpeg or ffprobe we need to give the full path to them!
It worked!
With the lastest versions!
FFMPEG & FFPROBE
ROCK!
-bash-3.2$ tar -xf ffmpeg-git-64bit-static.tar.xz tar: This does not look like a tar archive tar: Skipping to next header tar: Archive contains obsolescent base-64 headers tar: Read 5668 bytes from ffmpeg-git-64bit-static.tar.xz tar: Error exit delayed from previous errors
tar version (fuckz!)
tar (GNU tar) 1.15.1
Well, this machine, where I got this error, is a managed server…
I didn’t bored to ask support to upgrade TAR or install XZ… but if you want, you can install XZ and then…
xz -d archive.tar.xz tar xvf archive.tar
It might work! 🙂
Btw! On old machines kernel might not be compatible…
Josip Franjković has discovered a way to read local files from Facebook servers.
Hi explains how he did it on is blog http://josipfranjkovic.blogspot.pt/2014/12/reading-local-files-from-facebooks.html.
A good reading and where we can learn some things!
This class can backup local files as a ZIP archive sent to Dropbox
It handles the OAuth authorization process to obtain a token to access an API on behalf of the current Web user.
The class create a ZIP archive with files from a directory to backup.
The ZIP archive is sent to the DropBox server using requests sent to is API.
http://www.phpclasses.org/package/8922-PHP-Backup-local-files-as-a-ZIP-archive-to-Dropbox.html
The more than 1.35 billion people who use Facebook on an ongoing basis rely on a seamless, “always on” site performance. On the back end, we have many advanced sub-systems and infrastructures in place that make such a real-time experience possible, and our scalable, high-performance network is one of them.
Facebook’s production network by itself is a large distributed system with specialized tiers and technologies for different tasks: edge, backbone, and data centers. In this post, we will focus on the latest developments in our data center networking and unveil the next-generation architecture that we have successfully deployed in our new Altoona facility: data center fabric.
Mike Krieger, co-founder of Instagram, talks about their tech setup, how they scaled from one server in LA, to AWS and ultimately Facebook’s own infrastructure.
https://opbeat.com/blog/posts/how-we-scaled-instagram-mike-krieger/



rackspot.pt changed his name to easyhost.pt … this is what happened…
they are now using online.net infrastructure… my blog, hosted on rackspot.pt – now on easyhost (online.net) is getting lot of database errors…. looks like they are even using the db connections limits…. fuck!
time to move!..
i already own a dedibox @ online.net … time to move it all.