Talk:PHP
Before creating a discussion or leaving a comment, please read about using talk pages. To create a new discussion, click here. Comments on an existing discussion should be signed using
~~~~
:
A comment [[User:Larry|Larry]] 13:52, 13 May 2024 (UTC) : A reply [[User:Sally|Sally]] 11:37, 5 November 2024 (UTC) :: Your reply ~~~~
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
- 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, eix now uses the -C flag. --Blacki (talk) 01:03, 15 July 2022 (UTC)
some things
Tip: To get this fixed sooner, use {{Proposal}}.
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)