Jestem pewien, że to pytanie jest zadawane wiele razy, ale nie mam z tym problemu. Używam XAMPP, gdzie konfiguruję framework Zend.jak stworzyć wirtualnego hosta na XAMPP
XAMPP jest uruchomiony na PORT 8081 jak jest zajęte przez niektórych oknach procesie muszę korzystać z wirtualnego hosta za to skonfigurować w następujący kod w httpd-vhosts.config obecny w C:/xampp/apache/config/extra/
<VirtualHost *:80>
ServerName comm-app.local
DocumentRoot "C:/xampp/htdocs/CommunicationApp/public"
SetEnv APPLICATION_ENV "development"
<Directory "C:/xampp/htdocs/CommunicationApp/public"
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
</Directory>
</VirtualHost>
a także aktualizować plik hosts z 127.0.0.1 Comm-app.local i spróbuj ponownie uruchomić apache, ale to pokazuje błąd.
15:03:01 [Apache] Error: Apache shutdown unexpectedly.
15:03:01 [Apache] This may be due to a blocked port, missing dependencies,
15:03:01 [Apache] improper privileges, a crash, or a shutdown by another method.
15:03:01 [Apache] Press the Logs button to view error logs and check
15:03:01 [Apache] the Windows Event Viewer for more clues
15:03:01 [Apache] If you need more help, copy and post this
15:03:01 [Apache] entire log window on the forums
Jeżeli nie VirtualHost *: 80 być VirtualHost *: 8081 jeśli to gdzie Apache działa – TommyBs
Proces okien zajmujący port 80 potęgę być Skype. – Marek