Tag Info

Hot answers tagged

4

Force the installation of version 5.5.9+dfsg-1ubuntu4 sudo apt-get install php5-common=5.5.9+dfsg-1ubuntu4 Version 5.5.9+dfsg-1ubuntu4 can't be installed in the normal way, because your installed version has a higher version number. After reading your comments and your updated question, your system is pretty shot up. Why do you use PPAs or install deb ...


2

A .sql is a text file. more {file}.sql will show you the contents and instructions that will be executed if you feed MySQL the file. You do that with ... mysql -u {user} -p {database} < {file}.sql Careful though. This will add the file contents to {database} and can potentially kill your database. Therefor first examine the file and see what is in it. ...


1

From http://php.net/manual/en/intro.blenc.php, just to have said it: Warning This extension is EXPERIMENTAL. The behaviour of this extension including the names of its functions and any other documentation surrounding this extension may change without notice in a future release of PHP. This extension should be used at your own risk. First, of course, ...


1

@the_seppi answer is good and detailed and will probably do you, but I would like too add The quick way,using a terminal sudo -i apt-get install php5-dev build-essential apt-get install php-pear pecl download channel://pecl.php.net/blenc-1.1.4b tar xzf blenc-1.1.4b.tgz cd blenc-1.1.4b phpize Before you launch the configuration script you can change ...


1

Try to do this: mkdir /var/log/apache2 touch /var/log/apache2/error.log touch /var/log/apache2/access.log chown -R root:adm /var/log/apache2 chmod 750 /var/log/apache2 chmod -R 540 /var/log/apache2/* service apache2 restart But thats not a normal behaviour of apache2. May be you should check your server with the programm: chkrootkit - perhaps it was ...


1

LAMP, Linux, Apache, MySQL, PHP... as package doesnt have the newest releases of everything. Im sure someday there will be a LAMP package with php5.6 but not currently evidently. So that puts you with installing LAMP packages individually from source, or add a repo that includes php5.6. You can try this page for installing php5.6.


1

For older versions of MySQL you would go to: MySQL Community Version And for PHP you would go to php.net/releases


1

It seems your configuration lacks a port 80 forwarding from your router to 1.1.1.1:80.


1

I'd choose this approach: #!/bin/bash path='/path' line1='foo' line2='bar' while read f; do if ! [ "$(grep "$line1" "$f")" ] && ! [ "$(grep "$line2" "$f")" ]; then echo "$line1" >> "$f" echo "$line2" >> "$f" fi done < <(find "$path" -type f -name 'php.ini') Some notes: $path is declared / initialized ...


1

I recommend Codiad - dark theme, git, terminal, easy setup without big dependencies.


1

Setting up a LAMP server, I go in the following order; 1. Apache, 2. PHP, 3. MySQL So for you I would run the following commands: sudo apt-get install --reinstall apache2 sudo apt-get install --reinstall php5 It won't remove the current configurations for either Apache or PHP but should at least be a bit more specific to troubleshoot then dpkg ...


1

You need to sudo apt-get install libpq5 to install the postgresql client libraries. If you had installed the pgsql apache module using a package (sudo apt-get install libapache2-mod-auth-pgsql), the libpq5 package would have been installed automatically, whic makes me think you installed it "by hand" somehow. Anyway, installing libpq5 should help.



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