FFMpeg-PHP: undefined symbol: php_gd_gdImageSetPixel
Oct3
I was recently updating ffmpeg-php on one of our servers to the latest SVN release of the 0.6.3 branch. On a 64bit CentOS 5.3 with PHP 5.2.11, the extension compiled and installed fine however Apache will not load it and spit out the error below:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib64/php/modules/ffmpeg.so' - /usr/lib64/php/modules/ffmpeg.so: undefined symbol: php_gd_gdImageSetPixel in Unknown on line 0
Surely enough, the GD extension was there, but why is ffmpeg complaining about not finding that shared symbol? Because, ffmpeg is loading first than GD (alphabetically) and such symbol has not been loaded. After adding the GD extension line on top of ffmpeg making sure it loads first the error went away and all is well again.
1280×800 on Dell Inspiron 1501 with Slackware 12.2
Aug0
Finally I got to free up this laptop to be an all around testing machine after I got my wife her new MacBook Pro. Since I'd like a little more education, I decided to get back to Slackware after a couple of years. Install went fine, nothing much has changed, as this what drives the distro and what attributes for it's utmost stability, I am not so surprised.
One problem everytime I install a Linux or BSD variant on any laptop is the widescreen resolution. Except for Ubuntu and Fedora, much of them needs manual intervention to have their native widescreen resolution working on that particular distro, Slackware included.
To cut the story short, if you are installing X server for whatever dekstop manager you intend, the default xorg.conf configuration will not help with the widescreen. Simple really, just run xorgsetup, follow your instinct and startx. You should have your beloved widescreen back.
Get Detailed Information About Particular IP address Connections Using netstat Command
Dec0
I was recently investigating a LAMP application bottleneck. Part of which was to monitor web server entry points during peak hours. Looking into segregate connections and what each clients are actually doing I needed some advanced netstat know-how to get thru my goal, so I stumble upon this one from nixCraft:
netstat command and shell pipe feature can be used to dig out more information about particular IP address connection. You can find out total established connections, closing connection, SYN and FIN bits and much more. You can also display summary statistics for each protocol using netstat.
This is useful to find out if your server is under attack or not. You can also list abusive IP address using this method.
http://www.cyberciti.biz/tips/netstat-command-tutorial-examples.html












