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 7904097
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T09:54:42+00:00 2026-06-03T09:54:42+00:00

Maybe this question is silly but I really don’t know how to solve. First,

  • 0

Maybe this question is silly but I really don’t know how to solve.

First, as other server, I want to define new server. So, in Eclipse, I go to: Windows>Preference>Server:

1) When I add new server, in list, no category for Apache HTTP server. Just has Apache Tomcat. So, I click into download additional server adapter–>still don’t have in list.

2) So, I search. I point to location I have installed. Good, Eclipse sees that is a HTTP Server. And Eclipse sees folder to put project into for me (because I use LAMP so that folder isn’t in Apache folder).

But here is my problem. When I want to run a new PHP Project. Right click, run on server. A new dialog appear take me to choose which server to run. And, in list of server, no HTTP Server, So, I don’t know how to choose Apache HTTP Server !!! (because Eclipse doesn’t see which server that I have defined, eclipse just find adapter first)

So, if I want to run this project, I must copy all and paste to Apache folder. Too handy !!!

Please help me.

Thanks 🙂

  • 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-03T09:54:45+00:00Added an answer on June 3, 2026 at 9:54 am

    Apache’s HTTP server and Eclipse don’t communicate with each other. The servers under Windows -> Preference -> Server are Java servers like Tomcat and Glassfish.

    What you need to do is define your web project in Eclipse, then define that same directory to the HTTP server in the httpd.conf file. Or, since you’re already set up, write an Ant script in Eclipse to copy the PHP files to your HTTP folder.

    Edited to add: Here’s my Ant script to keep my Eclipse directory and my HTTP directory synchronized. I develop in Windows.

    <?xml version="1.0" encoding="UTF-8"?>
    <project name="build" default="" basedir=".">
        <description>
           Synchronize the Eclipse folders and the web site folders
        </description>    
        <!-- Relative location of eclipse folder -->
        <property name="eclipse" value="." />
        <!-- Absolute location of web site folder -->
        <property name="website" value="C:/Presbury UMC/" />
    
        <!-- Copy new web site files -->
        <copy todir="${eclipse}">
            <fileset file="${website}/index.php"/>
        </copy>
        <copy todir="${eclipse}/css">
            <fileset dir="${website}/css"/>
        </copy>
        <copy todir="${eclipse}/images">
            <fileset dir="${website}/images"/>
        </copy>
        <copy todir="${eclipse}/protected">
            <fileset dir="${website}/protected/">
                <exclude name="yiic*"/>
                <exclude name=".htaccess"/>
            </fileset>
        </copy>   
        <copy todir="${eclipse}/themes">
            <fileset dir="${website}/themes"/>
        </copy>
    
        <!-- Copy new Eclipse files -->
        <copy todir="${website}">
            <fileset file="${eclipse}/index.php"/>
        </copy>
        <copy todir="${website}/css">
            <fileset dir="${eclipse}/css"/>
        </copy>
        <copy todir="${website}/images">
            <fileset dir="${eclipse}/images"/>
        </copy>
        <copy todir="${website}/protected">
            <fileset dir="${eclipse}/protected/"/>
        </copy>   
        <copy todir="${website}/themes">
               <fileset dir="${eclipse}/themes/"/>
        </copy>   
    </project>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Ok so this maybe a simple/silly question but I don't know so here goes:
Maybe this is a silly question, but I cannot guess how to solve it
This question maybe be silly, but I just want to confirm whether I get
This maybe a really silly question but I just could not find the answer
This is a bit of a silly question but I don't know how to
This may be a really silly question, but it just crossed my mind and
Maybe this is a silly question, but I'm working on a project that wants
It this possible? How? (Maybe silly question, but I couldn't find answer :( )
This may be a silly question I don't know. Is there a way to
Maybe the question sounds silly, but I don't understand 'something about threads and locking

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.