Comments for blog. http://blog.slowbro.org/ scarcely-updated with recipes and projects Sun, 21 Dec 2014 06:50:41 +0000 hourly 1 http://wordpress.org/?v=4.2.2 Comment on spotify web player behind a firewall by slowbro http://blog.slowbro.org/2014/02/spotify-web-player-behind-a-firewall/#comment-2194 Sun, 21 Dec 2014 06:50:41 +0000 http://blog.slowbro.org/?p=406#comment-2194 glad i could help :)

]]>
Comment on spotify web player behind a firewall by andrew http://blog.slowbro.org/2014/02/spotify-web-player-behind-a-firewall/#comment-2157 Sun, 14 Dec 2014 03:44:23 +0000 http://blog.slowbro.org/?p=406#comment-2157 hey dude. just wanted to say I experienced the same problems and added in the IPs and freed up the ports you said and it’s completely fixed. this is really great, i can listen to music without annoying pauses!

thanks so much! you’re doing the lord’s work

]]>
Comment on 1236: could not find first log file name in binary log index file by Chris http://blog.slowbro.org/2013/11/mysql-replication-woes/#comment-1119 Thu, 16 Oct 2014 17:55:34 +0000 http://blog.slowbro.org/?p=386#comment-1119 Thanks – I’ve just been searching for hours trying to fix my problem. Turns out I had used mysql-bin.xxx instead of bin-log.xxx – wouldn’t have checked if it hadn’t been for this post. A copy and paste error.

]]>
Comment on compiling php 5.5 with pthreads on centos 6 by slowbro http://blog.slowbro.org/2013/08/compiling-php-55-with-pthreads-on-centos/#comment-273 Thu, 11 Sep 2014 22:35:33 +0000 http://blog.slowbro.org/?p=321#comment-273 Have you set up the PHP Module in apache? It likely doesn’t know how to handle the .php files other than just showing the text. You need a LoadModule, and AddType line. I’m not actually sure if my guide will spit out the Apache module.. but from what I could find, you need to add the “–with-apxs2″ flag to ./configure with a path to plop the module. See here: http://www.web-tech-india.com/articles/php/compiling_php_apache/#php

Second option –with-apxs2 specifies that we want to install PHP as Apache 2 shared module.

So, try re-compiling, and setting that to something like “/etc/httpd/modules”, or whatever makes sense for your setup. Then add lines like this to your httpd.conf:

LoadModule php5_module modules/libphp5.so
AddType application/x-httpd-php .php

Let me know if that makes sense.

]]>
Comment on compiling php 5.5 with pthreads on centos 6 by Temi http://blog.slowbro.org/2013/08/compiling-php-55-with-pthreads-on-centos/#comment-272 Thu, 11 Sep 2014 14:30:21 +0000 http://blog.slowbro.org/?p=321#comment-272 Hi,
Thanks for your help. I used your info to compile and install php however for server setup as I have a minimal centos6 system. All went fine installing lam stack (removed yum php install and compiled and installed php 5.6.0). I have a problem as apache2 is showing php code as text. I seem to have to code the path of my php file (usr/bin/php) into the httpd.conf to solve this problem. Any ideas on the exact lines of code to edit into the httpd.conf file per the path of my php? or is there any other problem?

Also wondering why apache did not get the php directory automatically like when i used yum to install it all went fine and i was able to view the info.php but when i did your custom install, the info.php file shows code text instead of code result etc

]]>
Comment on compiling php 5.5 with pthreads on centos 6 by slowbro http://blog.slowbro.org/2013/08/compiling-php-55-with-pthreads-on-centos/#comment-255 Mon, 18 Aug 2014 17:16:55 +0000 http://blog.slowbro.org/?p=321#comment-255 glad i could be of assistance! :)

]]>
Comment on compiling php 5.5 with pthreads on centos 6 by Julie Pelletier http://blog.slowbro.org/2013/08/compiling-php-55-with-pthreads-on-centos/#comment-254 Mon, 18 Aug 2014 16:12:34 +0000 http://blog.slowbro.org/?p=321#comment-254 After much searching, trial and error, I found your site that gave me exactly what I needed. It’s too bad php.net doesn’t contain such useful instructions.

]]>
Comment on spotify web player behind a firewall by slowbro http://blog.slowbro.org/2014/02/spotify-web-player-behind-a-firewall/#comment-164 Wed, 02 Jul 2014 16:24:08 +0000 http://blog.slowbro.org/?p=406#comment-164 Implementing these rules depends heavily on the router/firewall you use – most commercial ones make it rather simple (i.e. no command line, all web GUI). The ACLs read like this:

source any any dest 54.192.0.0/16 tcp/1935

where..

source any any means from any address and any port (in that order)
dest 54.192.0.0/16 means the destination address range is 54.192.0.0/16. The /16 is CIDR notation, and in this case means any address in the range 54.192.0.0 to 54.192.255.255. More on CIDR here.
tcp/1935 means the destination port is the TCP protocol (versus UDP, or perhaps ICMP), on port number 1935.

Sorry of that still reads like greek! If you tell me the model number of your router I may be able to give you more specific insight as to how to implement this – no guarantees though 😉

]]>
Comment on spotify web player behind a firewall by Randy http://blog.slowbro.org/2014/02/spotify-web-player-behind-a-firewall/#comment-163 Wed, 02 Jul 2014 06:59:34 +0000 http://blog.slowbro.org/?p=406#comment-163 This reads like Greek to me, how do I get this to work?

]]>
Comment on spotify web player behind a firewall by arqs http://blog.slowbro.org/2014/02/spotify-web-player-behind-a-firewall/#comment-137 Thu, 22 May 2014 14:11:14 +0000 http://blog.slowbro.org/?p=406#comment-137 Thanks for knowledge. Recently I have blocked almost everything with new firewall and tried 4070 like spotify’s faq tells but it also needed 1935 like above.

]]>