Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
vms:webdev:phpfarm [2015/06/23 01:44]
admin [Configuration files]
vms:webdev:phpfarm [2015/06/23 02:00]
admin [Configuration files]
Line 65: Line 65:
 <color darkslateblue>​**/​opt/​phpfarm/​custom/​options.sh**</​color>​ <color darkslateblue>​**/​opt/​phpfarm/​custom/​options.sh**</​color>​
  
-In our case this files contains the following, it should obviously be adapted to your specific php compile options requierments+See below for a sample content of such file, it should obviously be adapted to your specific php compile options requierments.
-<​code>​ +
-> sudo nano /​opt/​phpfarm/​custom/​options.sh +
- +
-EXTRA_LIBS="​$EXTRA_LIBS -lstdc++ " +
-export EXTRA_LIBS +
-configoptions="​\ +
-    --with-config-file-scan-dir=/​opt/​phpfarm/​inst/​php-${version}/​conf.d \ +
-    --enable-cli \ +
-    --with-pear \ +
-    --with-iconv \ +
-    --with-mysql=/​usr/​bin/​mysql_config \ +
-    --with-mysql \ +
-    --with-mysqli \ +
-    --with-pdo-mysql \ +
-    --with-libdir=/​lib/​x86_64-linux-gnu \ +
-    --enable-ftp \ +
-    --with-gd \ +
-    --enable-gd-native-ttf \ +
-    --with-mcrypt \ +
-    --with-mhash \ +
-    --enable-soap \ +
-    --with-curl \ +
-    --with-zlib \ +
-    --with-zlib-dir \ +
-    --enable-mbstring \ +
-    --with-jpeg-dir=/​usr/​lib/​x86_64-linux-gnu \ +
-    --with-png-dir=/​usr/​lib/​x68_64-linux-gnu \ +
-    --with-gettext \ +
-    --with-mhash \ +
-    --enable-bcmath \ +
-    --enable-sockets \ +
-    --enable-cgi \ +
-    --enable-calendar \ +
-    --enable-zip \ +
-    --enable-pcntl \ +
-    --enable-wddx \ +
-    --with-bz2 \ +
-    --enable-mysqlnd \ +
-    --enable-intl \ +
-    --with-icu-dir=/​usr \ +
-    --with-openssl \ +
-+
-</​code>​+
  
 It is also possible to create per-version custom options file by specifying the version number in the file name:\\ It is also possible to create per-version custom options file by specifying the version number in the file name:\\