Ignore:
Timestamp:
09/07/10 21:10:11 (21 months ago)
Author:
vain
Message:
  • added some lines to the dev manual
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/doc/manuals/developer/manual/de/kapitel03-entwicklungseinstieg.asc

    r4577 r4616  
    283283In dieser Datei kann manuell der Vhost "ServerName clansuite-dev.com", 
    284284sowie "ServerAlias www.clansuite-dev.com" hinzugefügt werden. 
    285 Alternativ kann die Datei einfach mit der Version aus dem Clansuite SVN ersetzen. 
     285Alternativ kann man die Datei einfach mit der Version aus dem Clansuite SVN ersetzen. 
    286286Die entsprechende Datei gibts hier: http://svn.gna.org/svn/clansuite/trunk/build-tools/xampp/httpd-vhosts.conf 
     287 
     288.Beispielinhalt für "httpd-vhosts.conf" 
     289[source, txt] 
     290--------------------------------------------------------------------- 
     291NameVirtualHost *:80 
     292 
     293<VirtualHost *:80> 
     294     ServerName localhost 
     295     ServerAlias localhost 
     296     DocumentRoot "D:/xampplite/htdocs" 
     297     ErrorLog "D:/xampplite/apache/logs/localhost-error.log" 
     298     CustomLog "D:/xampplite/apache/logs/localhost-access.log" common 
     299 
     300     <Directory "D:/xampplite/htdocs"> 
     301        Options Indexes FollowSymLinks 
     302        AllowOverride All 
     303        Order allow,deny 
     304        Allow from all 
     305    </Directory> 
     306</VirtualHost> 
     307 
     308<VirtualHost *:80> 
     309     ServerName clansuite-dev.com 
     310     ServerAlias www.clansuite-dev.com 
     311     DocumentRoot "D:/xampplite/htdocs/work/clansuite/trunk" 
     312     ErrorLog "D:/xampplite/apache/logs/www.clansuite-dev.com-error.log" 
     313     CustomLog "D:/xampplite/apache/logs/www.clansuite-dev.com-access.log" common 
     314 
     315     <Directory "D:/xampplite/htdocs/work/clansuite/trunk"> 
     316        Options Indexes FollowSymLinks 
     317        AllowOverride All 
     318        Order allow,deny 
     319        Allow from all 
     320    </Directory> 
     321</VirtualHost> 
     322--------------------------------------------------------------------- 
    287323 
    288324Damit das System diese URL auf den lokalen Server umleitet, muss noch die "hosts"-Datei 
     
    301337 
    302338Download 
    303 Falls "php_xdebug.dll" nicht vorhanden ist, dann von http://xdebug.org/ downloaden. 
     339Falls "php_xdebug.dll" nicht vorhanden ist, dann kann man sie von http://xdebug.org/ downloaden. 
    304340Entsprechend umbenennen und ins Verzeichnis "C:\xampplite\php\ext" ablegen. 
     341 
     342Um die richtige Binary für Xdebug zu finden kann auf die Projektwebseite zurückgegriffen werden. 
     343Unter http://www.xdebug.org/find-binary.php findet man ein Formular um den Inhalt der eigenen phpinfo()  
     344Ausgabe zu posten. Nach der Auswertung der Versionsangaben der Serversoftware, wird die entsprechende  
     345Xdebug-Binary und eine Installationsanleitung dafür angezeigt. 
     346 
     347.Tailored Installation Instructions for Xdebug 
     348[source, txt] 
     349--------------------------------------------------------------------- 
     350Summary 
     351 
     352    * Xdebug installed: no 
     353    * Server API: Apache 2.0 Handler 
     354    * Windows: yes - Compiler: MS VC6 - Architecture: x86 
     355    * Zend Server: no 
     356    * PHP Version: 5.3.1 
     357    * Zend API nr: 220090626 
     358    * PHP API nr: 20090626 
     359    * Debug Build: no 
     360    * Thread Safe Build: yes 
     361    * Configuration File Path: no value 
     362    * Configuration File: D:\xampplite\php\php.ini 
     363    * Extensions directory: D:\xampplite\php\ext 
     364 
     365Instructions 
     366 
     367   1. Download php_xdebug-2.1.0-5.3-vc6.dll 
     368   2. Move the downloaded file to D:\xampplite\php\ext 
     369   3. Edit D:\xampplite\php\php.ini and add the line 
     370      zend_extension = D:\xampplite\php\ext\php_xdebug-2.1.0-5.3-vc6.dll 
     371   4. Restart the webserver 
     372--------------------------------------------------------------------- 
    305373 
    306374XDebug in der php.ini einschalten 
     
    326394Eine ausführliche Anleitung zum Thema "Wie installiere ich XDebug?" findet sich in Kapitel 16 (Der Webserver). 
    327395 
     396.Xdebug-Einstellungen für Debugging mit Netbeans IDE 
     397[source, txt] 
     398--------------------------------------------------------------------- 
     399# In der php.ini folgende Werte setzen: 
     400xdebug.idekey         = netbeans-xdebug 
     401xdebug.remote_enable  = on 
     402xdebug.remote_handler = dbgp 
     403xdebug.remote_host    = localhost 
     404xdebug.remote_port    = 9001 
     405--------------------------------------------------------------------- 
     406 
    328407==== Einfache Texteditoren 
    329408 
Note: See TracChangeset for help on using the changeset viewer.