sudo apt-get install php5
sudo apt-get install mysql-server-5.0
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
My personal KnowledgeBase
sudo apt-get install php5
sudo apt-get install mysql-server-5.0
sudo apt-get install libapache2-mod-php5
sudo /etc/init.d/apache2 restart
defaults write com.apple.finder AppleShowAllFiles [ TRUE | FALSE ]
and restarting Finder (note the upcase)
killall Finder
Finder will show/unshow all the hidden files
the error on the script was:
PHP Fatal error: Class 'DOMDocument' not found
on phpinfo()
--disable-dom was one of the preprocessing compiling directives...
solution is easy and straightforward:
yum install php-xml
This is straightforward:
SELECT * FROM tab LIMIT 0, 10
will display the first 10 rows from the table tab.
SELECT * FROM tab LIMIT 5, 2
display rows 6 and 7 (5 is the offset, 2 the count)
And:
select * from (select * from TAB order by id desc limit 5 ) TA order by id;
display the LAST 5 rows.
Perl is a great language, with many packages...
I'm missing a guide, a legenda on them
"Moose - A postmodern object system for Perl 5"
http://search.cpan.org/dist/Moose/lib/Moose.pm
a framework for web applications
http://www.jifty.org/view/HomePage
I know catalyist:
http://www.catalystframework.org/
it does a great job on a MVC point of view, but is overpowering for
90% of my apps
and "dubbed as a cross between Java's JAR and Perl2EXE/PerlApp"
http://par.perl.org/wiki/Main_Page
seems nice!
network.http.pipelining
http.proxy.pipelining
network.http.pipelining.maxrequests