Topic: Custom PHP Repo

Hey I am totally new to Linux but I will try to explain what I need I will be very thankful if you can help me!!

I need a custom PHP repo, I mean custom PHP which is installed on a custom directory like /usr/local/myphp with ion cube loader I want to know how it is possible please help me thanks!

Re: Custom PHP Repo

/usr/local/ is only used by application build from sources by local users

You can try the software collection which are installed in /opt

1 directory per version, allowing multiple versions

Try the wizard (top right link on this page), using "multiple versions"
and ioncube loader is also available for all versions < 8


P.S. understanding you needs / goal will help a lot

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

3 (edited by mrhussnain 2021-03-11 06:10:29)

Re: Custom PHP Repo

/usr/local is not necessary it can be anything like /opt/myphp  & how to install it on a custom location?

Re: Custom PHP Repo

You cannot install it in custom location

Each version have its own path (by standard rules, in /opt/<vendor>/<project>)

php80-* in /opt/vendor/php80
php74-* in /opt/vendor/php74
php73-* in /opt/vendor/php73
etc


But again, understanding you needs / goal will help a lot

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi

Re: Custom PHP Repo

Actually, I saw one of my friends is installing it on a custom location but he doesn't want to share the procedure he has made his own repo data & rpm files can you guide me if you want I can pay you sad

Re: Custom PHP Repo

> can you guide me if you want I can pay you

You have to learn how to build RPM, this is a quite long way, lot of documentation exists.
And sorry, but don't have much free time

BTW, I still don't understand what problem you are trying to solve
and why using available RPM is not enough.

Laptop:  Fedora 38 + rpmfusion + remi (SCL only)
x86_64 builder: Fedora 39 + rpmfusion + remi-test
aarch64 builder: RHEL 9 with EPEL
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi