Tag Info

New answers tagged

0

What @drinxy told you must solved the problem. The next time you want to make a fresh LAMP server installation I recommend you to use Tasksel. I Quote from https://help.ubuntu.com/community/Tasksel: "Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated 'task' onto your system. This function is similar ...


-1

If you are running your file just for the localhost then change the chmod to 777 for /var/www/html save every php file in html folder which is found in the path mentioned above. The new apache loads the file from the server only if it is present in the HtMl folder. i hope it will work. (Though 777 chmod is not recommended of course because of the ...


0

Best and easy LAMP installation tutorial.... http://11howto.in/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04/1425/


2

This happens after you upgrade to apache 2.4.9+ basically just replace Order allow,deny allow from all with Require all granted should fix this issue. something like, <Directory /home/tom/Dropbox/web> Options Indexes FollowSymLinks MultiViews AllowOverride All Require all granted </Directory> ScriptAlias /cgi-bin/ ...


1

Make sure you have a currently supported version OS (12.04, 14.04 or 14.10). If your OS version is not currently supported, update your software sources by following the instructions in How to install software or upgrade from an old unsupported release? and then skip steps 2-6 since they don't apply in case you have an unsupported release. Search in the ...


1

One trick is to load the whole database into a RAM disk, if it fits. First, create a disk in memory: mount -t tmpfs -o size=350M tmpfs /var/tmp/ramdisk Adjust size as needed. Then move the database to this disk: rsync -av /var/lib/mysql/* /var/tmp/ramdisk/ chown -R mysql:mysql /var/tmp/ramdisk Then start the database server. In my.cnf you point the ...


-1

Please use sudo for this command as it worked for me: sudo a2enmod authz_groupfile


0

sudo gedit etc/apache2/apache2.conf add this Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all in virtual configuration :/etc/apache2/sites-available/site.conf ServerAdmin anilrmg@localhost.com ServerName anilrmg.localhost.com ServerAlias www.anilrmg.localhost.com DocumentRoot ...


1

First, I think you're better off at stackoverflow for questions like these. Now can you check if you have mod_rewrite enabled? Create a simple php file and add this code: <?php phpinfo(); ?> Now visit that file and search the page (CTRL+F) for mod_rewrite. If not enabled run this code: a2enmod rewrite And restart apache: /etc/init.d/apache2 ...


0

To modify the default virtual host, edit the file /etc/apache2/sites-available/000-default.conf I'm a also new and found lots of info in the ubuntu server guide, I think you might find answers to other questions you'll encounter.


0

Blank pages usually mean there is an error in the php code. I suggest adding these lines to your file: error_reporting(E_ALL); ini_set('display_errors', '1'); They will show you debug info. Just in case there is a problem with the php script.


0

I think you want to change apache's DocumentRoot configuration. 1.check where is configuration. Generally, apache2 configuration file is located in /etc/apache2/ folder. `vi /etc/apache2/apache2.conf` in that file, you can find out the location of "DocumentRoot" config Include sites-enabled/ that indicates your configration file is in ...


0

It seems that your installation of XAMPP is broken... My best suggestion is to forget about XAMPP and install what you need from repositories and, if needed, configure it yourself. This seems to be a good tutorial: https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-14-04


0

Did you try service apache2 start in order to start Apache? The warnings shown in the log are just this, warnings. Apache should also start with these warnings.


0

You did check to see if it was working and got your answer. Log into the machine ssh <user>@192.168.0.20 and execute: sudo apt-get install lamp-server^ This is for the meta-package of a basic LAMP. Any package required, but not installed will be installed. If all is successful , you can open your browser to 192.168.0.20 and you will see the ...



Top 50 recent answers are included