for file upload permission in ubunu aws
sudo chown -R $USER:$USER html/
Set permission
sudo chmod 775 -R html/
For apache2 restart
sudo service apache2 restart
for php5.6 mb string module install
sudo apt-get install php5.6-mbstring
sudo apt-get install php-mbstring
Unzip file
sudo unzip diruba.zip
for php enabled
sudo a2enmod php5.6
sudo a2dismod php7.4
Check PHP version
php -v
Remove multiple folder
sudo rm -rf html/ app/ nbproject/ vendor vendors/ plugins/ lib/ data/
Open file
sudo nano /etc/apache2/sites-available/000-default.conf
Rewrite mode enabled
sudo a2enmod rewrite
File structure
ls -l
Open a File
sudo nano index.php
Check apache status
sudo service apache2 status
Remove phpmyadmin
sudo apt-get remove phpmyadmin
Remove PHP
sudo apt-get remove php7.4-cli
No comments:
Post a Comment