Thursday, September 19, 2013

How to Install and Configure PHP in centOS

yum install php

(above command installs the default compatible version according to that system)


/etc/php.ini

(Configration file of php from we here we can configure php according to our needs you can change memory_limit , upload_max_filesize, post_max_size)



php –i (Check current valus of php)



/usr/local/cpanel/bin/rebuild_phpconf –current


(Provides details of PHP handlers in the server.)



php -v


(To know the version of PHP installed in the server)

No comments:

Post a Comment

Do Write about the Blog and Welcome to the world where open source is every thing :-)