http://api.****.su/?method=login.login&data={"email":"****","password":"******"}&sid=SID12345
/zip-1.12.1$ make
/bin/bash /var/www/music/zip-1.12.1/libtool --mode=compile cc -I. -I/var/www/music/zip-1.12.1 -DPHP_ATOM_INC -I/var/www/music/zip-1.12.1/include -I/var/www/music/zip-1.12.1/main -I/var/www/music/zip-1.12.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/www/music/zip-1.12.1/php_zip.c -o php_zip.lo
libtool: compile: cc -I. -I/var/www/music/zip-1.12.1 -DPHP_ATOM_INC -I/var/www/music/zip-1.12.1/include -I/var/www/music/zip-1.12.1/main -I/var/www/music/zip-1.12.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/www/music/zip-1.12.1/php_zip.c -fPIC -DPIC -o .libs/php_zip.o
/var/www/music/zip-1.12.1/php_zip.c: In function 'php_zip_get_property_ptr_ptr':
/var/www/music/zip-1.12.1/php_zip.c:881:3: warning: passing argument 3 of 'std_hnd->get_property_ptr_ptr' makes pointer from integer without a cast [enabled by default]
/var/www/music/zip-1.12.1/php_zip.c:881:3: note: expected 'const struct _zend_literal *' but argument is of type 'int'
/var/www/music/zip-1.12.1/php_zip.c:881:3: error: too many arguments to function 'std_hnd->get_property_ptr_ptr'
/var/www/music/zip-1.12.1/php_zip.c: In function 'zm_startup_zip':
/var/www/music/zip-1.12.1/php_zip.c:2801:43: warning: assignment from incompatible pointer type [enabled by default]
make: *** [php_zip.lo] Ошибка 1
kachalov@ubuntu-server:/var/www/music/zip-1.12.1$ make
/bin/bash /var/www/music/zip-1.12.1/libtool --mode=compile cc -I. -I/var/www/music/zip-1.12.1 -DPHP_ATOM_INC -I/var/www/music/zip-1.12.1/include -I/var/www/music/zip-1.12.1/main -I/var/www/music/zip-1.12.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/www/music/zip-1.12.1/php_zip.c -o php_zip.lo
libtool: compile: cc -I. -I/var/www/music/zip-1.12.1 -DPHP_ATOM_INC -I/var/www/music/zip-1.12.1/include -I/var/www/music/zip-1.12.1/main -I/var/www/music/zip-1.12.1 -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /var/www/music/zip-1.12.1/php_zip.c -fPIC -DPIC -o .libs/php_zip.o
/var/www/music/zip-1.12.1/php_zip.c: In function 'php_zip_get_property_ptr_ptr':
/var/www/music/zip-1.12.1/php_zip.c:881:3: warning: passing argument 3 of 'std_hnd->get_property_ptr_ptr' makes pointer from integer without a cast [enabled by default]
/var/www/music/zip-1.12.1/php_zip.c:881:3: note: expected 'const struct _zend_literal *' but argument is of type 'int'
/var/www/music/zip-1.12.1/php_zip.c:881:3: error: too many arguments to function 'std_hnd->get_property_ptr_ptr'
/var/www/music/zip-1.12.1/php_zip.c: In function 'zm_startup_zip':
/var/www/music/zip-1.12.1/php_zip.c:2801:43: warning: assignment from incompatible pointer type [enabled by default]
make: *** [php_zip.lo] Ошибка 1
running: make
/bin/bash /tmp/pear/temp/pear-build-rootl3gv3G/zip-1.10.2/libtool --mode=compile cc -I. -I/tmp/pear/temp/zip -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootl3gv3G/zip-1.10.2/include -I/tmp/pear/temp/pear-build-rootl3gv3G/zip-1.10.2/main -I/tmp/pear/temp/zip -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zip/php_zip.c -o php_zip.lo
libtool: compile: cc -I. -I/tmp/pear/temp/zip -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootl3gv3G/zip-1.10.2/include -I/tmp/pear/temp/pear-build-rootl3gv3G/zip-1.10.2/main -I/tmp/pear/temp/zip -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zip/php_zip.c -fPIC -DPIC -o .libs/php_zip.o
In file included from /tmp/pear/temp/zip/php_zip.c:31:0:
/tmp/pear/temp/zip/php_zip.h:48:0: warning: "OPENBASEDIR_CHECKPATH" redefined [enabled by default]
/usr/include/php5/main/fopen_wrappers.h:42:0: note: this is the location of the previous definition
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_extract_file':
/tmp/pear/temp/zip/php_zip.c:185:3: warning: passing argument 6 of 'php_basename' from incompatible pointer type [enabled by default]
/usr/include/php5/ext/standard/php_string.h:128:13: note: expected 'size_t *' but argument is of type 'unsigned int *'
/tmp/pear/temp/zip/php_zip.c:187:7: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:187:7: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c:187:7: note: each undeclared identifier is reported only once for each function it appears in
/tmp/pear/temp/zip/php_zip.c:241:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_add_file':
/tmp/pear/temp/zip/php_zip.c:291:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:291:6: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_glob':
/tmp/pear/temp/zip/php_zip.c:532:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:532:6: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_pcre':
/tmp/pear/temp/zip/php_zip.c:594:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:594:6: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_get_property_ptr_ptr':
/tmp/pear/temp/zip/php_zip.c:840:3: error: too few arguments to function 'std_hnd->get_property_ptr_ptr'
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_read_property':
/tmp/pear/temp/zip/php_zip.c:883:3: error: too few arguments to function 'std_hnd->read_property'
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_has_property':
/tmp/pear/temp/zip/php_zip.c:932:3: error: too few arguments to function 'std_hnd->has_property'
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_object_new':
/tmp/pear/temp/zip/php_zip.c:1044:51: error: 'zend_class_entry' has no member named 'default_properties'
/tmp/pear/temp/zip/php_zip.c: In function 'zif_zip_open':
/tmp/pear/temp/zip/php_zip.c:1147:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:1147:6: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c: In function 'c_ziparchive_open':
/tmp/pear/temp/zip/php_zip.c:1436:6: error: 'struct _php_core_globals' has no member named 'safe_mode'
/tmp/pear/temp/zip/php_zip.c:1436:6: error: 'CHECKUID_CHECK_FILE_AND_DIR' undeclared (first use in this function)
/tmp/pear/temp/zip/php_zip.c: In function 'php_zip_add_from_pattern':
/tmp/pear/temp/zip/php_zip.c:1636:10: warning: passing argument 6 of 'php_basename' from incompatible pointer type [enabled by default]
/usr/include/php5/ext/standard/php_string.h:128:13: note: expected 'size_t *' but argument is of type 'unsigned int *'
/tmp/pear/temp/zip/php_zip.c: In function 'zm_startup_zip':
/tmp/pear/temp/zip/php_zip.c:2580:43: warning: assignment from incompatible pointer type [enabled by default]
/tmp/pear/temp/zip/php_zip.c:2583:36: warning: assignment from incompatible pointer type [enabled by default]
/tmp/pear/temp/zip/php_zip.c:2584:35: warning: assignment from incompatible pointer type [enabled by default]
make: *** [php_zip.lo] Ошибка 1
ERROR: `make' failed
running: make
/bin/bash /tmp/pear/temp/pear-build-rootGnDEG3/zip-1.10.2/libtool --mode=compile cc -I. -I/tmp/pear/temp/zip -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootGnDEG3/zip-1.10.2/include -I/tmp/pear/temp/pear-build-rootGnDEG3/zip-1.10.2/main -I/tmp/pear/temp/zip -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zip/php_zip.c -o php_zip.lo
libtool: compile: cc -I. -I/tmp/pear/temp/zip -DPHP_ATOM_INC -I/tmp/pear/temp/pear-build-rootGnDEG3/zip-1.10.2/include -I/tmp/pear/temp/pear-build-rootGnDEG3/zip-1.10.2/main -I/tmp/pear/temp/zip -I/usr/include/php5 -I/usr/include/php5/main -I/usr/include/php5/TSRM -I/usr/include/php5/Zend -I/usr/include/php5/ext -I/usr/include/php5/ext/date/lib -DHAVE_CONFIG_H -g -O2 -c /tmp/pear/temp/zip/php_zip.c -fPIC -DPIC -o .libs/php_zip.o
In file included from /tmp/pear/temp/zip/php_zip.c:30:0:
/usr/include/php5/ext/pcre/php_pcre.h:29:18: fatal error: pcre.h: No such file or directory
compilation terminated.
make: *** [php_zip.lo] Ошибка 1
ERROR: `make' failed
Да, к сожалению, не https
Хотелось бы не получить результат, подключением сторонних библиотек, а всё таки самому дойти до этого и сделать. Конечно, не лучший вариант для продакшн, но всё же…