Contact Menu

Search results for "how-to-use-call-from-crontab-in-opencart"

APC INFO Monitor

How to Configure APC Cache on Virtual Servers with PHP running under FCGId

…upgrades, etc.) turn off apc.optimization (experimental and unstable, may cache user session info, fubaring items which should not be cached, such as admin pages and logged-in site pages) turn off apc.include_once_override (use carefully; only useful with PHP scripts that do not have cache hooks, such as Joomla 1.0, phpBB2, etc.) turn off apc.slam_defense (may cause […]

Continue Reading 57

Web Hosting

…spray is an uncomplicated, web-based bug tracking system for assisting with software development. FormMail FormMail is a generic HTML form to e-mail gateway that parses the results of any form and sends them to the specified users. Forwards Forwards is a Horde module for setting user e-mail forwards with support for several popular mailers. Gallery […]

Continue Reading
Screen Shot 2013-04-19 at 6.32.51 PM

Fail2Ban Regex for RedHat, Fedora, CentOS and Amazon Linux 2013

…Apr 19 05:22:20 vm5 auth: pam_unix(dovecot:auth): authentication failure; logname= uid=0 euid=0 tty=dovecot ruser=informix rhost=80.255.3.104 RegEx mentioned previously will match those entries, and via Fail2Ban: BAN the offending IPs. So, you think you’re ready with RegEx fu to tackle the Local Jail (jail.local)? Not so fast. Don’t use regex in jail.local. This file takes wild cards, […]

Continue Reading 1
Screen Shot 2013-01-16 at 4.19.03 PM

Auto Mailer Form with Validation and reCAPTCHA

…er as the package&#8217;s main index.php. I&#8217;ve heavily commented the code, so you should be able to easily understand it. <?php // php-form-builder-class PFBC // set up name spaces for form, elements, and validation use PFBC\Form; use PFBC\Element; use PFBC\Validation; session_start(); error_reporting(E_ALL); include("PFBC/Form.php"); include("header.php"); $version = file_get_contents("version"); // has the form been submitted and… 3, […]

Continue Reading 2
LAMP-linux-apache-mysql-php

Tuning Apache and MySQL for Best Performance in a Shared Virtual Hosting Environment

…hread_cache_size = 8 Current threads_cached = 7 Current threads_per_sec = 0 Historic threads_per_sec = 0 Your thread_cache_size is fine MAX CONNECTIONS Current max_connections = 151 Current threads_connected = 1 Historic max_used_connections = 10 The number of used connections is 6% of the configured maximum. You are using less than 10% of your configured max_connections. Lowering […]

Continue Reading 9

Integrating Content from External Sources into OU Campus Using RSS, PHP, and JavaScript

…other RSS sources, the structure may be different; maybe we can&#8217;t do a lastBuildDate check. And&#8230; some servers may not respond to a default wget request from a shell script. No problem: just specify –header and —user-agent, don&#8217;t do the lastBuildDate check, and just write the RSS XML file. #!/bin/bash # Preload GoMocs Feeds for […]

Continue Reading 0
APC INFO Monitor

APC Cache Considerations for Virtual Hosting Environments

…ini and a unique fcgiwrapper. This is not the case with many virtual hosting environments because the memory and CPU requirements are too great. I suggest using Virtualmin for a shared hosting environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual host, and so to set an […]

Continue Reading 4
screen-shot 2016-03-02 at 1.13.28 PM

YouTube Gallery snippet & table transform for OU Campus

Here&#8217;s a neat way to present multiple YouTube videos in a responsive &#8220;gallery&#8221; in OU Campus. This example uses a mix of Bootstrap CSS and CSS specific to the gallery. Thanks to Wooster Web Design for the HTML/CSS/JS. With the YouTube Gallery snippet and XSL transform, you can create a video gallery of multiple YouTube […]

Continue Reading 0