Tag Info

New answers tagged

0

Horde is not just an application, rather a bundle of various packages, each performing a certain task. Each of these has in turn its own dependencies that must be set up beforehand. Packaging (and maintaining) something like this would be a huge load of work impacting relatively few users; thus manual install is pretty much your only option. At the ...


0

You could find a solution for your problem by searching here based on the error in the logs. You were missing the php's Mysqli class. Installing MyPHPAdmin (PHPMyAdmin rather) installed mysqli as a side effect, i'm guessing.


0

ok after I installed MyPHPAdmin it is working suddendly the PHP file, and i get back all the time: Connected successfully So I appreciate you time and your ideas!


0

Your problem is that you have an unofficial PPA which is breaking your install procedure. To remediate this, run the below commands: sudo add-apt-repository --remove ppa:ondrej/php5-oldstable sudo add-apt-repository --remove ppa:ondrej/php5 This PPA is providing a different (old) version of PHP instead of the proper version that Ubuntu wants. Run these ...


0

Used ppa-purge ppa:ondrej/php5-5.6 as suggested by muru. It helped. Had to fix all configs manually though.


1

To parse a php file, you need a server set up (apache for example) and you need firefox to query for this file with the server. So install apache (or a server of your preference), set the DocumentRoot. Now you can try typing the URL of the file relative to DocumentRoot in the addressbar of firefox, like so: localhost/index.php. This will open the file ...


1

Use the php5 command: php5 /path/to/php/script It's part of the php5-cli package. The php command is part of the alternatives system, so it always points to something else. Depending on the version of PHP your script is in, it would be better to use the versioned command. Running a PHP script the way it is called by a webserver is a bit complicated. The ...


2

As long as you have php installed, you run a PHP file using /usr/bin/php /path/to/php/file.php Or if your $PATH is set up properly to include /usr/bin, then simply php /path/to/php/file.php You can check if PHP is installed, by running which php


2

I believe you are trying to access the mysql port instead of accessing phpmyadmin. Phpmyadmin runs on port 80, so there is no reason to specify a port in the web address bar. Try going here: 127.0.0.1/phpmyadmin That should load up the web interface you are looking for.


0

Seems like during Ubuntu 14.x upgrade some dependencies have been upgrade to latest version and that is not supported to run LAMP. Regarding that remove latest dependencies and install the below dependencies and check whether you are able to install LAMP. 2.4.10-1+deb.sury.org~trusty+1 5.5.17+dfsg-2+deb.sury.org~trusty+1


0

You can test your theory (www-data can't run the command) by running: sudo -iu www-data /usr/bin/pg_dump ... This likely is the issue and there are a number of different workarounds with different security ramifications. Create a script that runs your dump, owned by your user, with setuid applied (chmod 4755 <filename>). Whoever runs this will run ...


0

In the conf file for the site, I was able to fix this by taking out MultiViews. Then it started working normally.


0

I guess I found an answer right after asking question and pasting exactly the title in the google of this question :) https://wiki.ubuntu.com/TrustyTahr/ReleaseNotes So it is 5.5 as I understand.


1

So to do that I just removed the folder and removed the projects.local.conf file from /etc/apache2/sites-available. You removed the configuration file, but did not disable the site: sudo a2dissite projects.local # or sudo rm /etc/apache2/sites-enabled/projects.local.conf


3

Looks like the PHP module for Apache is missing. Install it (from this SO question): sudo apt-get install libapache2-mod-php5


0

Download php 5.6 from http://in3.php.net/downloads.php untar/unzip the package. In package type ./configure type make type make install Notice: after ./configure they might ask you to install some other packages clearly written on error log. php 5.6 has major patch which supports more than 2Gib file uploads.


1

Install sudo apt-get install apache2 mysql-client mysql-server php5 phpmyadmin libapache2-mod-php5 You will be asked to input a password by mysql. Make one up. Configuration Edit /etc/hosts sudo nano /etc/hosts Add 127.0.0.2 Yourwebsitename Edit /etc/apache2/apache2.conf sudo nano /etc/apache2/apache2.conf then add the following: ...


0

See the apache log for details. Open a terminal, then use the following commands, one for the error log, one for the apache log. The -F option makes that it keeps the log open and checks for new entries. So you can test and keep this open, and will see errors popping up. tail -F /var/log/apache2/error.log tail -F /var/log/apache2/access.log Depending on ...


0

There shouldn't be any issues with using a VirtualBox for a LAMP stack. Since you haven't mentioned any other uses for Ubuntu you have in your VirtualBox, might I suggest using a server edition of Ubuntu instead - that way you can save on some resources. If you need a graphical environment to change configuration files, you can use something like webmin. ...


0

make sure the incoming traffic on port 80 is not blocked by your firewall or ISP - video demo configure your Router to forward: incoming requests to your External IP port 80 towards your Internal IP port 80 - video demo and test if port open


0

Using the provided information as a base, you don't have PHP installed to run with Apache. The common installation is to use PHP as a module of Apache, what can be easily be achieved using apt-get like this: $ sudo apt-get install php5 $ sudo apt-get install libapache2-mod-php5 $ sudo /etc/init.d/apache2 restart This should solve your problem.


0

What it means is that you don't have curl installed and you need to install curl to use it. This can be done by going to a terminal CTRL + ALT + T then entering sudo apt-get install curl to install curl and sudo apt-get install php5-cli to install php cli. This can be done in one line of code which is sudo apt-get install curl && sudo apt-get ...


1

Downgrading packages is a very difficult problem. You should use ppa-purge for this. But ppa-purge requires that the PPA be still added, so you will have to add back the PPA, and then use it.


0

Installing PHP 5.4.* on Ubuntu 12.04 Simply add the PPA repository: sudo add-apt-repository ppa:ondrej/php5-oldstable And install it: sudo apt-get update sudo apt-get install php5


0

Make a file, call it phpinfo.php or whatever you wish, and put this code in it <? phpinfo(); ?> See also http://php.net/manual/en/function.phpinfo.php


-1

add-apt-repository on Ubuntu 12.10 apparently comes from this one: $ apt-get install software-properties-common After that, and another apt-get update I could find php5-mcrypt



Top 50 recent answers are included