- iPhone (2)
- Learning (41)
- Linux (4)
- Debian (1)
- Mac Terminal / Linux (5)
- Other Stuff (1)
- Programming (66)
- Slim Framework (1)
- WordPress (5)
On a native install on Mac, to add a vhost:
If you haven’t done this one time step, do this first to enable vhosts:
sudo nano /etc/apache2/httpd.conf
Then uncomment the line that includes the vhost config file:
# Virtual hosts #Include /private/etc/apache2/extra/httpd-vhosts.conf becomes: # Virtual hosts Include /private/etc/apache2/extra/httpd-vhosts.conf (Remove # before Include) Hint: To quickly find the line, use ctrl-w in nano to search for "Virtual hosts"
Next add an entry to the hosts file
sudo nano /etc/hosts
To add dev.localhost, do this:
127.0.0.1 localhost dev.localhost
Next, do this:
sudo nano /etc/apache2/extra/httpd-vhosts.conf
Then add a new entry for dev.localhost:
(This is for Apache 2.2)
<VirtualHost *:80> ServerName dev.localhost DocumentRoot "path goes here" ServerAdmin firstname.lastname@example.org <Directory "/path goes here"> Options Indexes FollowSymLinks AllowOverride All Order allow,deny Allow from all </Directory> </VirtualHost>
(This is for Apache 2.4)
<VirtualHost *:80> ServerName dev.localhost DocumentRoot "path goes here" ServerAdmin email@example.com <Directory "/path goes here"> Options Indexes FollowSymLinks AllowOverride All Require all granted </Directory> </VirtualHost>
[Note the subtle differences between Apache 2.2, and 2.4. More info here ]
Also, be sure to remove the two dummy-host entries if they are there. Otherwise, you’ll get a warning about them not being found when you restart apache.
I attended the php[tek] 2013 (tek13) conference for the first time this year. After coding ColdFusion for the last 12 years, I am now diving into PHP. I have not been involved in the ColdFusion community, so when the decision was made to switch to PHP, I decided that I would make community a major part of that conversion.
Tek13 was a great experience for me. I met a lot of great people, and learned a lot of tools and techniques centered around the PHP universe. I was told that I chose the right conference for meeting the community. Apparently, the php[tek] conferences are more centered on community than some other major conferences.
There are a bunch of great people in the PHP community who are willing to offer their time teaching, both by speaking at conferences and by helping out on IRC and other channels.
The content taught was in many cases more advanced than I’m ready for at this point, but more than one person encouraged me to sit in on some of the advanced topics anyway. The idea was that someday when I need that info, I’ll recall some of the information.
I think the most valuable thing I got from the conference was all of the great people I met. So many people were willing to welcome me into the community. It was also great hearing the speakers present. Each one brought something unique to the conference, and their willingness to share was very valuable.
The sponsors that made the conference possible were really friendly. I may have even found a company or two that we can use at my workplace.
As a result of going to the conference:
I really hope to be able to attend this conference each year, so that I can continue to build friendships in the community and learn new things. Eventually, I hope to be a speaker there.