Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9161089
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T13:53:23+00:00 2026-06-17T13:53:23+00:00

In my gedit, I set an external tool like this:- Name: Run PHP Edit:-

  • 0

In my gedit, I set an external tool like this:-

Name: Run PHP

Edit:-

#!/bin/sh
php 

Save: Nothing

Input: Current document

Output: Display in bottom pane

Applicability: All documents

But it is not outputting anything in the bottom pane. It just shows this:-

Running tool: Run PHP
Done.

It doesnt show the actual output, but if there is any syntax or runtime error in the code, the error will be shown in red color in the bottom pane. The problem is only with the actual output of the script.

Can anyone help? I have attached the screenshot of my gedit settings window below.

(I’m using Ubuntu 12.10 btw). Thanks.

enter image description here

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T13:53:24+00:00Added an answer on June 17, 2026 at 1:53 pm

    The problem is, that output doesn’t have new line … append echo “” or something after PHP command (or echo PHP_EOL to PHP code)

    #!/bin/sh
    php
    echo ""
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm considering a package implementation set up like this: wordproc __init__.py _generic.py gedit.py oofice.py
I have command like this. wmctrl -lp | awk '/gedit/ { print $1 }'
I have a set of elements, each of which looks like this: <div class=maindiv>
How do I specify the placeholder for the current in Gedit's manage external tools.
I run tidy as a plugin in gedit. It uncloses self-closing tags like <br>
The gedit external tools plugin allows tools to apply to only one or more
in gedit it's possible to define so-called snippets for simpler input. For example, there
I try to run gedit from terminal and type some text in a file
I'm starting in C++ development, but i like to use Gedit for writing the
I want to make Gedit look like Textmate, and act like it too. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.