…che and MySQL performance tuning before you begin. If you are running your virtual servers under FCGId, then you should do so for all virtual servers on your machine. Why? Because then you do not need apache’s mod_php (php module). Less modules loaded, less wasted memory. Comment out: LoadModule php5_module modules/libphp5.so in /etc/httpd/conf.d/php.conf Remove any […]
Search results for "apache-is-running-a-threaded-mpm-but-your-php-module-is-not-compiled-to-be-threadsafe"
…bar stream social wall page with YouTube videos Facebook, Twitter and Instagram require PHP API script for connection to signed apps. jquery.imagesloaded is helpful for the wall display Code Samples (A compilation zip including all code mentioned in the presentation is available. Comment and subscribe to this post to be notified of updates.) WordPress plugin […]
…g APC Support for a Virtual Domain Because Virtualmin’s implementation of Nginx uses php-fastcgi, each virtual domain will load its own php.ini file, so you can add the APC directives to that file (/home/domainname/etc/php5/php.ini) Add the following to php.ini (adjust to your requirements) [APC] extension = apc.so apc.enabled = 1 apc.shm_segments = 1 apc.shm_size = […]
…is a widely-used open source support ticket system. Passwd Passwd is the Horde password changing application. PHP Support Tickets A feature-rich PHP helpdesk. PHP-Calendar A web-based calendar and event scheduled written in PHP. PHP-Nuke A content management and portal solution featuring web-based administration, surveys, customizable blocks, modules and themes with multilanguage support. Php-Wiki A Php-WikiWeb […]
…he same IP addresses. If your host does not support ConfigServer (e.g. Amazon AWS and some VPS may not play well with CSF), you may use Fail2Ban. Tune Apache the Sane Way (Requires Basic Math Skills) If you wish to tune your Apache MPM settings, you should consider following this method: https://telvps.com/clients/knowledgebase/25/HOW-TO-Optimize-Apache-for-Low-Memory-Usage.html (the formula works […]
…64/epel-release-6-8.noarch.rpm On Amazon Linux, epel-release is already loaded. Edit /etc/yum.repos.d/epel.repo to enabled=1 Edit /etc/yum.repos.d/epel.repo to only include necessary software packages: includepkgs=phpMyAdmin php–php-gettext I have removed RPMforge repo due to some recent problems, but if you still need rpm forge repo: exclude=phpMyAdmin php–php-gettext Install PMA: yum install phpMyAdmin Apache Edit… 18, 1, 0, 0 and 911.25
…to better utilize the server’s horsepower. Cpanel’s efault Apache and MySQL configurations were limiting the number of concurrent user sessions the server could handle. Changed PHP to run as FastCGI (fcgid) and recompiled Apache to better handle the needs of a high traffic WordPress site. Configured a large MySQL table and query cache based on […]
…ng environment with APC cache, because it does allow to set php.ini and fcgiwrapper for every individual virtual host, and so to set an individual configuration for APC per virtual server. However with 200+ virtual hosts all running PHP script packages, as is the case with a commodity shared hosting server, this will use a […]
…des most of the different types of inputs, all you need do is create a file in the same folder as the package’s main index.php. I’ve heavily commented the code, so you should be able to easily understand it.