Free File Hosting

BizHat started Free File Hosting that allow users to upload files of size upto 200 MB. There is no file size limits. You can upload any number of files and use as much as storage you need.

You will also get paid to use the free file hosting service.

http://uploads.bizhat.com

Comments

photopost gallery bulk upload error

On photopost gallery at http://gallery.bizhat.com/ , when uploading many files at a time, it just show a blank page.

I checked the web server error log and found following error.

[root@server32 httpd]# tail /var/log/httpd/error_log
[Mon Aug 20 15:31:40 2007] [error] [client 59.93.22.186] PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 44 bytes) in /home/bizhat/gallery/pp-inc.php on line 1245, referer: http://gallery.bizhat.com/bulkupload.php?ppaction=addphotos&do=preview&photopath=645&upuser=Nokia&notify=no&defcat=2037&numprocess=10&deftitle=&defdesc=&keywords=&updir=%2Fhome%2Fbizhat%2Fgallery%2Fuploads%2F101374%2F&processall=no&dthumbs=yes
[root@server32 httpd]#

This is due to allowed memory for a php process is reached and process get killed.

Solution is increase memory in php.ini

[root@server32 httpd]# php -i|grep memory
memory_limit => 16M => 16M
[root@server32 httpd]#

To do this, edit /etc/php.ini

vi /etc/php.ini

FIND

memory_limit = 16M

Replace With

memory_limit = 64M

Now restart Apache

service httpd restart

Comments

Upgrading Perl on Cpanel Server

Today i upgraded Perl on Cpanel server. The version of perl installed on the server was

[root@host scripts]# perl -v

This is perl, v5.8.0 built for i386-linux-thread-multi

You can download latest version of Perl from Cpanel web site

http://layer1.cpanel.net

Latest version of perl available now is

http://layer1.cpanel.net/perl588installer.tar.gz

So lets download it

cd /usr/local/src
wget http://layer1.cpanel.net/perl588installer.tar.gz

Untar it

tar -zxvf perl588installer.tar.gz

Go to perl folder

cd perl588installer

Run install

./install

After Upgrade

[root@host perl588installer]# perl -v

This is perl, v5.8.8 built for i686-linux

Now we need to check if all perl modules are properly installed, then upgrade cpanel with upcp.

/scripts/checkperlmodules
/scripts/upcp –force

Comments

Downloading from Megaupload with out toolbar

MegaUpload.com is a popular file upload and share site. For free members it ask for installing Toolbar to download files from the site.

If you are using firefox, you can do the following to get access to file downloads with out Megaupload toolbar.

1. Type in the address bar - about:config

2. Type in the filter box - general.useragent.extra.firefox

3. Double click on it.

4. Type this in the box that appeared - Firefox/2.0 MEGAUPLOAD 1.0

Comments

« Previous entries