Hy,
I'm getting an issue when I'm doing a file
on some .php files on apache2 Vhost.
Here is the problem:
# file *.php
file1.php: PHP script, UTF-8 Unicode text, with very long lines
file2.php: PHP script, UTF-8 Unicode text, with very long lines
file3.php: HTML document, UTF-8 Unicode text, with very long lines
Any ideas on why the system (RHEL) doesn't see file3.php as PHP script ?
# head file3.php
<?
include("./some/files.php");
$var="";
$var = "select var, var from vars order by 2";
$var = var($var,$var);
while ($var = @var($var))
{ var($var) ;
$var .= "\"".$var."\"," ;
I've changed <?
to <?php
but nothing has changed.
php -v
PHP 5.4.16 (cli)
file
output that bothers you? If this is not your actual issue, you should post a new question with a detailed explanation of your problem.file
command that I don't understand.