|
General settings of PHP development studio |
|
General settings for the PHP development studio
When you have startup the PHP development studio for the first time a example project is showed.: This project points to a local project setup under the XAMPP htdocs root. You can easily setup you own project next to the sample project. Your php files, default location under <installation path>/xampp/htdocs/<project>, can be uploaded to your php hosting server using your standard procedure, like using FTP or webbased filemanager. If you want to use the XAMPP supplied web applications, launch XAMPP from the taskbar, go to http://localhost/ and choose XAMPP: The MySQL account information is: | | user: | root | password: | <none> |
Setting up projects under local hostnames It's also possible to setup a local host name for a project. For example if you want to have the project running under http://myproject.info. - First create a NEW php project with the PHP development studio and rember the path where the project is stored. In this example I use c:\projects\myproject
- Edit the file "C:\WINDOWS\system32\drivers\etc\hosts" and add the following line: 127.0.0.1 myproject.info
- Edit the apache conf file for virtual hosts. Within the PHP development studio this is located under
[installation path]xampp\apache\conf\extra\httpd-vhosts.conf Add the following section at the end: <VirtualHost *:80> RewriteEngine on ServerAdmin
This e-mail address is being protected from spambots. You need JavaScript enabled to view it
DocumentRoot "C:/projects/myproject" ServerName myproject.info ErrorLog logs/myproject-error.log CustomLog logs/myproject-access.log common <Directory "C:/projects/myproject"> allow from all Options +Indexes </Directory> </VirtualHost - You can now restart xampp within the development studio using the xampp stop and xampp start button in the PHP toolbar of the develpment studio:
 - Goto your browser and type: http://myproject.info and your local project will be started
|