Build experience problems installing fileinfo extension of a failure

problem found

After the pagoda in the Control Panel, the installation of a series of dependencies in deployment install Apple CMS system

Fileinfo plug-ins are missing, not the next step

 

Install plug

Follow these steps to add:

  Pagoda Control Panel -> Software Store -> Installed -> php -> Settings -> Install extension

Find fileinfo, click Install, under normal circumstances, will be displayed, the installation was successful, to this end

 

Installation failed Solution

Cause of failure

If the memory is less than 1g, might not installed, this is the money going liter memory, too much trouble

Workaround 1

All services are all closed, try to install

Solution 2

Start the host's virtual memory swap:

dd if=/dev/zero of=/root/swapfile bs=1M count=2048

mkswap /root/swapfile

swapon / root / swapfile

echo "/root/swapfile swap swap defaults 0 0" >>/etc/fstab

Then restarts the computer can

To delete a virtual swap memory:

swapoff /root/swapfile

rm -rf /root/swapfile

vi /etc/fstab

Delete / root / swapfile swap swap defaults 0 0 row

Solution 2

Liter with

 

 

 

 

 

Guess you like

Origin www.cnblogs.com/mswei/p/12103650.html