This shows you the differences between two versions of the page.
php [2014/12/11 19:08] k2patel [suPHP] |
php [2020/08/10 02:35] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== PHP ====== | ||
- | ==== pear ==== | ||
- | |||
- | Change pear setting to install alpha / beta / stable / devel --- packages. | ||
- | <code bash> | ||
- | pear config-set preferred_state alpha | ||
- | </code> | ||
- | |||
- | ==== suPHP ==== | ||
- | |||
- | <note warning>configure: error: cannot find install-sh, install.sh, or shtool in config "."/config</note> | ||
- | |||
- | Try running following before configure: | ||
- | |||
- | <code bash> | ||
- | libtoolize --force | ||
- | aclocal | ||
- | autoheader | ||
- | automake --force-missing --add-missing | ||
- | autoconf | ||
- | </code> | ||
- | |||
- | |||
- | ==== RedHat related configure ===== | ||
- | <code bash> | ||
- | ./configure --build=x86_64-redhat-linux-gnu --host=x86_64-redhat-linux-gnu --program-prefix= --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info --with-apr=/usr/bin/apr-1-config | ||
- | </code> |