View previous topic :: View next topic |
Author |
Message |
bdronka n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Jan 2015 Posts: 15
|
Posted: Thu Mar 14, 2024 12:21 pm Post subject: Where is executable file php? |
|
|
Hello,
I have php-8.2.15 installed.
I want to run the command php -f cron.php unfortunately on a system where there is no executable php file. How else can I run this command? Has something changed, that the old system has php and not the new one? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
grknight Retired Dev
![Retired Dev Retired Dev](/images/ranks/rank-retired.gif)
Joined: 20 Feb 2015 Posts: 1744
|
Posted: Thu Mar 14, 2024 12:31 pm Post subject: |
|
|
Please show emerge --info dev-lang/php:8.2 as well as eselect php list cli |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
szatox Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 27 Aug 2013 Posts: 3203
|
Posted: Thu Mar 14, 2024 12:36 pm Post subject: |
|
|
Php can run in different modes. If php executable means command line interpreter, you must build it with USE="cli".
I think dynamic websites are a much more common use case, and this requires USE="cgi" or "apache" or whatever. Bottom line: php has a lot of modules to chose from, and selected USE flags determine which modules are actually installed on your system. _________________ Make Computing Fun Again |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
bdronka n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 22 Jan 2015 Posts: 15
|
Posted: Thu Mar 14, 2024 1:36 pm Post subject: |
|
|
Thank you shatox, everything works) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|