Thursday 19 April 2012

Configure Net2Ftp on Fedora 15 (LoveLock)

 

Go to the Website net2ftp.com

Download the Stable version of Net2ftp form the site net2ftp.zip

Unzip net2ftp

cd /home/arjun/downloads/net2ftp

mv files_to_upload /var/www/html

cd /var/www/html/file_to_upload

Move the files inside files_to_upload into the /var/www/html Directory

Open  Firefox

http://localhost/index.php

This should open the webpage hosted locally.

Do the required customizations according to your interest.

Make few changes in the following files to support large file upload by net2ftp

Php.ini

--> upload_max_filesize, Post_max_size, max_execution_time, memory_limit

PHP.conf

--> LimitRequestBody

Wednesday 18 April 2012

Make PHP Viewable on Web browsers using Apache in Fedora 15 (LoveLock)

 

rpm –Uvh http://rpms.famillecollet.com/remi-release-15.rpm

yum –enablerepo=remi install httpd php php-commom

yum –enable repo=remi install php-pecl-apc php-cli php-pear php-pdo php-mysql php-pgsql php-pecl-mongo php-sqllite php-pecl-memcache php-pecl-memcached php-gd php-mbstring php-mcrypt php-xml

/etc/init.d/httpd start

chkconfig –levels 235 httpd on

vim /var/www/html/test.php

Enter the following under the php file

<?php

phpinfo();

?>

Open the web browser and type this link

http://localhost/test.php

you should be able to see the php configuration details