Jailkit configuration for php

For those who don’t want to troubleshoot manually.

This is a config for ubuntu 12.04 LTS x86_64.

[php]
comment = PHP
executables = /usr/bin/php
libraries = /usr/lib/x86_64-linux-gnu/libedit.so.2*, /usr/lib/x86_64-linux-gnu/libdb-5.1.so*, /lib/x86_64-linux-gnu/libpcre.so.3*, /lib/x86_64-linux-gnu/libbsd.so.0*, /usr/lib/x86_64-linux-gnu/libcurl.so.4*, /usr/lib/x86_64-linux-gnu/libgd.so.2*, /usr/lib/x86_64-linux-gnu/librtmp.so.0, /usr/lib/libt1.so.5*, /usr/lib/x86_64-linux-gnu/libXpm.so.4*, /usr/lib/x86_64-linux-gnu/libjpeg.so.8*, /usr/lib/x86_64-linux-gnu/libfontconfig.so.1*, /usr/lib/x86_64-linux-gnu/libfreetype.so.6*, /lib/x86_64-linux-gnu/libpng12.so.0*, /usr/lib/x86_64-linux-gnu/libX11.so.6*, /lib/x86_64-linux-gnu/libexpat.so.1*, /usr/lib/x86_64-linux-gnu/libxcb.so.1*, /usr/lib/x86_64-linux-gnu/libXau.so.6*, /usr/lib/x86_64-linux-gnu/libXdmcp.so.6*, /usr/lib/libMagick*, /usr/lib/x86_64-linux-gnu/libgomp.so.1*, /usr/lib/x86_64-linux-gnu/liblcms.so.1*, /usr/lib/liblqr-1.so.0*, /usr/lib/x86_64-linux-gnu/libXext.so.6*, /usr/lib/x86_64-linux-gnu/libltdl.so.7*, /lib/x86_64-linux-gnu/libglib-2.0.so.0*, /usr/lib/libc-client.so.2007e*, /lib/x86_64-linux-gnu/libpam.so.0*, /usr/lib/libmcrypt.so.4*, /usr/lib/x86_64-linux-gnu/libmysqlclient.so.18*
directories = /usr/lib/php5/

Hope it helps.

Lasă un răspuns

Completează mai jos detaliile despre tine sau dă clic pe un icon pentru autentificare:

Logo WordPress.com

Comentezi folosind contul tău WordPress.com. Dezautentificare / Schimbă )

Poză Twitter

Comentezi folosind contul tău Twitter. Dezautentificare / Schimbă )

Fotografie Facebook

Comentezi folosind contul tău Facebook. Dezautentificare / Schimbă )

Fotografie Google+

Comentezi folosind contul tău Google+. Dezautentificare / Schimbă )

Conectare la %s

%d blogeri au apreciat asta: