Once phpMyAdmin is installed, it's best to deny access to the /phpmyadmin path from the internet as many automated scripts will be scanning your web server for potential routes into your system. I've seen this activity hitting my servers as soon as they are publicly available.
Lock down phpMyAdmin connections to allow from 127.0.0.1 only - we will use an SSH tunnel to connect.
After a bit of reading about the details, formatting of messages, and security of SMTP servers, I found the answer I was looking for here. It looks like a small sacrifice has to be made in masking the sender's email address, and just using the site email address - but this was fine for me, and it works.
Whilst trying to run my php scripts from the command line, I kept getting the following error:
PHP Deprecated: Comments starting with '#' are deprecated in /etc/php5/cli/conf.d/mcrypt.ini on line 1 in Unknown on line 0
Fortunately this is nothing to worry about and is easily solved
I had an existing php script that I wanted to run from the command line.
First I had to install php5 and php-cli..
Whilst trying to export some data to a file from MySQL using phpmyadmin with the SELECT * INTO OUTFILE command, I received the following error:
#1 - Can't create/write to file '/path/to/file' (Errcode: 13)
After fixing the phpmyadmin (Errcode:13) when selecting data into an outfile 'manually' using phpmyadmin, I thought doing the same (SELECT * INTO OUTFILE) from my php (cli) script would be quite straighforward. It is - as long as you have the FILE privilege set for data under 'Global privileges'!
- Sign up with Amazon and EC2
Installation notes at http://s3tools.org/repositories#note-deb
Our arrival on Ihla do Mel (Honey Island) was delayed by one day as we had been unable to draw out any cash from the ATMs in Paranagua – it was a Sunday and all banks we tried seemed to have the same fault: no connection to the VISA network. Fortunately by the time Monday morning came around the problem was fixed, we had money in our pocket, and we were able to catch the 11am boat to the island. The advertised 1.5 hour journey turned into a 2.5 hour journey, but it was pleasant enough if not a bit noisy with the chug chug chugging of the old engine.