Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
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.
I am trying to upgrade PHP on our linux box ( CentOS ) I copied the configure command from the phpinfo and now I want to execute that.
I am not able to copy the command from an editor in linux to the command prompt, clicking the wheel om my mouse does not work, neither does shift-insert or ctrl-shift-insert.
It does work in the editor itself.
Is there a way to do this ?
Or is there a way to execute the command in linux while it is in the file ? Like a bat file on Windows ?
If you have compiled from source your current running php, then there is a config.nice executable you can copy in the new php sources directory and execute.
If not, i.e. you want to compile from sources the newer version using your distro's configure options, you can run
Code:
php -i |grep configure > build.sh
Then edit build.sh, remove "Configure Command => " and the simple quotes around ./configure and execute it from inside the php sources directory, like:
I echo markush, but all virtual terminals that I have used either support right-click->paste or edit->paste (on the terminal's toolbar) - have you tried either of these?
Well, I'm using konsole of KDE. konsole hase a menubar and I use "Edit->copy" and "Edit-Paste". I can copy text from konsole and paste it for example into the browser.
Flip69, do you mean you want to copy&paste from a host into a virtual machine?
Markus
Yes, exactly, but I was succesfull doing it with Putty, any better terminal emulators out there ?
Seems installing the latest version of PHP on a CentOS is not that straightforward, I will have to use yum to do it and even that will not give me the latest version, but 5.2 will be better than PHP 5.1.6
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.