fpoirotte / phpfarm

Fork from the original phpfarm developed by Christian Weiske (@cweiske/phpfarm)
GNU Affero General Public License v3.0
118 stars 37 forks source link

configure: WARNING: unrecognized options: --enable-wddx, --enable-zip #28

Closed tmuras closed 4 years ago

tmuras commented 4 years ago

When trying to install on clean Ubuntu 19.10:

sudo apt install libxml2-dev zlib1g-dev gcc pkg-config libsqlite3-dev libonig-dev
git clone https://github.com/fpoirotte/phpfarm.git
cd phpfarm
mkdir custom
cd src 
./main.sh 7.4.0

... Thank you for using PHP.

configure: WARNING: unrecognized options: --enable-wddx, --enable-zip Please fix your configure options and try again. An error occurred while trying to install PHP 7.4.0.

ildar-aim commented 4 years ago

I use this

aim-server[/opt/phpfarm_new/src]$ cat ../custom/options-7.sh 
configoptions=$configoptions"
--enable-opcache
--with-pdo-mysql \

"

and

aim-server[/opt/phpfarm_new/src]$ cat ../custom/options-7.4.sh 
configoptions=`echo $configoptions|sed "s/--disable-wddx//"`
configoptions=`echo $configoptions|sed "s/--enable-wddx//"`
configoptions=`echo $configoptions|sed "s/--enable-zip//"`
configoptions=`echo $configoptions|sed "s/--with-mysql=mysqlnd//g"`
configoptions=`echo $configoptions|sed "s/--with-jpeg-dir//"`
configoptions=`echo $configoptions|sed "s/--with-png-dir//"`
configoptions=`echo $configoptions|sed "s/--with-gd//"`
configoptions=`echo $configoptions|sed "s/--with-mcrypt//"`

configoptions=$configoptions"
--enable-gd
--with-jpeg \
"
#--with-libxml \