Install nginx:
?
cd /usr/ports/www/nginx
make install clean
Make sure these are selected with space bar:
?
[X] HTTP_MODULE Enable HTTP module
[X] HTTP_ADDITION_MODULE Enable http_addition module
[X] HTTP_CACHE_MODULE Enable http_cache module
[X] HTTP_GEOIP_MODULE Enable http_geoip module
[X] HTTP_GZIP_STATIC_MODULE Enable http_gzip_static module
[X] HTTP_IMAGE_FILTER_MODULE Enable http_image_filter module
[x] HTTP_PERL_MODULE Enable http_perl module
[X] HTTP_REALIP_MODULE Enable http_realip module
[X] HTTP_REWRITE_MODULE Enable http_rewrite module
[X] HTTP_STATUS_MODULE Enable http_stub_status module
Press "Enter" when ready to continue.
Install libtool
?
cd /usr/ports/devel/libtool
make install clean
Install php5
?
cd /usr/ports/lang/php5
make config
Make sure the following is selected with space bar then press "Enter":
?
[X] FPM Build FPM version (experimental)
Leave everything else default.
then do this:
?
make install clean
~~~~
If you need cURL support then do this, if not then skip this step:
?
cd /usr/ports/lang/php5-extensions
make config
Make sure that the "CURL Support" is selected then press "Enter".
Then do the installation and clean the directory:
?
make -DBATCH install clean
~~~~
Time to configure your php.ini file...
Reset parola mysql
In ultimul timp am vazut multi detinatori de servere care nu stiu sa reseteze parola mysql din...