What do you want to save?
Add Code snippet
New code examples
-
Other 2022-03-22 16:40:04
change main root directory cpanel
1. access server terminal. using SSH or whatever you now 2. type "sudo su" in terminal to enter root access 3. $ sudo nano /var/cpanel/userdata/CPANEL_USERNAME/DOMAIN.COM 4. find following lines: documentroot: /home/USERNAME/public_html path:... Add solution -
Shell/Bash 2022-02-18 17:25:02
bash script wget
#!/bin/sh # Linux wget=/usr/bin/wget tar=/bin/tar apachectl=/usr/sbin/apache2ctl # FreeBSD #wget=/usr/local/bin/wget #tar=/usr/bin/tar #apachectl=/usr/local/sbin/apachectl TXT="GOT TO THE END, YEAH" WORKING_DIR="/var/asl/updates" TA... Add solution -
Shell/Bash 2022-02-10 07:45:16
installing mutillidae in kali
#!/bin/bash sudo apt update sudo apt install php-xml php-fpm libapache2-mod-php php-mysql php-gd php-imap php-mysql php-curl php-mbstring -y sudo a2enmod proxy_fcgi setenvif sudo systemctl restart apache2 sudo a2enconf php7.4-fpm sudo systemctl rel... Add solution -
Shell/Bash 2021-11-21 03:18:12
create a virtual host in apache
# File: /etc/apache2/sites-available/domain1.com.conf <VirtualHost *:80> # Server Name (domain name) and any aliases ServerName domain1.com ServerAlias www.domain1.com #OPTIONAL Admin name ServerAdmin [email protected] # I... Add solution -
PHP 2021-11-08 09:25:23
php cant upload gif
Check your file size limit. If you use XAMPP, open your "php.ini" file and search (CTRL+F) for "filesize", then change the limit to whatever you want. save the changes and restart apache. You now should be able to upload bigger files. Add solution -
Shell/Bash 2021-11-01 09:47:17
install php on ubuntu
# Update packages lists sudo apt update # Install Apache2 (on Ubuntu, mostly it's already installed) sudo apt install apache2 # Install the latest version of PHP and Apache wrapper sudo apt install php libapache2-mod-php # Install some important PHP ex... Add solution