Tag Info

New answers tagged

1

Sounds like you're running suPHP judging by the error. www-data has a uid and gid of less than 500. Create a new user for that website with a uid over 500 and associated group with a gid higher than 500, and chown those files to that new user. There may be some other settings that need changing (been a little while since I've used suphp), but that's the crux ...


0

The latest version of PHP in Ubuntu 12.04 is currently 5.3.10-1. Given that you have 5.5.20-1, you clearly are using a third party PHP package, rather than the Ubuntu one. With Ubuntu you can choose either to run the version supplied with Ubuntu, or run a third party package. You seem to be doing the latter. Probably the best choice of PPA for PHP is ...


-1

I would get the file from a backup or a 2nd server. It would be logical to assume you code your software on a 2nd instance of the live version and that 2nd instance is an exact copy of the live version, minus the current active development. And that you create a backup of your site daily and a complete system backup once every so often (ie. at least before ...


1

Try sudo apt-get install sqlite3. It is different from sqlite.


1

Error message tells that you can add -fPIC compiler flag. http://jaytaylor.com/blog/2010/10/06/howto-fix-fpic-errors/ On this page you can find semi-good solution - enable PIC to whole PHP. export CC=”gcc -fPIC” export CXX=”g++ -fPIC” But I don't know what disadvantages this solution has.


0

Per your comment this actually looks like it could be basic syntax issues. In future, I would strong suggest running nginx -t (without sudo) to display configuration errors. I think a try-files is preferred over a rewrite but either way, here's what I use for a Moodle site. location / { try_files $uri $uri/ /index.php/$request_uri; } ...


1

The problem is that the list program does not understand "-tr | tail -1" as a command argument and is returning an error. You need to use ftp_rawlist($conn_id, "-tr"); and process the list after it returns. This web site has a bunch of examples working with the results from the command.


1

I am missing the Options Indexes FollowSymLinks Includes ExecCGI in your myapp.conf. As of Apache-2.4 mod_authz_host is used and Require (example Require all granted) should be used. By the way... this: You don't have permission to access / on this server. I remember from the apache as the default when using httpd.conf. Are you sure the ...


0

The following works to give access to multiple users: First of all update your phpmyadmin version for Ubuntu: sudo nano /etc/apt/source.list ## Untrusted PPA phpMyAdmin deb http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu trusty main deb-src http://ppa.launchpad.net/nijel/phpmyadmin/ubuntu trusty main sudo apt-get update sudo apt-get install phpmyadmin ...


0

you can also install this by manual process. just download file to your web root folder.(/var/www/phpmyadmin) for more Click Here Download from here


1

At my local machine it's installed here: /usr/share/php/PHP/CodeSniffer/Standards/PHPCompatibility/ (Get it from here. ) After that I can call it with: phpcs --standard=PHPCompatibility my_project/


1

I find it rather weird to suggest to disable the mpm-itk as there might be a reason why it is actually used. We use mpm-itk (version 2.4.7-02) with apache 2.4 and it works perfectly. The only thing to consider here are the new configuration directives LimitUIDRange and LimitGIDRange These directives define, which UIDs and GIDs mpm-itk can use (via ...


0

THERE ARE NO SPECIAL DISTRO FOR SPECIFIC WORK you can install any Linux distribution , some famous linux distro :- ubuntu, fedora openSUSE, Arch . you can find distro information from DISTROWATCH you just you need to install few tools that's it !! If you are new to linux then go for ubuntu is good from beginners


1

add dotdeb repo by following command : echo "deb http://php53.dotdeb.org stable all" | sudo tee -a /etc/apt/sources.list Fetch and install the GnuPG key wget http://www.dotdeb.org/dotdeb.gpg sudo apt-key add dotdeb.gpg Then sudo apt-get update The easy way to install the specific version is via synaptic all done also you should downgrade the ...


1

unfortunately your target directory have no global permission so you can't create new directory or file in there! open your terminal and type this: cd /opt/lampp sudo chmod 777 -R htdocs first line navigate you to target directory and second line will change your permission with chmod command...


0

In terminal(Ctrl+Alt+T) 1.open file php.ini : /etc/php5/apache2$sudo nano php.ini 2.replace Off to On : short_open_tag = On 3.restart apache : sudo service apache2 restart


0

Try the following commands in terminal(Ctrl+Alt+T) sudo -i wget http://in1.php.net/distributions/php-5.3.29.tar.bz2 tar -xvf php-5.3.29.tar.bz2 cd php-5.3.29 ./configure make make install



Top 50 recent answers are included