Chapter 6: Install PHP 5
Installation of PHP 5 via command line.
Reason I prefer command line interface here is because of many functions do not work properly when done via a browser interface. Like from the Webmin Command line.
On the other hand the Slicehost.com browser based command console can be used without any issues as shown throughout this tutorial.
|
#yum install php php-devel php-gd php-imap php-ldap php-mysql php-odbc php-pear php-xml php-xmlrpc curl curl-devel perl-libwww-perl ImageMagick libxml2 libxml2-devel |
The above command is installing quite a few packages and the related dependencies will be downloaded automatically.
---I got 166 packages that need to be installed.
Accept install: y
That’s pretty much it for PHP install and for it to work with most popular database MySQL.
(The package 'php-mysql' in the above command line is the connector for php-MySQL. This is what makes php communicate with the MySQL database.)
One setting that MIGHT need to be enabled in php.ini to accept global variables. It’s a security issue but some old codes out there might not work if not turned on.























If you're just starting out and want to know how to sell online then our 100% free email course can help.
Comments
hmm
Your posting is very good and theme base for which it is liking to every people. Thanks a lot!!! writing help | writing products ( assignment writing )
great
categories: ignorant and shameless. To test our theory, we turn today to our readers. And who better to start with but the crown prince of right-wing nut jobs, Glenn Beck? book report writing ( coursework writing )
Thank you for another great
Thank you for another great article. Where else could anyone get that kind of information in such a perfect way of writing? I have a presentation next week, and I am on the look for such information...
Copy Wii Games
Copy PS3 Games
How to Copy Wii Games
How to Backup PS3 Games
How to Backup Wii Games
How to Backup Xbox 360 Games
Post new comment