31

Теперь

portupgrade -f *php5*

32

pkg2ng
Converting packages from /var/db/pkg
Analysing shared libraries, this will take a while... 
Checking all packages: 100%

Сделал

 make install FORCE_PKG_REGISTER=1 

вообще никаких сообщений

33

pitdron пишет:

Теперь

portupgrade -f *php5*

portupgrade -f *php5*
portupgrade: No match.

34

Я сделал deinstal php55 и попробовал поставить php53

make install clean
===>  Installing for php53-5.3.29_2
===>   php53-5.3.29_2 depends on file: /usr/local/sbin/apxs - found
===>   php53-5.3.29_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===>   php53-5.3.29_2 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.2)
===>  Checking if php53 already installed
===>   Registering installation for php53-5.3.29_2
pkg-static: php53-5.3.29_2 conflicts with mod_php55-5.5.19 (installs files into the same place).  Problematic file: /usr/local/libexec/apache24/libphp5.so
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***************************************************************

*** Error code 70

Stop.
make[1]: stopped in /usr/ports/lang/php53
*** Error code 1

Stop.

35

А так вроде установился

/usr/ports/www/mod_php55 # make deinstall
===>  Deinstalling for mod_php55
===>   Deinstalling mod_php55-5.5.19
Checking integrity... done (0 conflicting)
Deinstallation has been requested for the following 1 packages (of 0 packages in the universe):

Installed packages to be REMOVED:
    mod_php55-5.5.19

The operation will free 3 MB.
[preparing module `php5' in /usr/local/etc/apache24/httpd.conf]
[1/1] Deleting mod_php55-5.5.19: 100%
root@sprinter:/usr/ports/www/mod_php55 # cd /usr/ports/lang/php53
root@sprinter:/usr/ports/lang/php53 # make install clean
===>  Installing for php53-5.3.29_2
===>   php53-5.3.29_2 depends on file: /usr/local/sbin/apxs - found
===>   php53-5.3.29_2 depends on shared library: libpcre.so - found (/usr/local/lib/libpcre.so.3)
===>   php53-5.3.29_2 depends on shared library: libxml2.so - found (/usr/local/lib/libxml2.so.2.9.2)
===>  Checking if php53 already installed
===>   Registering installation for php53-5.3.29_2
[activating module `php5' in /usr/local/etc/apache24/httpd.conf]
***************************************************************

Make sure index.php is part of your DirectoryIndex.

You should add the following to your Apache configuration file:

AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps

***************************************************************

===> SECURITY REPORT: 
      This port has installed the following files which may act as network
      servers and may therefore pose a remote security risk to the system.
/usr/local/libexec/apache24/libphp5.so
/usr/local/bin/php
/usr/local/bin/php-cgi

      If there are vulnerabilities in these programs there may be a security
      risk to the system. FreeBSD makes no guarantee about the security of
      ports included in the Ports Collection. Please type 'make deinstall'
      to deinstall the port if this is a concern.

      For more information, and contact details about the security
      status of this software, see the following webpage: 
http://www.php.net/
===>  Cleaning for pkg-1.3.8_3
===>  Cleaning for php53-5.3.29_2

36 (28.11.2014 13:18:07 отредактировано Plintus)

Но опять те же яйца только в профиль ab
[

Fri Nov 28 12:06:00.687663 2014] [mpm_prefork:notice] [pid 72222] AH00169: caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/session.so' - Cannot open "/usr/local/lib/php/20090626/s$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mbstring.so' - Cannot open "/usr/local/lib/php/20090626/$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xml.so' - Cannot open "/usr/local/lib/php/20090626/xml.s$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/xmlrpc.so' - Cannot open "/usr/local/lib/php/20090626/xm$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mysql.so' - Cannot open "/usr/local/lib/php/20090626/mys$
PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/20090626/mysqli.so' - Cannot open "/usr/local/lib/php/20090626/my$
[Fri Nov 28 12:06:01.419501 2014] [mpm_prefork:notice] [pid 73033] AH00163: Apache/2.4.10 (FreeBSD) PHP/5.3.29 with Suhosin-Patch configured -- resu$
[Fri Nov 28 12:06:01.419890 2014] [core:notice] [pid 73033] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'

А директории для  20090626/ вообще нет, осталась только 20121212/  от php 55  но зато в 53 есть окошечко в конфиге дла подключения апача ag
Может у кого-то есть  таблица совместимости версий php с апачем?

37

В общем получилась каша

portversion -v | grep php
[Reading data from pkg(8) ... - 71 packages found - done]
php53-5.3.29_2              =  up-to-date with port 
php55-mbstring-5.5.19       =  up-to-date with port 
php55-mysql-5.5.19          =  up-to-date with port 
php55-mysqli-5.5.19         =  up-to-date with port 
php55-session-5.5.19        =  up-to-date with port 
php55-xml-5.5.19            =  up-to-date with port 
php55-xmlrpc-5.5.19         =  up-to-date with port 

38

php53 не делает директорию /usr/local/lib/php/20090626 которая нужна апачу . Он формирует только buid
http://savepic.ru/6378841m.png

39

В общем я удалил с помощью pkg delete все остатки php55 переустановил php53 И всё заработало  bi

[Fri Nov 28 13:37:34.811549 2014] [mpm_prefork:notice] [pid 1071] AH00169: caught SIGTERM, shutting down
[Fri Nov 28 13:37:35.538611 2014] [mpm_prefork:notice] [pid 76780] AH00163: Apache/2.4.10 (FreeBSD) PHP/5.3.29 with Suhosin-Patch configured -- resu$
[Fri Nov 28 13:37:35.539004 2014] [core:notice] [pid 76780] AH00094: Command line: '/usr/local/sbin/httpd -D NOHTTPACCEPT'

Только вот posfixadmin почему то не в обычной форме

http://savepic.org/6556154m.png

Как его к нормальному виду привести?

40 (28.11.2014 15:40:49 отредактировано Plintus)

Ура товарищи. С php53 всё заработало . Всем спасибо за терпение bo
http://savepic.org/6566384m.png