components/php-common/php.1.sunman
changeset 934 f44530931819
parent 846 fe258446a1ae
child 962 806caf7d29bc
equal deleted inserted replaced
933:fbf8e08af1f1 934:f44530931819
    95 .PP
    95 .PP
    96 If you wish to build and install PHP add-on modules from PECL,
    96 If you wish to build and install PHP add-on modules from PECL,
    97 you can do so using the phpize script  -  see phpize(1) for
    97 you can do so using the phpize script  -  see phpize(1) for
    98 details.
    98 details.
    99 .PP
    99 .PP
   100 Solaris 11 Update 1 ships with PHP 5.2.17 and 5.3.10.
   100 Solaris ships with PHP 5.2.17 and 5.3.14.
   101 To install PHP 5.2.17 use the pkg(1) command:
   101 To install PHP 5.2.17 use the pkg(1) command:
   102 .PP
   102 .PP
   103 pkg install web/php-52 web/server/apache-22/module/apache-php52
   103 pkg install web/php-52 web/server/apache-22/module/apache-php52
   104 .PP
   104 .PP
   105 To install PHP 5.3.10:
   105 To install PHP 5.3.14:
   106 .PP
   106 .PP
   107 pkg install web/php-53 web/server/apache-22/module/apache-php53
   107 pkg install web/php-53 web/server/apache-22/module/apache-php53
       
   108 .PP
       
   109 Documentation is separate:
       
   110 .PP
       
   111 pkg install web/php-53/documentation
   108 .PP
   112 .PP
   109 To set the default version of PHP change the pkg mediator value:
   113 To set the default version of PHP change the pkg mediator value:
   110 .PP
   114 .PP
   111 pkg set-mediator -V 5.3 php
   115 pkg set-mediator -V 5.3 php
   112 .PP
   116 .PP