Tag Info

Hot answers tagged

3

The difference between 12.04 and 14.04 is in the /etc/mime.types file. In 12.04 the related area is this: application/x-httpd-php phtml pht php application/x-httpd-php-source phps application/x-httpd-php3 php3 application/x-httpd-php3-preprocessed php3p application/x-httpd-php4 ...


2

Seems pretty straightforward. Are you sure you're in the correct directory? I actually installed this just the other day. This should work: tar xfz PhpStorm-*.tar.gz cd PhpStorm-139.732/bin ./phpstorm.sh Pay attention to the version in the PhpStorm folder name.


2

From this SO answer: You can use umask() immediately before the fopen() call, but umask shouldn't be used if you're on a multi-threaded server - it'll change the mask for ALL threads (e.g. this change is at the process level), not just the one that you're about to use fopen() in. e.g. $old = umask(000); fopen('foo.txt', 'w'); // creates a ...


2

You've got 2 possibilities: Restore your System Back-up (you're definitely user type 4) Reinstall and start making System Back-ups There that's it. Those are the 2 quick fixes for your system. Anything else will lead to a lot of headaches, problems cropping up in a few days, weeks, months and even years!


1

Finally we found out the reason: The problem was that on migration the file containing our DNS-SERVERS was overwritten by Wmvare. Meaning that even though the servers were duplicates the IP for our DNS-servers was changed.. We had no reason to suspect this as it should have been full copy of functioning server


1

Yes, enable the userdir module for Apache (I'm unfamiliar with lamp-server, normally you just run sudo a2enmod userdir but you'll have to figure out how to enable the module). Once enabled, you can create a public_html directory inside your home, ensure your home and public_html have world read permissions, and you can put your PHP scripts in your ...


1

I had the same problem. With lots of Google-ing and trying I figured it out. You need to match what you setup in your virtual host with whats configured in the fastcgi.conf (of php-fpm.conf). Furthermore its beter to use '/fpm-status' and '/fpm-ping' in the /etc/php5/fpm/pool.d/www.conf config. Then you should not have conflicts with Apache's own 'status' ...


1

apt-get install apache2* Should just be apt-get install apache2 Apt will suggest some extra packages to install at that point. Read through them and decide if want/need, but I usually only install sudo apt-get install apache2 apache2-utils


1

So, your Linux server has a windows share mounted on a local directory, but apparently you cannot write to it. I suppose that this share has been setup as guest access, hence the read only status. Please refer to the ubuntu documentation on mounting windows share as a starting point to fix this configuration issue. As a work around for the time being, I ...


1

You can give www-data permission to execute the shutdown command. Try this: As root, use the command 'visudo' to edit your /etc/sudoers file. The last lines should look like this: # Cmnd alias specification # User privilege specification root ALL=(ALL:ALL) ALL # Members of the admin group may gain root privileges %admin ALL=(ALL) ...



Only top voted, non community-wiki answers of a minimum length are eligible