Invision Community 4: SEO, prepare for v5 and dormant account notifications By Matt Monday at 02:04 PM
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 5 minutes ago, RoHAdmin said: so I recently updated to EA4 and 7.1 using the recommended setup here in this thread and my site doesn't work at all since doing so http://www.remnantsofhope.com/boards/ nothing but computer language that is unreadable. I'm not sure what could be causing this? I am running MariaDB as well. Your homepage is working meaning apache is not faulty. May be something with the script or required components?
RoHAdmin Posted March 22, 2017 Posted March 22, 2017 the only thing I can figure is that for some reason opcache and fpm is messing with things EDIT: nope, uninstalled those extensions and still same issue
RoHAdmin Posted March 22, 2017 Posted March 22, 2017 Even when I use the Converted EA3 profile, the same effect happens, either I get all this weird stuff or just a 500 error
jcdesign Posted March 22, 2017 Posted March 22, 2017 Check the php extension for the 7.1 profile, so all required extension is active. When I switched to 7.1 almost all php extension was unactive at the 7.1 profile.
RoHAdmin Posted March 22, 2017 Posted March 22, 2017 3 minutes ago, jcdesign said: Check the php extension for the 7.1 profile, so all required extension is active. When I switched to 7.1 almost all php extension was unactive at the 7.1 profile. what I have provisioned in the profile Quote apache24 apr apr-util config config-runtime cpanel-tools documentroot libcurl mod_asis mod_authn_anon mod_authn_socache mod_bwlimited mod_cgi mod_deflate mod_env mod_expires mod_headers mod_mpm_prefork mod_proxy mod_proxy_fcgi mod_proxy_http mod_ssl mod_suexec mod_suphp mod_version php-cli php-cli-lsphp php71 php71-libc-client php71-pear php71-php php71-php-bcmath php71-php-calendar php71-php-cli php71-php-common php71-php-curl php71-php-devel php71-php-enchant php71-php-exif php71-php-fileinfo php71-php-fpm php71-php-ftp php71-php-gd php71-php-gettext php71-php-iconv php71-php-imap php71-php-litespeed php71-php-mbstring php71-php-mysqlnd php71-php-opcache php71-php-pdo php71-php-pgsql php71-php-posix php71-php-sockets php71-php-xml php71-php-zip php71-runtime php71-scldevel profiles-cpanel tools per support I even checked the ips4.php file after and everything shows it should be working just fine http://www.remnantsofhope.com/boards/ips4.php
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 1 hour ago, RoHAdmin said: what I have provisioned in the profile per support I even checked the ips4.php file after and everything shows it should be working just fine http://www.remnantsofhope.com/boards/ips4.php Dont know if it affects but you have following additions over my list ; libcurl php71-php php71-php-enchant php71-scldevel
RoHAdmin Posted March 22, 2017 Posted March 22, 2017 So I ended up reverting back to EA3 running a new profile with that to update to Apache 2.4, and include all of the php extensions I'm including with EA4 the ips4.php shows as everything will work but the same issues is caused.
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 On 21.03.2017 at 8:08 PM, inkredible said: I have contacted our server administrator (he's freelancing for us, but he's a fulltime server administrator). He said that our setup to use MPM event, PHP-FPM and Opcache is decent and works. You have to enable PHP-FPM domain by domain in your MultiPHP Manager. With phpinfo() you can check whether everything is running as intended. I have tried to build this up but MPM Event, PHP-FPM and Opcache does not seem to be able to exist at once cause once php71-php is selected( needed for dso and for OPcache ) mpm_event is uninstalled. Do you say MPM_Event & PHP-FPM will work with Opcache ?
RoHAdmin Posted March 22, 2017 Posted March 22, 2017 well... after trial and error and trial and error 'rinse and repeat about 500 times' everything works...I'm not at all sure what I did to get it that way... but yeah it works... I'm hesitating to move to php 7.1 atm though because I just got everything working with 7.0...I don't want to break something again lol
inkredible Posted March 22, 2017 Posted March 22, 2017 3 hours ago, ABGenc said: I have tried to build this up but MPM Event, PHP-FPM and Opcache does not seem to be able to exist at once cause once php71-php is selected( needed for dso and for OPcache ) mpm_event is uninstalled. Do you say MPM_Event & PHP-FPM will work with Opcache ? Hmm the only difference I can see is that you are seeing a more updated php 7.1 than I've got:
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 4 minutes ago, inkredible said: Hmm the only difference I can see is that you are seeing a more updated php 7.1 than I've got: That should have been installed tonight. Is php71-php is installed on yours ? Can you varify opcache is wotking with this setup ?
inkredible Posted March 22, 2017 Posted March 22, 2017 11 minutes ago, ABGenc said: That should have been installed tonight. Is php71-php is installed on yours ? Can you varify opcache is wotking with this setup ? Yes it is and yes I can confirm that opcache is working. I have checked the hitrate and stuff to optimize my OpCache config. I can also see opcache listed in my phpinfo on a PHP7.1 domain.
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 Just now, inkredible said: Yes it is and yes I can confirm that opcache is working. I have checked the hitrate and stuff to optimize my OpCache config. I can also see opcache listed in my phpinfo on a PHP7.1 domain. You see the error above ? When I try to install php71.-php in uninstalls mod_mpm_event saying it conflicts. *confused*
inkredible Posted March 22, 2017 Posted March 22, 2017 Just now, ABGenc said: You see the error above ? When I try to install php71.-php in uninstalls mod_mpm_event saying it conflicts. *confused* I remember about the mod_cgid incompability but I don't remember any incompabilities with mpm_event. You may want to contact the CPanel support. Cpanel offers the best support I've anywhere seen, every supporter there seems to be super qualified.
ABGenc Posted March 22, 2017 Author Posted March 22, 2017 Just now, inkredible said: I remember about the mod_cgid incompability but I don't remember any incompabilities with mpm_event. You may want to contact the CPanel support. Cpanel offers the best support I've anywhere seen, every supporter there seems to be super qualified. Will check that. Currently I am running mpm_prefork , php-fpm and opcache . Not bad at all
ABGenc Posted March 23, 2017 Author Posted March 23, 2017 On 21.03.2017 at 10:41 PM, ABGenc said: Things are quite fine at the moment. Just trying to optimize and get things sorted and updated. Willing to settle on ; PHP 7.1, MaridDB 10.1 ( done ) , All tables InnoDB I believe a minimum PHP extensions list would be a good topic too where ppl could extend it according to their needs as you told. For those WHO might be intersted, I have made all the conversions and upgrade and now have reached my target. I am running the site on Apache with mpm_prefork , php-fpm and opcache and PHP 7.1.3, MySQL 5.5.5-10.1.22-MariaDB and all my databases converted to InnoDB from MyISAM .. Looks like it is working fast now
ABGenc Posted March 24, 2017 Author Posted March 24, 2017 @inkredible how do you manage Expire headers ? Before moving to PHP 7.1 I remember I had settings I had applied using Include Editor but can not find it .
inkredible Posted March 24, 2017 Posted March 24, 2017 3 hours ago, ABGenc said: @inkredible how do you manage Expire headers ? Before moving to PHP 7.1 I remember I had settings I had applied using Include Editor but can not find it . I use the htaccess for caching rules
Morgin Posted March 25, 2017 Posted March 25, 2017 On 2017-03-23 at 2:04 AM, ABGenc said: For those WHO might be intersted, I have made all the conversions and upgrade and now have reached my target. I am running the site on Apache with mpm_prefork , php-fpm and opcache and PHP 7.1.3, MySQL 5.5.5-10.1.22-MariaDB and all my databases converted to InnoDB from MyISAM .. Looks like it is working fast now Is there a reason you want to run prefork instead of event?
ABGenc Posted March 25, 2017 Author Posted March 25, 2017 3 hours ago, Morgin said: Is there a reason you want to run prefork instead of event? I had told about it in following post. Can not keep opcache and event together System uninstalls it
sobrenome Posted March 25, 2017 Posted March 25, 2017 Is memcache already available for php 7.1 on Cpanel?
ABGenc Posted March 25, 2017 Author Posted March 25, 2017 41 minutes ago, sobrenome said: Is memcache already available for php 7.1 on Cpanel? Did not look for or try to tell the truth. I have madem too many changes recently and keep still for sometime
inkredible Posted March 25, 2017 Posted March 25, 2017 17 hours ago, sobrenome said: Is memcache already available for php 7.1 on Cpanel? It's in pre release state for 2 weeks now. I have installed memcached manually though. Here you can find instructions to install memcached with CPanel: https://features.cpanel.net/topic/memcached-in-easyapache4
sobrenome Posted March 26, 2017 Posted March 26, 2017 22 hours ago, inkredible said: It's in pre release state for 2 weeks now. I have installed memcached manually though. Here you can find instructions to install memcached with CPanel: https://features.cpanel.net/topic/memcached-in-easyapache4 Great news! Will wait for stable.
Vanucci Posted March 31, 2017 Posted March 31, 2017 Thanks guys, followed this and my sites working faster than usual Expired headers, no idea how to manually do this in the htaccess file
Recommended Posts
Archived
This topic is now archived and is closed to further replies.