Mounting HTML folder in Centos VirtualBox
I have a particular Linux set up I need to test something on, but I use a Mac, so I use VirtualBox with a Linux VM for the testing. So,…
A bunch of ramblings about PHP programming, JQuery, MySQL and other 'stuff'
I have a particular Linux set up I need to test something on, but I use a Mac, so I use VirtualBox with a Linux VM for the testing. So,…
Using Apache you can stop directory listing with this line in your .htaccess Options -Indexes Basically it says stop access for folders without and index (index.html, index.php, etc)
If you ever find that you are creating a folder with PHP, and its immediately not writeable by Apache, then you’ve probably done what I did with the chmod. It…
So you’ve made changes to your Apache config, but there are hundreds of uses currently online. To reload the config changes without restarting the service or server, you can run…
I found that after install MySQL and Apache/PHP – that the database connections didn’t work from PHP. They worked if I tried to connect using the MySQL client though. Must…
I was having trouble with my VirtualHosts here. Some sites worked but some did not. It was down to the sites that use some sort of framework, and by adding…
I was having trouble with my VirtualHosts here. Some sites worked but some did not. It was down to the sites that use some sort of framework, and by adding…
I always forget the little bit about error reporting, so here is a step by step guide to getting Xdebug running on you Ubuntu PHP installation. 1) Install PECL (if…