Может я задаю тривиальный вопрос но при загрузке нет окошка выбора апача
А после изменения галочек на этой картинке весь процесс заканчивается и переходит в командную строку и следующая картинка не появляется. Я Установил php5 ранее но почему-то он к апачу не прикрутился
/!\ WARNING /!\
!!! If you have a threaded Apache, you must build lang/php55 with ZTS support to enable thread-safety in extensions !!!
И
text
+--------------------------------------------------------------------+
| *** WARNING *** |
| |
| You have built PHP for Apache's current non-threaded MPM. |
| If you change Apache to use a threaded MPM you must reconfigure |
| PHP with --enable-maintainer-zts |
+--------------------------------------------------------------------+
| License: |
| This software is subject to the PHP License, available in this |
| distribution in the file LICENSE. By continuing this installation |
| process, you are bound by the terms of this license agreement. |
| If you do not agree with the terms of this license, you must abort |
| the installation process at this point. |
+--------------------------------------------------------------------+
Смотрите как у вас собран Apache, если он собран с опцией MPM_PREFORK_DESC то ничего не нужно делать, а если нет - то необходимо пересобрать php с ZTS.
Вроде установился. Спасибо. Но у меня собственно говоря опять почему-то postfixadmin не видится из браузера хотя сам апач работает и postfixadmin установлен из портов
/
text
usr/local/etc/rc.d/apache24 restart
Performing sanity check on apache24 configuration:
Syntax OK
Stopping apache24.
Waiting for PIDS: 1070.
Performing sanity check on apache24 configuration:
Syntax OK
Starting apache24.
Вроде установился. Спасибо. Но у меня собственно говоря опять почему-то postfixadmin не видится из браузера хотя сам апач работает и postfixadmin установлен из портов
а пыха точно работает?
с правами на каталог все ок?
phpinfo что говорит?
[quote="Plintus"]
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/session.so' - Cannot open "/usr/local/lib/php/20121212/s$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/mbstring.so' - Cannot open "/usr/local/lib/php/20121212/$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/xml.so' - Cannot open "/usr/local/lib/php/20121212/xml.s$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/xmlrpc.so' - Cannot open "/usr/local/lib/php/20121212/xm$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/mysql.so' - Cannot open "/usr/local/lib/php/20121212/mys$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/mysqli.so' - Cannot open "/usr/local/lib/php/20121212/my$
Похоже что mod_php собран с zts, а сам php без. Пересоберите чтоб было одинаково, или не будет работать php.[/quote]
что конкретно сделать? Переустановить php5 ? Я его уже 3 раза переустанавливал.
Идете в /usr/ports/lang/php55
Делаете make config и устанавливаете флаг zts
Идете в /usr/ports/www/mod_php55
Делаете make config и устанавливаете флаг zts
Идете в /usr/ports/ports-mgmt/portupgrade
Делаете make install clean
После чего запускаете
portupgrade -f *php5*
Я заметил что каталога, на который ссылается система /usr/local/lib/php/20121212/ не существует а есть /usr/local/lib/php/20121212-debug в котором эти библиотеки и находятся, я его ради интереса переименовал как надо и получил
[
text
Fri Nov 28 07:27:30.607820 2014] [mpm_prefork:notice] [pid 33021] AH00169: caught SIGTERM, shutting down
PHP Warning: PHP Startup: session: Unable to initialize module\nModule compiled with build ID=API20121212,NTS,debug\nPHP compiled with build ID=$
PHP Warning: PHP Startup: mbstring: Unable to initialize module\nModule compiled with build ID=API20121212,NTS,debug\nPHP compiled with build ID$
PHP Warning: PHP Startup: xml: Unable to initialize module\nModule compiled with build ID=API20121212,NTS,debug\nPHP compiled with build ID=API2$
PHP Warning: PHP Startup: xmlrpc: Unable to initialize module\nModule compiled with build ID=API20121212,NTS,debug\nPHP compiled with build ID=A$
PHP Warning: PHP Startup: mysql: Unable to initialize module\nModule compiled with build ID=API20121212,NTS,debug\nPHP compiled with build ID=AP$
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20121212/mysqli.so' - /usr/local/lib/php/20121212/mysqli.so: Undefined$
[Fri Nov 28 07:27:31.515943 2014] [mpm_prefork:notice] [pid 34814] AH00163: Apache/2.4.10 (FreeBSD) PHP/5.5.19 configured -- resuming normal operati$
[Fri Nov 28 07:27:31.529552 2014] [core:notice] [pid 34814] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'
Выключите DEBUG и еще раз пересоберите через portupgrade -f *php5*
PS: php очень капризная вещь и если вы не знаете для чего вам соответствующая опция лучше ее не менять, а после изменения - необходимо полностью пересобирать вместе с модулями.