XenForo Server Setup Guide Part 2 (CentOS, OpenLiteSpeed, Percona) (With Pictures!)

XenForo Server Setup Guide Part 2 (CentOS, OpenLiteSpeed, Percona) (With Pictures!)


XenForo moderator
Staff member
@Slavik, I seem to get stuck at the part where we change the port from 8088 to 80. I follow the instructions, but when I type in my server IP, it just gives me a "cannot connect message". It works off of SERVERIP:8088 though, and displays the successful installation of LiteSpeed message.

Any help you could possibly give on why it will not serve up from port 80 like in the guide?

Check the LiteSpeed error log in the admin panel.


Active member
how i can update the php version , the php version not in the list !!
the one i have 5.5.6 and i wana update to 5.5.8 !!


I have a question, after i built php and restarted when i go to my ip i see apache page and openlitespeed one, why is that?


If you install just percona, for some reason it doesn't come with my.cnf this wasn't mentioned in the guide however after some googling i figured this out.


https://bugs.launchpad.net/percona-server/ bug/673844

You need to
cp /usr/share/percona-server/my-medium.cnf /etc/my.cnf

then edit the my.cnf like stated.

Hope this may help some people who can't find the my.cnf with percona.

Thanks for the great guide btw :D
Last edited:
  • Like
Reactions: fos


Well-known member
With this parameters:
'--with-mysql' '--with-mysqli' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-zlib' '--with-gd' '--enable-shmop' '--enable-sockets' '--enable-sysvmsg' '--enable-sysvsem' '--enable-sysvshm' '--enable-mbstring' '--with-iconv' '--with-libdir=lib64' '--with-litespeed' '--with-curl' '--enable-zip' '--with-bz2' '--with-jpeg-dir=lib64' '--enable-bcmath' '--enable-calendar' '--enable-ftp' '--enable-gd-native-ttf' '--enable-exif' '--with-openssl' '--with-xmlrpc' '--with-freetype-dir=lib64' '--with-png-dir=lib64' '--enable-inline-optimization' '--enable-xml'
I can't compile PHP 5.6.4 :eek: