Talk:PHP

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 section mentioned ("Replacing PHP 5.4 with PHP 5.5") was since updated and moved to its own article (PHP/Upgrading_to_PHP_5.6). In particular, now uses the -C flag. --Blacki (talk) 01:03, 15 July 2022 (UTC)

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  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:
 * 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)
 * 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:  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)


 * Did you start the php-fpm service? Unfortunately, the wiki is not a good place for support. Please seek help in the forums or on our IRC channel. --Grknight (talk) 17:47, 7 November 2018 (UTC)