|
|
ru.unix.bsd- RU.UNIX.BSD ------------------------------------------------------------------ From : Victor Prylipko 2:4635/4 05 Aug 2004 11:39:07 To : Demin Alexander Subject : Re^2: php and session -------------------------------------------------------------------------------- Thursday, August 05 2004 10:40, Demin Alexander wrote to Victor Prylipko: >> 2. у меня в старом php.ini была строка: >> extension_dir = ./ >> >> после того как ее закоментировал все экстеншины заработали. DA> Её не надо "коментировать", а надо полный путь к extansions прописать DA> и забыть об этом. Я на это нарвался когда только только порт php DA> разнесли. 1. У меня с закоментированным все работает. 2. Экстеншины лежат в директории со странным именем 20020429, которое прописано в /usr/local/etc/php.conf После обновления версии возможно, что директория экстеншинов изменится, но порт, imho, сам поправит /usr/local/etc/php.conf и все сразу заработает. А в твоем варианте снова прийдется править php.ini. 3. Как оказалось рецепт описан в /usr/ports/UPDATING: 20040719: AFFECTS: users of PHP AUTHOR: ale@FreeBSD.org The old lang/php4 and lang/php5 ports have been splitted into 'base' PHP, PEAR, and shared extensions to allow more flexibility and add new features. Upgrading your current PHP installation will result in a 'base' PHP installation (no PEAR and no extensions). PEAR can be found in the new devel/php4-pear and devel/php5-pear ports, while the set of PHP extensions to install can be choosen via the meta-ports lang/php4-extensions and lang/php5-extensions, or installing singular extensions individually. > If you have a previous php.ini configuration file, be sure to > comment out the extension_dir parameter, since the correct path is > statically compiled into the PHP binary. For an overview of the modules used with the old PHP binary, use the command "php -m". Victor, old-and-gray@old-and-gray.ck.ua old-and-gray@old-and-gray.cherkassy.ua --- Old & Gray, but Young * Origin: -> ChiBis Station (2:4635/4) Вернуться к списку тем, сортированных по: возрастание даты уменьшение даты тема автор
Архивное /ru.unix.bsd/14394111e557.html, оценка из 5, голосов 10
|