This is Gentoo's testing wiki. It is a non-operational environment and its textual content is outdated.
Please visit our production wiki at https://wiki.gentoo.org
Talk:PHP
This is a talk page. Please add newer comments below older ones, and sign your comments using four tildes (
~~~~
).
When adding a new section (at the bottom of the page), please mark it as "open for discussion" by using {{talk|open}}
so it will show up in the list of open discussions.Unknown error
I can't figure out this silly formatting language, but when you remove php 5.4, you need the -C flag. It isn't showing up in the browser. — The preceding unsigned comment was added by Hnaparst (talk • contribs) 13:35, 15 August 2013
some things
we should denote that php.ini controls which sendmail binary & flags used for php applications that use php mail functions.
we should denote php handlers strengths and weaknesses. more than just fpm. there are tables of this.
we should note setting date.timezone = in php.ini
http://php.net/manual/en/timezones.php
we should recommend suPHP for security as Harvard does. 666threesixes666 (talk) 06:23, 16 August 2014 (UTC)
PHP USE flag
I put "php" USE flag into make.conf and did 'emerge --newuse @world' but dev-lang/php does not pulled automatically at all. Why? --Best, Pál (talk) 19:03, 28 March 2016 (UTC)
Moreover, the command 'emerge --newuse @world:' gives 'emerge: There are no sets to satisfy 'world:'.' So it would be better to remove the colon from the end. --Best, Pál (talk) 04:32, 29 March 2016 (UTC)
- The
php
USE flag only affects packages that consume it. The USE flag alone does not trigger package installations. However, your command looks to be too shallow to search the entire installation. - A more likely command to work is:
root #
emerge --ask --newuse --deep @world
- This assumes you have a package which consumes the flag. I will add a general installation soon. --Grknight (talk) 17:55, 7 November 2018 (UTC)
mod_fastcgi.conf
If I follow the Wiki and change the default code in "/etc/lighttpd/mod_fastcgi.conf"
from
"socket" => "/var/run/lighttpd/lighttpd-fastcgi-php-" + PID + ".socket", "bin-path" => "/usr/bin/php-cgi"
to
"host" => "127.0.0.1", "port" => "9000"
my test page containing:
<?php echo "Hier ist PHP!" ?>
yields an error:
File not found
in my browser. When I use the original code I get the desired php output. Whats wrong with the wiki code/what am I doing wrong? --Pauledd (talk) 09:08, 9 October 2017 (UTC)