ViniciusMuniz.com - Programação, linux e afins.
ViniciusMuniz.com - Programação, linux e afins.
  • Linux
  • PHP
  • Contact
PHP, Programming, Uncategorized

How to iterate through multidimensional array with php

January 28, 2014by viniciusNo Comments

One more tip for those who are starting in php , continuing the previous tutorial. Let us understand how to sweep a multidimensional array with php

foreach

It is much simpler than in other languages. Which you would have to put two is like talking about … In php you have the foreach , which scans the array, and iterates automatically.

Continue reading
Linux, PHP, Programming, Uncategorized

Starting in PHP simple and easy way

January 28, 2014by viniciusNo Comments

php

When I announced this blog as a technology blog. And in order to pass a piece of programming, I just never have time. For this reason, I spent this time preparing a programming related material to make up for lost time. As for reviewing’m releasing at least one post a week, with tips php javascript jquery .. among others.

Continue reading
CentOS, Debian, Linux, MySQL, Programming, Ubuntu, Uncategorized

Correcting mysql.sock connection error

January 28, 2014by viniciusNo Comments

Resolvendo problema de socket no mysql

The problem

For Several times this has happened to me, always install a new server, or personal machine. I install mysql , and time to connect:

Continue reading
Linux, Ubuntu, Uncategorized

Installing lighttpd on linux easily

January 28, 2014by viniciusNo Comments
Instalando lighttpd

Instalando lighttpd

There is always a doubt, and a great discussion about the best web server . I think it’s complete nonsense .. all (those who pay) always have an application which does well.

Continue reading
Linux, PHP, Programming, Ubuntu, Uncategorized

Enabling PHP on lighttpd without difficulties

January 28, 2014by viniciusNo Comments
lighttpd pagina padrao

lighttpd pagina padrao

To enable php on lighttpd, is very simple.

The facility is geared to ubuntu -. http://ubuntu.com , but in other distributions, is basically the same thing

We use the fastcgi- http://www.fastcgi.com/ for this connection between the two. Remembering that php has to be CGI.

Continue reading
Linux, PHP, Programming, Uncategorized

zend framework 2 with lighttpd

January 28, 2014by viniciusNo Comments

Configuring Zend Framework 2 with lighttpd

As a basis we use the ubuntu , but serves to any distribution, just know locate the configuration file lighttpd (lighttpd.conf)

Accessing lighttpd.conf

In ubuntu the file is located in / etc / lighttpd in other distributions.

Continue reading
CentOS, Debian, Linux, Ubuntu, Uncategorized

Update date and time in linux

January 28, 2014by viniciusNo Comments

There are several ways of update date and time in linux , among which the simplest are:

For server

Easier however, there is the need to have internet connection, and ntpdate installed.

If you do not have ntpdate installed you can install from source: http://www.ntp.org/downloads.html , or whether you have the aptitude:

 aptitude install ntpdate 
Continue reading
Linux, Ubuntu, Uncategorized

Installing Oracle Java in Ubuntu via PPA 8

January 28, 2014by viniciusNo Comments

Installing Oracle Java in Ubuntu via PPA 8

The java 8 is yet to come, but we can already test it, and ubuntu is even simpler to install it.

Continue reading
Linux, Ubuntu, Uncategorized

How to solve problem with languages of ubuntu

January 28, 2014by viniciusNo Comments

A little over two weeks, I was having a problem with a server, it always showed me the error:

 perl: warning: Setting locale failed.
perl: warning: Please check your que locale settings:
LANGUAGE = "en_US",
LC_ALL = (unset),
LC_MESSAGES = "en_US.UTF-8"
LC_COLLATE = "en_US.UTF-8"
LC_CTYPE = "en_US.UTF-8"
LANG = "en_US.UTF-8"
are supported and installed on your system. 
Continue reading
CentOS, Debian, Linux, Subversion, Ubuntu, Uncategorized

Main Subversion commands

January 28, 2014by viniciusNo Comments

Continuing the previous topic .. the main Subversion commands.

I think anything more than a simple “help” to learn all the commands. The “help” of subversion, is cooler than the others because it provides help with svn commands. For example:

 svn help update 
Continue reading
Page 1 of 212»
  • English
  • Português

Subscribe!

Thank you!

Recent Posts

  • What is Iptables, what it’s for, and how to use?
  • How to send a POST request without form
  • TTY: How to reduce the number of terminals and increase performance
  • TTY: What is? What’s the use? How to use it?
  • How to iterate through multidimensional array with php

Recent Comments

  • Vinicius Muniz on How to send a POST request without form
  • jeeja.biz (@jeejabiz) on How to send a POST request without form
  • a on How to send a POST request without form
  • Comandos linux que você deveria saber on 18 Linux commands you should know
  • TTY: How to reduce the number of terminals and increase performance on TTY: What is? What’s the use? How to use it?

Tags

array at date date in linux java java in ubuntu Linux Linux linux commands linux permissions mysql mysql.sock nmap ntp performance php php programming programming start php tips php ubuntu ubuntu languages zend zend framework zf zf2

Categories

  • CentOS
  • Debian
  • Linux
  • MySQL
  • PHP
  • Programming
  • Subversion
  • Ubuntu
  • Uncategorized

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org