CyberTek - the future at the present!
Google

Enable PCNTL form in php

Posted by: admin (Tue 14)

To enable support PCNTL in php5 (tested on Ubuntu 10.10) in the first instance it is necessary to install php5-cli and php5-dev, of course you must meet all the required dependencies from the system:

# Sudo apt-get install php5-dev php5-cli

After we have to put in the path where you can find the source of the form that we want to fill in:

# Cd / etc/php5/cli/php5-5.3.3/ext/pcntl

The path may be different, depending on the distro and version of php (/ etc/php5/cli/php5-xxxxx/ext/pcntl). But after we pass the final steps:

# Phpsize

#. / Configure

# Make

# Make install

Alternatively you can also make install to copy by hand the module you just compiled:

# Cp modules / pcntl.so / usr/lib/php5/shared_location_modules

Finally add the. Ini to load the php our form:

# Echo "extension = pcntl.so"> / etc/php5/conf.d/pcntl.ini

Do not forget to restart apache then to apply our changes:

# / Etc/init.d/apache2 restart

Published in: apache , development , php , tips , ubuntu

Add A Comment

Spam protection by WP Captcha-Free

Powered by CyberTek - Remote Assistance