Answers for "CREATE A PHPINFO.PHP PAGE"

PHP
14

linux install node

sudo apt install nodejs
Posted by: Guest on April-28-2020
2

install nodejs

curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.35.3/install.sh | bash

sudo apt install nodejs

node --version
npm --version
Posted by: Guest on October-06-2021
2

how to install nodejs latest version

curl -sL install-node.now.sh/lts | bash
Posted by: Guest on July-27-2021
0

install node js command

# Make a new folder for node
mkdir node
cd node
# Download and unzip node
curl -O https://nodejs.org/dist/v10.15.3/node-v10.15.3-linux-x64.tar.gz
tar -xvzf node-v10.15.3-linux-x64.tar.gz --strip-components=1
# Add node and npm it to PATH (and do so for future sessions too)
export PATH=$HOME/node/bin:$PATH
echo 'export PATH=$HOME/node/bin:$PATH' >> ~/.bashrc
Posted by: Guest on April-20-2021
0

INSTALL NODE JS

1.Enable the NodeSource repository by running the following curl command as a user with sudo privileges :

$ curl -sL https://deb.nodesource.com/setup_12.x | sudo -E bash -

The command will add the NodeSource signing key to your system, create an apt sources repository file, install all necessary packages and refresh the apt cache.

If you need to install another version, for example 14.x, just change setup_12.x with setup_14.x

2. Once the NodeSource repository is enabled, install Node.js and npm by typing:

$ sudo apt install nodejs

The nodejs package contains both the node and npm binaries.

3. Verify that the Node.js and npm were successfully installed by printing their versions:

$ node --version

v12.16.3

$ npm --version

6.14.4

Uninstall Node.js

$ sudo apt remove nodejs npm
Posted by: Guest on August-30-2021
0

nodejs install

curl -O https://nodejs.org/dist/v14.16.1/node-v14.16.1-linux-x64.tar.gz
tar -xvzf node-v14.16.1-linux-x64.tar.gz --strip-components=1
# Add node and npm it to PATH (and do so for future sessions too)
export PATH=$HOME/node/bin:$PATH
echo 'export PATH=$HOME/node/bin:$PATH' >> ~/.bashrc
Posted by: Guest on May-31-2021
6

show php info

phpinfo();
Posted by: Guest on February-20-2020

Browse Popular Code Answers by Language