Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hello i am using ubuntu 9.10 .AS in window for html code we normally write it in notepad and execute it in browers but now i am using ubuntu . i wanna to create my website with php ,please tell where the php code is written in ubuntu , and how to execute it means how i can check output of my written php code ??///
Thanks
Write it wherever you want. Choose your favourite text editor. Joe, kate, emacs, vi, nedit, gedit, jedit... there are plenty to choose from! Hell, you can even just use
Code:
cat > myfile.php
if you really want!
And to run it - either set up apache (beyond the scope of what I have time to reply to here!) or upload to your web server.
By wherever I meant "in whatever text editor you want" which was in response to the comment "we normally write it in notepad ".
I always write my files in a separate place in my home directory and then copy them over when I'm ready - I don't like editing the master files on-line!
(1) There are lots of "programmer's editors" out there which have nice features like syntax-checking, syntax highlighting, and so on. Pick one that you like.
(2) It's certainly possible to run a PHP script from the command line, but usually PHP is part of a web browser. However, note that there are many web-browsers that are designed to be run (by developers...) right from your own session, without requiring an Apache install for example.
I suggest you surf to some PHP-oriented pages and have a look around. You'll be coding with the best of 'em in no time ...
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.