0

I'm using Aptana 3.6.1 and XAMPP 3.2.1. I know in order to work with XAMPP easily I need to put my files into 'htdocs' folder. But is there anyway that I can still run PHP scripts(usning aptana) keeping project files anywhere? Thanks..

1 Answers1

1

Yes, you can put your project anywhere by using these features. I recommend you to use the first way to do it which is Virtual Hosts. You can change your virtual hosts config to achieve it. You can check here to see the details.

<VirtualHost *:80>
    DocumentRoot C:\Projects\transitCalculator\trunk
    ServerName transitcalculator.localhost
    <Directory C:\Projects\transitCalculator\trunk>
        Order allow,deny
        Allow from all
    </Directory>
</VirtualHost>
Community
  • 1
  • 1
einverne
  • 6,454
  • 6
  • 45
  • 91