- Timestamp:
- 09/07/10 21:10:11 (21 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/doc/manuals/developer/manual/de/kapitel03-entwicklungseinstieg.asc
r4577 r4616 283 283 In dieser Datei kann manuell der Vhost "ServerName clansuite-dev.com", 284 284 sowie "ServerAlias www.clansuite-dev.com" hinzugefügt werden. 285 Alternativ kann die Datei einfach mit der Version aus dem Clansuite SVN ersetzen.285 Alternativ kann man die Datei einfach mit der Version aus dem Clansuite SVN ersetzen. 286 286 Die 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 --------------------------------------------------------------------- 291 NameVirtualHost *: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 --------------------------------------------------------------------- 287 323 288 324 Damit das System diese URL auf den lokalen Server umleitet, muss noch die "hosts"-Datei … … 301 337 302 338 Download 303 Falls "php_xdebug.dll" nicht vorhanden ist, dann von http://xdebug.org/ downloaden.339 Falls "php_xdebug.dll" nicht vorhanden ist, dann kann man sie von http://xdebug.org/ downloaden. 304 340 Entsprechend umbenennen und ins Verzeichnis "C:\xampplite\php\ext" ablegen. 341 342 Um die richtige Binary für Xdebug zu finden kann auf die Projektwebseite zurückgegriffen werden. 343 Unter http://www.xdebug.org/find-binary.php findet man ein Formular um den Inhalt der eigenen phpinfo() 344 Ausgabe zu posten. Nach der Auswertung der Versionsangaben der Serversoftware, wird die entsprechende 345 Xdebug-Binary und eine Installationsanleitung dafür angezeigt. 346 347 .Tailored Installation Instructions for Xdebug 348 [source, txt] 349 --------------------------------------------------------------------- 350 Summary 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 365 Instructions 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 --------------------------------------------------------------------- 305 373 306 374 XDebug in der php.ini einschalten … … 326 394 Eine ausführliche Anleitung zum Thema "Wie installiere ich XDebug?" findet sich in Kapitel 16 (Der Webserver). 327 395 396 .Xdebug-Einstellungen für Debugging mit Netbeans IDE 397 [source, txt] 398 --------------------------------------------------------------------- 399 # In der php.ini folgende Werte setzen: 400 xdebug.idekey = netbeans-xdebug 401 xdebug.remote_enable = on 402 xdebug.remote_handler = dbgp 403 xdebug.remote_host = localhost 404 xdebug.remote_port = 9001 405 --------------------------------------------------------------------- 406 328 407 ==== Einfache Texteditoren 329 408
Note: See TracChangeset
for help on using the changeset viewer.
