How to create a PHP file on Linux.
Solved
Hello,
how to create php files on Linux;
Like on Windows with Notepad.
Please
Configuration: Linux / Chrome 42.0.2311.152
how to create php files on Linux;
Like on Windows with Notepad.
Please
Configuration: Linux / Chrome 42.0.2311.152
2 answers
-
ContributorHello
There's better, gedit for example..
cya
--
FC 19 - Mandriva 2010 -Debian 6.0-
The best things require patience. (JC ANGLADE)-
-
-
-
Contributor@Probleme546Hello,
Just like on Windows, you open the editor (gedit in this case) and you code, that's it! -
-
-
Contributorre
if you save it with the php extension, it will be automatically completed by gedit
a+
FC 19 - Mandriva 2010 -Debian 6.0-
The best things require patience. (JC ANGLADE)-
-
ContributorRe-
I launched nano (nano test
) and pasted:<?php
// the simplest form, recommended
echo 'Hello World';
?>
Then I saved it and ran a simplefile test
which returned:$ file test
test: PHP script, UTF-8 Unicode text
So without any extension, it’s recognized.
To go further, I then launchedgedit test
, which gave me:
So I don't see what changes regarding our friend Probleme546 ;-\ -
-
Contributor@Probleme546
I don't have the same gedit.
Yes, it's just a matter of theme (Edit => Preferences => "Fonts and Colors" tab => Oblivion)
-