I am trying to enable-ftp.

./configure --enable-ftp --sysconfdir=/etc --enable-zip --enable-sockets --with-config-file-path=/etc --with-config-file-scan-dir=/etc/php.d --enable-soap --with-jpeg-dir=/usr/lib --with-png-dir=/usr/lib --with-gd --enable-gd-native-ttf --with-freetype-dir=/usr --with-mysql --with-sqlite --with-zlib --with-pgsql=shared --enable-pcntl --with-curl --with-apxs2=/usr/sbin/apxs --with-pear=/usr/share/pear --enable-mbstring --enable-mbregex --with-libxml-dir=/usr/local --with-openssl --with-mysqli=/usr/bin/mysql_config --with-pdo-mysql --with-mcrypt --enable-shared --enable-static --with-mbstring=shared --libdir=/usr/lib64 --with-libdir=lib64

make

make install

Then when I try to restart httpd, I got the following error

Starting httpd: httpd: Syntax error on line 206 of /etc/httpd/conf/httpd.conf: Cannot load /usr/lib64/httpd/modules/libphp5.so into server: /usr/lib64/httpd/modules/libphp5.so: undefined symbol: php_ftp_module_entry

Help please!

    Write a Reply...