New answers tagged

0

For those who use VirtualBox guest additions and get you don't have permission to access /on this server despite of everything mentioned above: If you are trying to set the Apache document root folder to a VirtualBox shared folder,and you have tried everything above and that did not help, there is one more step. In short, the solution is to add user ...


0

I had this exact issue. Look in your /etc/mysql/ directory for a file with a "deb10flag" in the filename. (I can't remember exactly what the file was named when I did this as it was a month ago.) I resolved it by removing the file with the debian10flag. This setting generated by the MariaDB installation (it sets the deb flag to version 10). I deleted ...


1

sudo apt-get install lamp-server^ When used, it will attempt to install all of the features and configuration for LAMP. It will know and skip anything that is already there so do not worry about any overwriting of your configuration.


0

Install the Apache PHP7 module with: sudo apt install libapache2-mod-php7.0 This will install and activate the Apache PHP7 module. If you are testing a site in your user directory (accessed by http://host.example.com/~user/), you will need to specifically activate PHP in userdir-module directores. Open /etc/apache2/mods-available/php7.0.conf in an ...


0

Install LAMP server: sudo apt-get install lamp-server^ Enable userdir module: sudo a2enmod userdir Enable PHP execution in user directory: sudo nano /etc/apache2/mods-available/php7.conf (if you use PHP5, it's php5.conf) Comment this part: #<IfModule mod_userdir.c> # <Directory /home/*/public_html> # php_admin_flag ...


1

So long as you're still within your local network, you should be able to access it via that local IP address (as you showed above), although vanilla apache installs are typically configured to only listen on port 80 not 8080. In the apache configuration you can change that port if so desired (for this and some other intro info: ...


0

You need to configure your apache2.conf to make phpMyAdmin work. For more detail Please read this section in Ubuntu wiki. open a termianl and run gksu gedit /etc/apache2/apache2.conf Then add the following line to the end of the file. Include /etc/phpmyadmin/apache.conf Then restart apache /etc/init.d/apache2 restart `


1

Basic stuff install sudo apt-get install git sudo apt-get install unzip LAMP sudo apt-get install tasksel sudo tasksel install lamp-server CURL + Composer sudo apt-get install curl php-curl php-mcrypt php-mbstring php-gettext enable mods sudo phpenmod mcrypt sudo phpenmod mbstring sudo a2enmod rewrite sudo systemctl restart apache2 curl -sS ...


0

I highly recommend you to trying LAMP Stack from Bitnami. Bitnami LAMP Stack Manager It's completely self contained and will not interfere with other software on your system. If you unsatisfied with this, just delete the folder. Or execute uninstall script inside the folder for clean removal.


0

for ubuntu 14.04 or higher: sudo apt-get install php5-xdebug php5-mysql mariadb-server mariadb-client mysql-workbench apache2-utils apache2 libapache2-mod-php5 Make sure that the installation of the xdebug lib is in the correct folder: cd /usr find . -name 'xdebug.so' 2> /dev/null That should output something like this: ...


0

Running apt-get purge <packagename> Will remove not only the packages, but the configuration files as well.


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

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



Top 50 recent answers are included