Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

ubuntu start php

#check version first
php --version
#status
service php7.4-fpm status
#restart
service php7.4-fpm restart
#reload
service php7.4-fpm reload
#force-reload
service php7.4-fpm force-reload
#start
service php7.4-fpm start
#stop
service php7.4-fpm stop

#or
/etc/init.d/php7.4-fpm restart
Comment

run php server on ubuntu

Update and Update Packages. ...
Install Apache2. ...
Install PHP. ...
Install MySQL. ...
Install phpMyAdmin. ...
Create a Database(Only if our PHP app needs a database to run) ...
Copy/paste or clone the project to the root directory of the Apache webserver. ...
Running the PHP file or project.
Comment

PREVIOUS NEXT
Code Example
Shell :: see git ignored files 
Shell :: which user apache runs as ubntu 
Shell :: how to reload bashrc 
Shell :: install prisma 
Shell :: change default shell fish 
Shell :: install npm mac 
Shell :: ! [rejected] master - master (fetch first) 
Shell :: install sshuttle ubuntu 
Shell :: reinstall angular core 
Shell :: how to install virtualenv in ubuntu 
Shell :: install wkhtmltopdf mac 
Shell :: node in ubuntu 
Shell :: install rabbitmq on ubuntu 18.04 
Shell :: pip command to install xlrd version 1.2.0 
Shell :: how to uninstall openjdk in linux 
Shell :: git clone recursive 
Shell :: sudo apt update ignore gpg signature 
Shell :: pyserial installing 
Shell :: compress folder in tar.gz unix 
Shell :: Module Error (from ./node_modules/sass-loader/dist/cjs.js): Node Sass version 6.0.0 is incompatible with ^4.0.0 || ^5.0.0. 
Shell :: ubuntu remove kubelet 
Shell :: Cannot install under Rosetta 2 in ARM default prefix (/opt/homebrew 
Shell :: dev/kvm device permission denied 
Shell :: install opencv2 homebrew 
Shell :: chocolatey version 
Shell :: how to add windows to grub 2 
Shell :: adb recorder 
Shell :: linux groups show name, password, id, members list 
Shell :: composer uninstall 
Shell :: setup user in git 
ADD CONTENT
Topic
Content
Source link
Name
5+1 =