PHP

PHP-FPM Performance Tweaks

Posted on

High performance Apache with mpm-event and PHP-FPM   Next, we edit config file for mpm-event at /etc/apache2/mod-available/mpm-event.conf : # event MPM # StartServers: initial number of server processes to start # MinSpareThreads: minimum number of worker threads which are kept spare # MaxSpareThreads: maximum number of worker threads which are kept spare # ThreadsPerChild: constant number of worker threads […]

Uncategorized

FreeSwitch & Flowroute to Receive and Send SMS

Posted on

See tutorial   Support For Flowroute SMS in FreeSWITCH   Got stuck, on apt-get install -y --force-yes freeswitch-video-deps-most with the following error: root@Asterisk:/home# apt-get install -y --force-yes freeswitch-video-deps-most Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation […]

Ubuntu

Apache http2 Activation on Ubuntu 14.04

Posted on

http/2 is apparently where the web is going on the next generation web data transfer. I'm interested on trying to configure it, to see if that gives me an edge on the SEO side. The process to activate it is particularly simple, but, I had some compatibility challenges. Let me elaborate: I'm hosting this particular […]

PostgreSQL

PgSQL: Replace Add break

Posted on

UPDATE m_product SET em_mg_longdescription = regexp_replace(em_mg_longdescription,'------------',chr(13)) WHERE em_mg_manufacturer = 1000637 AND value = 'IMI-YW356A01'     Some additional replace scripts   UPDATE m_product SET em_mg_longdescription = regexp_replace(em_mg_longdescription,'</li>',chr(10)) WHERE em_mg_manufacturer = 1000637   UPDATE m_product SET em_mg_longdescription = replace(em_mg_longdescription,'<li>','') WHERE em_mg_manufacturer = 1000637   UPDATE m_product SET em_mg_longdescription = replace(em_mg_longdescription,'<ul>','') WHERE em_mg_manufacturer = 1000637   UPDATE […]