• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Timezone / APC install?

#1
Hi,

1. How do I change the timezone in my PHPinfo file please its showing as Europe/Moscow and not Europe/London : http://offtopicdiscussions.net/info.php

2. How do I install the GD library, I'm using the LiteSpeed server and its showing if I switch to Apache but says not installed when I use LiteSpeed.

3. Also how do I install APC?

PS - Does my PHPinfo file look good to you guys... optimised?

Thanks a lot for any help
 

Slavik

XenForo moderator
Staff member
#2
3. To install APC

Code:
pecl install apc
echo "extension=apc.so" > /etc/php.d/apc.ini
service httpd restart
2.
Code:
yum install freetype freetype-devel libjpeg libjpeg-devel
Then open up your litespeed admin

Go to Action > Compile php

Add in

Code:
–with-jpeg-dir=/usr/lib –with-freetype-dir=/usr/lib
Changing the directories as needed, build the php and restart

1.open up php.ini

find or add

Code:
date.timezone
change to

Code:
date.timezone Europe/London