Jei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PrisijungtiRegistruotisJei forume lankaisi pirmą kartą, kviečiame registruotis ir prisijungti prie diskusijų.
PHP Warning: require_once(): open_basedir restriction in effect. File(install-pear-nozlib.phar/index.php) is not within the allowed path(s): (/var/www/html/:/tmp/) in /usr/local/directadmin/custombuild/php-5.3.23/pear/install-pear-nozlib.phar on line 1236
PHP Warning: require_once(phar://install-pear-nozlib.phar/index.php): failed to open stream: phar error: invalid url or non-existent phar "phar://install-pear-nozlib.phar/index.php" in /usr/local/directadmin/custombuild/php-5.3.23/pear/install-pear-nozlib.phar on line 1236
make[1]: *** [install-pear-installer] Error 255
make: *** [install-pear] Error 2
Installing php...
Installing PHP SAPI module: cgi
Installing PHP CGI binary: /usr/local/php5/bin/
Installing PHP CLI binary: /usr/local/php5/bin/
Installing PHP CLI man page: /usr/local/php5/man/man1/
Installing build environment: /usr/local/php5/lib/php/build/
Installing header files: /usr/local/php5/include/php/
Komentarai
peržiūrėkite ar redaguojate būtent tą php.ini failą http://help.directadmin.com/item.php?id=301 .
sužinau kuris failas naudojamas:
[root@server custombuild]# ./build used_configs
Apache configuration file: /usr/local/directadmin/custombuild/configure/ap2/configure.apache
suPHP configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.suphp
PHP5 configuration file: /usr/local/directadmin/custombuild/configure/suphp/configure.php5
PureFTPD configuration file: /usr/local/directadmin/custombuild/configure/pureftpd/configure.pureftpd
tuomet: papildome "--enable-soap" \
išsaugom tuomet gaunu klaidą, buvau bandęs ir ./build php n ir ./build php y ir po to ./build suphp y
./build rewrite_confs nesuprantu nuo ko ta klaida čia atsirado.
užkomentuokite open_basedir direktyvą php.ini faile. Tuomet kompiliuokite iš naujo.