You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 21, 2023. It is now read-only.
I have tried all sorts of tutorials to install mod_pagespeed but none have been successful. The last one I followed (which I found on here in this thread: #109 )
It seems to be the best guide I have found so far, however I can't get past step 4:
Enable mod_deflate (required for mod_pagespeed).
The location of your httpd source directory will vary depending on the version of Apache you have installed. The quickest way to find the correct location is tab completion.
Hi,
I have tried all sorts of tutorials to install mod_pagespeed but none have been successful. The last one I followed (which I found on here in this thread: #109 )
It seems to be the best guide I have found so far, however I can't get past step 4:
Enable mod_deflate (required for mod_pagespeed).
The location of your httpd source directory will vary depending on the version of Apache you have installed. The quickest way to find the correct location is tab completion.
/usr/local/apache/bin/apxs -c -i /home/cpeasyapache/src/httpd-[tab]/modules/filters/mod_deflate.c
I get an error message saying:
No such file or directory
gcc: no input files
apxs:Error: Command failed with rc=65536
I trued to find the directory path using httpd -V which produced this:
Server version: Apache/2.4.16 (Unix)
Server built: Dec 11 2015 19:09:30
Cpanel::Easy::Apache v3.32.6 rev9999
Server's Module Magic Number: 20120211:47
Server loaded: APR 1.5.2, APR-UTIL 1.5.4
Compiled using: APR 1.5.2, APR-UTIL 1.5.4
Architecture: 64-bit
Server MPM: prefork
threaded: no
forked: yes (variable process count)
Server compiled with....
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6 (IPv4-mapped addresses disabled)
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D DYNAMIC_MODULE_LIMIT=256
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
What am I doing wrong here? Are there any better, more up-to-date instructions anywhere?
Kind regards
Percy
The text was updated successfully, but these errors were encountered: