New answers tagged

0

1) You have to verify folder/files permission like previous answer with command sudo chmod -R 755 /var/www/html/Codeigniter and for file 644 as permissions -R is for recursively. 2) Look for your .htaccess file and if you have enabled mod_rewrite on apache, if no enabled open terminal and sudo a2enmod rewrite. 3) Look for owner permission in ...


0

I am sorry to mention I don't understand your commend. But I do hope you can help to solve my problem. I am the topic starter and above I just comment on my own post. On 15:10 I used lamp successfully in combination with Akeeba backup by the tuturial howtoubuntu.org/how-to-install-lamp-on-ubuntu. Now on 16:04 I am unable to install lamp successfully. I ...


0

Completely removing mysql and reinstalling was the solution I eventually came to. Although I had tried to uninstall and reinstall once unsuccessfully (thus bringing me to ask this question). I tried a more thorough uninstall after finding the advice on this page: Uninstall MySQL completely Following the uninstall directions there and reinstalling solved ...


0

You might have to give special permissions to Codeigniter folder. $ sudo chmod 755 -R /var/www/html/Codeigniter Also, keep a backup of the .htaccess file then remove it from the Codeigniter folder.


0

Usually this is an issue after a vanilla install in 16.04 (Xenial Xerus) too. To fix it: sudo ln -s /etc/phpmyadmin/apache.conf /etc/apache2/conf-available/phpmyadmin.conf sudo a2enconf phpmyadmin.conf sudo systemctl restart apache


0

So I ended up figuring out my problem, just posting an answer for anyone else potentially having the issue. The command: iptables -t nat -A PREROUTING -d outerip -p tcp --dport 80 -j DNAT --to webip Was what eventually allowed it to work. This rule appends the prerouting table to allow connections from the outer ip of the firewall, as long as they are ...


0

PHP7.0 is standard on Ubuntu 16+ Heres the rundown: 1 As Always sudo apt-get update 2 Install Apache2 sudo apt-get install apache2 3 Install mysql-server sudo apt-get install mysql-server 4 Install PHP 7.0 sudo apt-get install php7.0 libapache2-mod-php7.0 php7.0-mysql php7.0-curl php-mbstring php7.0-mbstring php-gettext php7.0-json php-xml ...


0

Use command dpkg --get-selections | grep apache to see the list of installed apache service. If you see the libapache2-mod-php7.0 is missing then use following command to list all available the php7.0 service sudo apt-cache search php7-* Now install required services sudo apt-get install libapache2-mod-php7.0 php7.0-mysql php7.0-curl php7.0-json Now ...


0

Instead of fiddling with all those files, I simply did the following two steps: added the folders I needed to a group in which www-data is a member of and granted the group both read and execute permissions (for some reason execute was not enough), thanks Brian Added what I originally had in my alias.conf to apache2.conf Obviously I first removed all the ...


0

Well, in theory you should be ok with putting your .htpasswd file anywhere in the apache document root since apache default configuration for any file beginning with ".ht" should be this: <FilesMatch "^\.ht"> Order allow,deny Deny from all Satisfy All </FilesMatch> However, I tend to avoid that, and usually put my .htpasswd files somwhere in ...


0

Open a terminal and type: sudo gedit /etc/apache2/apache2.conf Find this: <Directory /var/www/> Change AllowOverride None to AllowOverride All Then run: sudo a2enmod rewrite


0

I wouldn't be concerned about logging overhead or log file size. If the log file size grows out of hand you can logrotate(8) it and compress old logs in the process. Text files with many similar entries tend to be very well compressible. You could even set up your custom cron job to filter those entries out of the rotated log files.


1

Python is not related to any of the lamp packages. So no, they shouldn't conflict with each other. P.S. If you do not need the full LAMP stack, you don't have to install all of its packages. For example, if you need to install just PHP Apache, you can do that by running sudo apt-get install php5 If you need both Apache and PHP, then you would run sudo ...


0

You need to edit DNS records from your Freehosting account and make A record for your domain point to your IP address. No need to set-up bind or anything else by yourself. If you're not sure how to do it or don't place to manage your DNS then contact Freehosting support. You can start using other nameservers awell, e.g CloudFlare's to manage your DNS


1

The solutions is install php5-mcrypt module in and enable it. Use the below command sequence. sudo apt-get install php5-mcrypt sudo php5enmod php5-mcrypt sudo service apache2 restart Follow the below url to install magento2 (M2) on ubuntu server. http://gotechnies.com/install-magento2-ubuntu-server/


1

You have a couple different options, though all will rely on your ability to program each. Depending on the type of data collected, it would seem to me to most likely be best saved to a database. Which having LAMP, you have mysql installed. There are many sites that will show you examples of php/mysql. For security reasons you should ignore any tutorial ...


0

Make sure you have the Apache module installed: sudo apt install libapache2-mod-php7.0 I had the same problem for a while, but just fixed installing that one.


0

Open phpMyAdmin>config.inc.php in your favourite text editor. Search for: $cfg['Servers'][$i]['auth_type'] = 'config'; Replace it with: $cfg['Servers'][$i]['auth_type'] = 'cookie'; cookie ;) "essa eu garantio"



Top 50 recent answers are included