I have handled the problem twice before adding the php sockets module in wdlinux, but I have never had time to make a record. When developing a QQ space application, you need to use socket, so an error undefinedfunctionsocket_create () will be reported. okay, start to install the module. System...
Add the php sockets module in wdlinux This problem has been handled twice before, but there is no time to make a record.
When developing a QQ space application, a socket is required, so an error is reported.
Undefined function socket_create (); okay, start to install the module.
The system is centos6.3 64-bit
The command for obtaining the wdlinux installation package is as follows:
Tar-zxvf lanmp_laster.tar.gz go to the directory cd lanmp_laster and check that there are two php-related packages.
Continue to decompress
Tar-zxvf php-5.2.17.tar.gz in Directory
Cd php-5.2.17 into extended directory cd ext
View the sockets Directory
Copy it to the following Directory:
Cp-r sockets // www/wdlinux/apache_php-5.2.17/include/php/ext/enter the Directory
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.