Aller au contenu

tyd01

Membres
  • Compteur de contenus

    7
  • Inscription

  • Dernière visite

Tout ce qui a été posté par tyd01

  1. Bonjour, je me sers d'un synology (DS415+, DSM DSM 6.0-7321 upgrade 2) pour heberger un site web. J'ai configurer Web station pour utiliser Apache pourtant j'ai des erreurs "504 Gateway Time-out nginx" qui apparaissent. J'ai vérifier quel est le serveur http utilisé avec un phpinfo(), c'est bien Apache. Alors comment je peux me retrouver avec des erreurs de nginx ? PS : je profite de ce post pour poser une autre question, est-il possible de modifier la variable max_execution_time de php ?
  2. en passant par un lecteur reseau je vais à 12 Mo/s
  3. Bonjour, 3 Mo/s (en passant par l'interface web => charger) source : 15~18%, destination : 43~45% exactement 1000mbps duplex complet, MTU 1500
  4. Mes NAS sont un DS214+ et un RS814, Pour faire mes tests, j'ai utilisé des fichiers de films (pour avoir rapidement un volume significatif) mais je rencontre le même problème avec des fichiers de type bureautique ( fichiers textes, tableaux, images, etc...) Je vais faire un test de PC a NAS pour mesurer la vitesse de transfert.
  5. Oui, c'était activé, je viens de relancer un test sans. Je donnerais le resultat dans un moment. UPDATE : après 45 mn, j'ai une vitesse de transfert moyenne de 7,5 Mo/s. Merci du conseil bagou91, mais je trouve que c'est encore lent. Sur un transfert en réseau local, on devrait aller beaucoup plus vite non ?
  6. Bonjour, j'ai 2 NAS synology sur le même réseau, je lance une sauvegarde de l'un vers l'autre en utilisant l'application de base de DSM "sauvegarde et réplication". Tout fonctionne mais la vitesse est de 4 Mo/s. Je n'ai pas de limite de vitesse (ni pour l'application, ni pour les comptes utilisateurs). Les deux NAS sont reliés entre eux par un switch 1GB. Alors pourquoi ça ne va pas plus vite ? J'ai également essayer de monter mon dossier de destination comme dossier distant sur le NAS source et de lancer un copier coller. Dans ce cas je tourne entre 9 et 10 Mo/s, ce n'est pas très rapide non plus et ça ne fait pas de differentiel donc cette solution n'est pas envisageable.
  7. Bonjour, après avoir passé des jours à mettre au point un script en PHP, je m'aperçoit au moment de la mise en prod qu'il me manque l'extension php_pdo_odbc sur la version de PHP d'origine de mon synology. Je n'ai pas trouvé de solution pour installer une version de PHP avec toutes les extensions à partir d'ipkg, j'ai donc décider de la compiler moi-même (en tout cas l'extension qui m'interesse). J'ai installer unixodbc à l'aide d'ipkg mais quand je veux pré-build l'extension qui m'interesse (./configure --prefix=/opt --with-pdo-odbc=unixODBC,/opt), j'ai une erreur qui m'indique que la librairie ODBC n'existe pas : SYNOLOGY> ipkg list_installed apache - 2.2.20-1 - The most popular web server on the internet apr - 1.4.6-1 - Apache Portable Runtime library apr-util - 1.4.1-1 - Apache Portable Runtime utilities library autoconf - 2.69-1 - Creating scripts to configure source code packages using templates binutils - 2.19.1-1 - The GNU assembler and linker and related tools bzip2 - 1.0.6-1 - Very high-quality data compression program cyrus-sasl-libs - 2.1.23-2 - Provides client or server side authentication (see RFC 2222). e2fslibs - 1.40.3-5 - Ext2 Filesystem Libraries e2fsprogs - 1.40.3-5 - Ext2 Filesystem Utilities expat - 2.0.1-1 - XML Parser library gcc - 4.2.1-5 - The GNU Compiler Collection. gdbm - 1.8.3-4 - GNU dbm is a set of database routines that use extensible hashing. It works similar to the standard UNIX dbm routines. libc-dev - 2.3.6-5 - libc development files. libdb - 4.2.52-3 - Berkeley DB Libraries libnsl - 2.3.6-4 - Network Services Library libstdc++ - 6.0.9-6 - Standard C++ library, needed for dynamically linked C++ programs libtool - 1.5.26-1 - Library tools. libxml2 - 2.7.8-1 - Libxml2 is the XML C parser and toolkit developed for the Gnome project. libxslt - 1.1.26-2 - An XML Stylesheet processor based on libxml2 m4 - 1.4.16-1 - gnu macro processor and compiler front end make - 3.82-1 - examines files and runs commands necessary for compilation ncurses - 5.7-3 - NCurses libraries openldap-libs - 2.3.43-2 - Open Lightweight Directory Access Protocol openssl - 0.9.8v-2 - Openssl provides the ssl implementation in libraries libcrypto and libssl, and is needed by many other applications and librari pcre - 8.31-1 - Perl-compatible regular expression library perl - 5.10.0-6 - Practical Extraction and Report Language. php - 5.2.17-2 - The php scripting language php-apache - 5.2.17-1 - The php scripting language, built as an apache module php-dev - 5.2.17-2 - php native development environment php-odbc - 5.2.17-2 - odbc extension for php psmisc - 22.17-1 - A set of some small useful utilities that use the proc filesystem. unixodbc - 2.2.14-1 - ODBC is an open specification for providing application developers with a predictable API with which to access Data Sources. zlib - 1.2.5-1 - zlib is a library implementing the 'deflate' compression system. Successfully terminated. SYNOLOGY> cd /volume1/homes/admin/php-5.5.18/ext/pdo_odbc/ SYNOLOGY> phpize Configuring for: PHP Api Version: 20041225 Zend Module Api No: 20060613 Zend Extension Api No: 220060519 configure.in:3: warning: prefer named diversions config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... aclocal.m4:2741: PHP_CHECK_PDO_INCLUDES is expanded from... config.m4:44: the top level configure.in:3: warning: prefer named diversions config.m4:44: warning: AC_CACHE_VAL(pdo_inc_path, ...): suspicious cache-id, must contain _cv_ to be cached ../../lib/autoconf/general.m4:2031: AC_CACHE_VAL is expanded from... ../../lib/autoconf/general.m4:2052: AC_CACHE_CHECK is expanded from... aclocal.m4:2741: PHP_CHECK_PDO_INCLUDES is expanded from... config.m4:44: the top level SYNOLOGY> ./configure --prefix=/opt --with-pdo-odbc=unixODBC,/opt checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for a sed that does not truncate output... /bin/sed expr: syntax error ash: 0: unknown operand expr: syntax error ash: 0: unknown operand expr: syntax error ash: 0: unknown operand expr: syntax error ash: 0: unknown operand expr: syntax error ash: 0: unknown operand checking for cc... no checking for gcc... gcc checking whether the C compiler works... yes checking for C compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking how to run the C preprocessor... gcc -E checking for icc... no checking for suncc... no checking whether gcc and cc understand -c and -o together... yes checking for system library directory... lib checking if compiler supports -R... no checking if compiler supports -Wl,-rpath,... yes checking build system type... x86_64-unknown-linux-gnu checking host system type... x86_64-unknown-linux-gnu checking target system type... x86_64-unknown-linux-gnu checking for PHP prefix... /opt checking for PHP includes... -I/opt/include/php -I/opt/include/php/main -I/opt/include/php/TSRM -I/opt/include/php/Zend -I/opt/include/php/ext -I/opt/include/php/ext/date/lib checking for PHP extension directory... /opt/lib/php/extensions checking for PHP installed headers prefix... /opt/include/php checking if debug is enabled... no checking if zts is enabled... no checking for re2c... no configure: WARNING: You will need re2c 0.13.4 or later if you want to regenerate PHP parsers. checking for gawk... no checking for nawk... no checking for awk... awk checking if awk is broken... no checking for ODBC v3 support for PDO... yes, shared checking for PDO includes... checking for PDO includes... /opt/include/php/ext checking for selected PDO ODBC flavour... unixODBC libs /opt/lib, headers /opt/include checking for odbc.h in /opt/include... no checking for odbcsdk.h in /opt/include... no checking for iodbc.h in /opt/include... no checking for sqlunix.h in /opt/include... no checking for sqltypes.h in /opt/include... yes checking for sqlucode.h in /opt/include... yes checking for sql.h in /opt/include... yes checking for isql.h in /opt/include... no checking for sqlext.h in /opt/include... yes checking for isqlext.h in /opt/include... no checking for udbcext.h in /opt/include... no checking for sqlcli1.h in /opt/include... no checking for LibraryManager.h in /opt/include... no checking for cli0core.h in /opt/include... no checking for cli0ext.h in /opt/include... no checking for cli0cli.h in /opt/include... no checking for cli0defs.h in /opt/include... no checking for cli0env.h in /opt/include... no checking for SQLBindCol in -lodbc... no configure: error: Your ODBC library does not exist or there was an error. Check config.log for more information Que dois-je faire de plus pour pouvoir compiler correctement mon fichier ?
×
×
  • Créer...

Information importante

Nous avons placé des cookies sur votre appareil pour aider à améliorer ce site. Vous pouvez choisir d’ajuster vos paramètres de cookie, sinon nous supposerons que vous êtes d’accord pour continuer.