嗨,我已经安装curl和curl开发,但我仍然无法curl与PHP的工作。 我的PHPconfiguration行:
'./configure''--with-apxs2 = / usr / local / apache2 / bin / apxs'--with-gd''--with-mysql''--with-zlib''--enable-mbstring '--with-pdo-mysql''--prefix = / php-5.3.3''--with-config-file-path = / php-5.3.3''--with-mysqli = / usr /斌/ mysql_config”
安装卷发包:
curl.i386安装了7.16.4-1.fc7 curl-devel.i386安装了7.16.4-1.fc7
安装curl#yum curl之后,它应该自动启用它的PHP,但curl仍然不能在PHP中。
提前致谢。
你需要添加–with-curl到php的configuration
或者尝试一下,因为你已经编译如果你仍然有来源..不知道
cd php-5.3.3/ext/curl phpize ./configure make make install
然后在php.ini中启用扩展。 这将是.so文件不是.dll