Let’s edit/create google-mod-pagespeed.repo
Let’s install it with yum!
yum install mod-pagespeed
Then we need to restart apache!
service httpd restart
This is how we test it…
curl -D- http://localhost/ | head -10
[[email protected] webroot]# curl -D- http://localhost/ | head -10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 4328 100 4328 0 0 27929 0 –:–:– –:–:– –:–:– 28103
HTTP/1.1 200 OK
Date: Wed, 12 Sep 2018 15:52:41 GMT
Server: Apache/2.4.6 (CentOS) PHP/5.6.38
Cache-Control: max-age=0, no-cache, s-maxage=10
Content-Type: text/html; charset=iso-8859-1
Some tutorials tell use to set short_open_tag on /etc/php.ini, but it might now work!
This might not be the php.ini that PHP/Apache is reading.
Use phpinfo() to get the real php.ini file.
Hope it helps anyone.
Yesterday I had to set up a new server for bunch of sites from 2008 using PHP Pear….
DB Error: extension not found
You might need to add the following line at the end of /etc/php.ini
Some of my old scripts with ffmpeg… are now breaking apart …. returning, sometimes…
Please use -q:a or -q:v, -qscale is ambiguous
-q:v 0 is the solution!
You don’t have permission to access /~wwwplayboy.com/ on this server.
Server unable to read htaccess file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.
Try to set the folder (public_html) to 755.
I was having some HTTP issues here on this blog…
Mixed Content: The page at ‘https://www.digitalwhores.net/*******’. This request has been blocked; the content must be served over HTTPS.
I’v installed SSL Insecure Content Fixer.
Make sure you select !!
HTTP_CF_VISITOR (Cloudflare Flexible SSL); deprecated, since Cloudflare sends HTTP_X_FORWARDED_PROTO now
Update it manually! It worked.
./launcher rebuild app
This is how…
On mysql set your table(s)’s filed(s) to
$db['default']['char_set'] = 'utf8mb4';
$db['default']['dbcollat'] = 'utf8mb4_general_ci';