Re: php55w-fpm on CentOS 7: settings location

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On Wed, August 3, 2016 14:19, Always Learning wrote:
>
> On Wed, 2016-08-03 at 13:55 -0400, Jason Welsh wrote:
>
>> What I do is create a  php.php file on the root of my fileserver
>> with
>> the following
>>
>> <?php phpinfo() ?>
>
> I use a text command: php -i
>
>
>

php -i > php-i.txt
echo '<?php phpinfo() ?>' | php > php-echo.txt

diff php-i.txt php-echo.txt
709,710c709,710
< _SERVER["PHP_SELF"] =>
< _SERVER["SCRIPT_NAME"] =>
---
> _SERVER["PHP_SELF"] => -
> _SERVER["SCRIPT_NAME"] => -
714c714
< _SERVER["REQUEST_TIME"] => 1470317489
---
> _SERVER["REQUEST_TIME"] => 1470317531
716a717
>     [0] => -
719c720
< _SERVER["argc"] => 0
---
> _SERVER["argc"] => 1


I do not see much to choose between them in terms of output and 'php
-i' is certainly handier when in a terminal session on the host.


-- 
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne                mailto:ByrneJB@xxxxxxxxxxxxx
Harte & Lyne Limited          http://www.harte-lyne.ca
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux