If you do a minimal net install of Debian Wheezy and go to compile OLS on it, you will find that it won't work.
You need to install the below (at the minimum)
to get it and PHP to compile.
If you want imagemagick and geoip installed for php, you will need to do a
and then add
in your php.ini file (which you will also need to copy from /usr/local/lsws/php to /usr/local/lsws/lsphp5/lib.
If you run into a problem that your site doesn't show up, you need to issue
and check for any errors. What I've been having show up is
, which can be resolved by commenting it out of your php.ini. Once I did that my sites came up running fine.
You need to install the below (at the minimum)
Code:
aptitude install libssl-dev make automake build-essentials g++ libpcre3 libpcre3-dev libexpat1-dev libgeoip-dev libcurl4-openssl-dev libbz2-dev libjpeg8-dev libpng-dev libfreetype6-dev libmagickwand-dev
If you want imagemagick and geoip installed for php, you will need to do a
Code:
/usr/local/lsws/lsphp5/bin/pecl install imagick
/usr/local/lsws/lsphp5/bin/pecl install geoip
Code:
extension=/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20121212/imagick.so
extension=/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20121212/geoip.so
zend_extension=/usr/local/lsws/lsphp5/lib/php/extensions/no-debug-non-zts-20121212/opcache.so
date.timezone='US/Central'
If you run into a problem that your site doesn't show up, you need to issue
Code:
/usr/local/lsws/fcgi-bin/lsphp5 -i
Code:
PHP Fatal error: Directive 'allow_call_time_pass_reference' is no longer available in PHP in Unknown on line 0
Last edited: