How to create a PHP file on Linux.
Solved
Probleme546
Posted messages
30
Status
Member
-
zipe31 Posted messages 34620 Registration date Status Contributor Last intervention -
zipe31 Posted messages 34620 Registration date Status Contributor Last intervention -
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
re
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)
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)
Re-
I launched nano (
Then I saved it and ran a simple
So without any extension, it’s recognized.
To go further, I then launched
So I don't see what changes regarding our friend Probleme546 ;-\
I launched nano (
nano test) and pasted:
<?php
// the simplest form, recommended
echo 'Hello World';
?>
Then I saved it and ran a simple
file testwhich returned:
$ file test
test: PHP script, UTF-8 Unicode text
So without any extension, it’s recognized.
To go further, I then launched
gedit test, which gave me:
So I don't see what changes regarding our friend Probleme546 ;-\
Well yes, otherwise why would I mention it to you
see you later
But can you explain to me how to do it...
Please
Just like on Windows, you open the editor (gedit in this case) and you code, that's it!