web

Дата: 20/11/2009 21:51:18Обсудить (0)

Проблемы с memcache после обыновления PHP

Подписаться на комментарии по RSS

Fatal error: Uncaught exception 'Zend_Cache_Exception' with message 'The memcache extension must be loaded for using this backend !' in /site/classes/lib/external/DklabCache/Zend/Cache.php:141 Stack trace: #0 /site/classes/lib/external/DklabCache/Zend/Cache/Backend/Memcached.php(97): Zend_Cache::throwException('The memcache ex...') #1 /site/classes/modules/sys_cache/Cache.class.php(76): Zend_Cache_Backend_Memcached->__construct(Array) #2 /site/classes/engine/Engine.class.php(68): LsCache->Init() #3 /site/classes/engine/Router.class.php(99): Engine->InitModules() #4 /site/index.php(31): Router->Exec() #5 {main} thrown in /site/classes/lib/external/DklabCache/Zend/Cache.php on line 141

После обновления ПЫХПЫХ возникла пробелма которая выше… Решается обновлением pecl-memcache

Метки: | |

Дата: 20/11/2009 21:49:09Обсудить (0)

ISPConfig не видет MySQL

Подписаться на комментарии по RSS

Please enter your MySQL server:localhost
The MySQL server you specified cannot be reached!
Please enter your MySQL server:192.168.0.1
The MySQL server you specified cannot be reached!
Please enter your MySQL server:name.server
The MySQL server you specified cannot be reached!
Please enter your MySQL server:127.0.0.1
The MySQL server you specified cannot be reached!

Запуск производился в jail… путем поиска проблемы в коде было найдено, что проверяется сервер пигами.

%sudo sysctl security.jail.allow_raw_sockets=1
security.jail.allow_raw_sockets: 0 -> 1

Метки: | | | |

Дата: 20/11/2009 21:47:47Обсудить (0)

PHP ругается на индуса

Подписаться на комментарии по RSS

/usr/local/include/apache22/http_log.h:350: error: expected ')' before 'void'
In file included from /usr/ports/lang/php5/work/php-5.2.11/sapi/apache/php_apache_http.h:63,
                 from /usr/ports/lang/php5/work/php-5.2.11/sapi/apache/sapi_apache.c:24:
/usr/local/include/apache22/util_script.h:90: error: expected declaration specifiers or '...' before 'apr_file_t'
/usr/local/include/apache22/util_script.h:104: error: expected declaration specifiers or '...' before 'apr_bucket_brigade'
/usr/ports/lang/php5/work/php-5.2.11/sapi/apache/sapi_apache.c: In function 'apache_php_module_main':
/usr/ports/lang/php5/work/php-5.2.11/sapi/apache/sapi_apache.c:44: error: 'NOT_FOUND' undeclared (first use in this function)
/usr/ports/lang/php5/work/php-5.2.11/sapi/apache/sapi_apache.c:44: error: (Each undeclared identifier is reported only once
/usr/ports/lang/php5/work/php-5.2.11/sapi/apache/sapi_apache.c:44: error: for each function it appears in.)
*** Error code 1

Проблема была в версии Apache, лечиться пересборкой без спец патчей

Метки: |

Дата: 20/11/2009 21:19:29Обсудить (0)

Маскировка веб серверов

Подписаться на комментарии по RSS

Небольшой веселый патчик

(адско извращенный метод)

Apache:Далее...

Метки: | |