|getting eclipse php programs to run in Apache server [message #1704212]
||Sat, 08 August 2015 22:33
| Will Klem
Registered: July 2015
disclamer: An associate has told me that if I can make this happen without his help, he will give me programming projects designed to help me learn. This is not any sort of school assignment.|
I have no previous experience with IDEs or web servers; so my learning curve is real steep, especially with no direction provided. I have spent nearly three weeks researching, and reading to enable me to run php programs on Apache server. One problem I have encountered in research is that most of the tutorials deal with Apache Tomcat and/ or Linux. I am using Eclipse and Apache for Windows, because this is the combination that my associate requires me to use.
I am including basic configuration information first, followed by a description of the problems I have encountered.
The information below reflects instructions I have gleaned from various tutorials.
Eclipse 4.5.0 Mars for Windows (C:\Users\will\eclipse)
php PDT plugin 3.5 (from Eclipse market place)
Apache 2.4 (C:\apache24)
php 5.6.11 (C:\php)
My hosts file has been edited to include this,
127.0.0.1 mywebsite.localdomain php
Per tutorial instructions, I have created these folders:
Various edits have been made in httpd.conf and httpd-vhosts.config. (I will give details upon request.) I have also created a php.ini file in C:\php.
Here is what I have experienced.
I can run my php program by typing http://mywebsite.localdomain/hello.php in the address bar of my browser. Attempting to run in Eclipse as PHP web application or run on server yields nothing. Attempting to create a new server displays Apache Tomcat options to choose from. I do not have Tomcat installed. Using file>new>other>server in Eclipse, I have not been able to successfully configure the server.
Please, give me some step-wise instructions, ask me for details of .conf files for you to examine, or other useful advice. Please, remember I am rank newbie.
Thank you for your time and replies.
[Updated on: Sat, 08 August 2015 22:34]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.03304 seconds