atomic-php 5.4 and 5.5 SCL packages

Atomic repository announcements, new release notifications and other news regarding the atomic yum repository.
scott
Atomicorp Staff - Site Admin
Atomicorp Staff - Site Admin
Posts: 8330
Joined: Wed Dec 31, 1969 8:00 pm
Location: earth
Contact:

atomic-php 5.4 and 5.5 SCL packages

Unread post by scott »

Just published to the Atomic repo, these packages were designed to work with Plesk's new multi-php system that allows you to use FCGI/CGI to implement different versions of PHP on the domain level.

The atomic-phpXX packages will coexist with the standard php-X.X.X packages on the system, by installing under the /opt/atomic/ tree. For more information on how you can take advantage of the Software Collections functions in Redhat based distributions: https://access.redhat.com/site/document ... index.html

For plesk users, the following is from the Plesk documentation:

Code: Select all

/usr/local/psa/bin/php_handler --add -displayname <NN> -path <path to php cgi> -phpini <path to php.ini> -type <php handler> -id <NN-custom>

-displayname <NN> is the PHP version name that will be shown in the Panel UI. We recommend that you include the version number in the displayname, for example, you can name the version "5.3.3-custom".

-path <path to php cgi>i is the location of the PHP CGI binary file. You can find this in the output of the command make install in the line Installing PHP CGI binary. For example, if you see the line Installing PHP CGI binary: /usr/local/bin/, the location you need to specify is /usr/local/bin/php-cgi. Learn more at http://php.net/manual/en/install.unix.commandline.php.

-phpini <path to php.ini> is the location of the php.ini file, for example, /some/path/php.ini .

-type <php handler> is the type of the PHP handler associated with this version. Learn more about PHP handlers in the section PHP Handlers.

(Optional) -id <NN-custom> is the identifier that you will use for referring to this PHP version when adjusting or removing it.
Post Reply