Talk:PHP

From Gentoo Wiki
Jump to: navigation, search

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.

some things

Talk status
This discussion is still ongoing.

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)

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)

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)