Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Web Tools Web Site Development Setup"

(System setup)
Line 20: Line 20:
  
 
Replace [workspace_location] with the path to your Eclipse workspace. You don't have to use 8008 but be careful with the port you use to avoid port conflicts with things like application servers.  This differs from the [[Configuring Eclipse with PHPEclipse]] instructions in that you don't have to edit the hosts file. To access a web page use a URL such as http://127.0.0.1:8008/webtools/main.html.
 
Replace [workspace_location] with the path to your Eclipse workspace. You don't have to use 8008 but be careful with the port you use to avoid port conflicts with things like application servers.  This differs from the [[Configuring Eclipse with PHPEclipse]] instructions in that you don't have to edit the hosts file. To access a web page use a URL such as http://127.0.0.1:8008/webtools/main.html.
 +
 +
* If necessary, make the following changes to your php.ini file:
 +
 +
<pre>
 +
&lt; short_open_tag = Off
 +
---
 +
&gt; short_open_tag = On
 +
 
 +
&lt; extension_dir = "./"
 +
---
 +
&gt; extension_dir = "./ext"
 +
 
 +
&lt; ;extension=php_xsl.dll
 +
---
 +
&gt; extension=php_xsl.dll
 +
</pre>
 +
 +
This enables short tags and turns on xslt processing.

Revision as of 13:32, 30 January 2007

System setup

Another way to create a Virtual Host is to open the "httpd.conf" file, scroll to the bottom and add the following section:

<Directory "[workspace_location]">
    Options Indexes FollowSymLinks 
    AllowOverride None 
    Order allow,deny 
    Allow from all 
</Directory>

<VirtualHost 127.0.0.1:8008>
    DocumentRoot [workspace_location]
</VirtualHost>

Replace [workspace_location] with the path to your Eclipse workspace. You don't have to use 8008 but be careful with the port you use to avoid port conflicts with things like application servers. This differs from the Configuring Eclipse with PHPEclipse instructions in that you don't have to edit the hosts file. To access a web page use a URL such as http://127.0.0.1:8008/webtools/main.html.

  • If necessary, make the following changes to your php.ini file:
< short_open_tag = Off 
--- 
> short_open_tag = On 
  
< extension_dir = "./" 
--- 
> extension_dir = "./ext" 
  
< ;extension=php_xsl.dll 
--- 
> extension=php_xsl.dll 

This enables short tags and turns on xslt processing.

Copyright © Eclipse Foundation, Inc. All Rights Reserved.