1 (edited by bigwombat 2014-11-02 04:48:07)

Topic: PHP packages, request to add symlink in /usr/bin to php-cgi

Hi Remi,

Thanks for maintaining this grep repo. Fantastic!

This is just a small request. Are you able to include a symlink to the php-cgi for each version? Currently, I have to create these manually after installing php55 or php56 packages when installed as a Software Collection.

For PHP 5.5:
/usr/bin/php55-cgi -> /opt/remi/php55/root/usr/bin/php-cgi

For PHP 5.6:
/usr/bin/php56-cgi -> /opt/remi/php56/root/usr/bin/php-cgi

Each package already creates symlinks for the PHP binary, php-pear and php-phar. I need the php-cgi symlink as we run PHP using fcgi.

This would also make the remi repository compatible with the http://virtualmin.com project. Making it easier to use for more users worldwide.

Thanks again for all your work, much appreciated!

Re: PHP packages, request to add symlink in /usr/bin to php-cgi

The symlink will be add in next build (5.5.19, 5.6.3 in 2 weeks, probably also 5.4.35)

5.4: https://github.com/remicollet/remirepo/ … 6bec4R1207
5.5: https://github.com/remicollet/remirepo/ … 066dbR1331
5.6: https://github.com/remicollet/remirepo/ … eb433R1345

I haven't add those, because I was thinking there is no more real use case for php-cgi which seems a bit deprecated... (FastCGI and php-fpm is so better)

Notice: those symlinks doesn't exists in official (RHSCL) collections.

Remi.

Desktop: Fedora 25 x86_64 + rpmfusion + remi-test + remi-dev
Laptop:  Fedora 26 x86_64 + remi (SCL only)
Hosting Server: CentOS 6.9 x86_64 + EPEL + remi + remi-php70

Re: PHP packages, request to add symlink in /usr/bin to php-cgi

Thank you Remi. You are a legend!

> I haven't add those, because I was thinking there is no more real use case for php-cgi which seems a bit deprecated... (FastCGI and php-fpm is so better)

Actually, I am using mod_fcgid, "FastCGI interface module for Apache 2"

Using the FastCGI/FCGI module still requires access to the php-cgi binary. Which is why the symlink was required (so thanks for making that small change).

Just in case you're interested, here's a page describing how to set it up, http://www.cyberciti.biz/tips/rhel-cent … ation.html

Best wishes from Australia!