Skip to main content

Posts

Showing posts with the label extension

Solving "Adobe Flash Player" Issue on Ubuntu (Chromium and Firefox)

I was stuck in this situation where I followed all applied instructions to install/activate Flash Plugin for Chromium (Version 37.0.2062.120 Ubuntu 12.04 (281580) (64-bit)) and Firefox (38.0.5) 1. Download corresponding version of Flash from Adobe Site: https://get.adobe.com/flashplayer/ 2. Untar and move data to corresponding directories. 3. For some reason, it didn't work. Then after lot of search, I came across this post (Link at end of the article). Basically, what was missing in my case was a symbolic link in /usr/lib/mozilla/plugins/ So basically what we do is, Download the package from https://get.adobe.com/flashplayer/ mkdir /usr/lib/flash-plugin/ if it does not exist Extract the downloaded tar.gz and copy libflashplayer.so to / usr/lib/flash-plugin Give chmod 775 /usr/lib/flash-plugin/libflashplayer.so Finally, the missing link in my case, cd /usr/lib/mozilla/plugins/ ln -s /usr/lib/flash-plugin/libflashplayer.so . chmod 775 libflashplayer.so ...

Debugging PHP Extension Developed in C/C++ using GDB

Launch PHP with GDB  gdb /etc/bin/php GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law.  Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /etc/bin/php...done. (gdb) Use gdb as if you are using php interactive console (gdb) run -r 'print phpinfo();'