Guide to install Apache and PHP on your archlinux system and serve php-based application
Install Packages
pacman -S apache php php-apache
Config PHP
The main PHP configuration file is well-documented and located at /etc/php/php.ini
Guide to install Apache and PHP on your archlinux system and serve php-based application
pacman -S apache php php-apache
The main PHP configuration file is well-documented and located at /etc/php/php.ini
how to assemble and link:
nasm -f elf32 -o <filename>.o <filename>.asm
ld -m elf_i386 -o <filename> <filename>.o
template code (hello world):
section .text
global _start
Quick install guide for Arch -- if you're looking for an automated installer, consider Arch Anywhere.
Download the latest version from: https://www.archlinux.org/download/
Do you need a refresher on git? Go through Codecademy's git
course.
Using your terminal/command line, get inside the folder where your project files are kept:
cd /path/to/my/codebase
.
→ You cannot do this simply by opening the folder normally, you must do this with the command line/terminal.
→ Do you need a refresher on using your command line/terminal? I've compiled my favorite resources here.
Check if git is already initialized: git status