Topic: Change install folder
Hi,
I'm using a php.spec file of your repository. I want to change the default install folder to /usr/php55 and modules to lib64/php55. How can I make this?
Thanks!
Ps.: Your job it's very good!
You are not logged in. Please login or register.
Please STOP WAR NOW! | |
For proper configuration and installation, please use the Configuration Wizard |
Versions: PHP ≤ 8.0 is EOL - PHP 8.1.28 - PHP 8.2.18 - PHP 8.3.6
More information: #remirepo IRC channel - Twitter: @RemiRepository - Discord server
Remi's RPM repository - Forum → User support → Change install folder
Hi,
I'm using a php.spec file of your repository. I want to change the default install folder to /usr/php55 and modules to lib64/php55. How can I make this?
Thanks!
Ps.: Your job it's very good!
Use SCL packages, everything is already relocated and allow parallel installation.
More information:
* http://blog.famillecollet.com/pages/English-FAQ#scl
* http://blog.famillecollet.com/tag/SCL
I saw the websites but i don't know if the .rpm it's the better choise:
- I just need a change in the default install folder of the .spec file because I did many particular configurations.
I pulled the SCL git repo but I don't understood the code (where set the folder install).
Thanks for the help.
> I don't understood the code (where set the folder install).
Everything is magically relocated by scl-utils and php## metapackage.
Remi.
Thanks a lot.
I'll take a better look in SCL git repo. To construct rpm, I use php.spec of scl-php56/php?
I still don't understand what is your need and why you want to rebuild... but yes scl-php56 contains the sources for php 5.6 as a SCL.
Resume of what is my need:
Rebuild the package with a different install folder (/usr/php53 /usr/php54 /usr/php55 /usr/php56) and configurations that pass to me.
So, I'm looking for where is set the install folder in .spec file but I don't see.
Sorry, I still don't understand.
To provide some configuration files... just create a package of these configurations files... or simply use a puppet/ansible/chief/whatever script.
And sorry but I don't think I can help more.
I can help people using my package, not people wanting some change to suite strange needs.
The configurations are OK in the .spec file (I edited your package). Only that I need it's understand where I edit to change the install folder of php in .spec file in your package.
The SCL pacakge installs on different folder but I need a simple solution: change the default folder of instalation in your package direct in .spec file of it.
Sorry of the low knowledge but I'm new in this world.
Hi again,
Reformulating the question: if I want to install php in another directory that not the default (/usr/bin/php), using your php.spec file to build the package, is that possible?
Thanks.
Remi's RPM repository - Forum → User support → Change install folder
Generated in 0.005 seconds (66% PHP - 34% DB) with 10 queries
Powered by PunBB, supported by Informer Technologies, Inc.
Currently installed 2 official extensions. Copyright © 2003–2009 PunBB.