Skip to content

Instantly share code, notes, and snippets.

@joanhey
Last active December 6, 2018 01:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save joanhey/4dce9f9ae55d3447fe14b33ab61dd39e to your computer and use it in GitHub Desktop.
Save joanhey/4dce9f9ae55d3447fe14b33ab61dd39e to your computer and use it in GitHub Desktop.
para lanzar desde linux el servidor incluido en php, en localhost:8000. copiar el php-server.desktop en /home/tu-usuario/.local/share/applications.
[Desktop Entry]
Version=1.0
Type=Application
Name=PHP server
GenericName=Servidor web incluido en php
Comment=Servidor web incluido en PHP > 5.4
Icon=network-server-symbolic
TryExec=php
Exec=php -S 0.0.0.0:8000 -t %u
NoDisplay=true
Categories=Development;WebDevelopment;
Keywords=php, server
MimeType=inode/directory; application/x-httpd-php; application/x-php;
StartupNotify=true
Terminal=true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment