problems in installing php with mysql
hi
i tried to install php using following command :
--------------------------------------------------------------------------------------
'./configure' '--enable-versioning' '--enable-memory-limit' '--with-layout=GNU' '--with-config-file-scan-dir=/usr/local/etc/php' '--with-mysql=/usr/local' '--disable-all' '--with-regex=php' '--disable-cli' '--with-apxs2=/usr/local/sbin/apxs' '--prefix=/usr/local' 'i386-portbld-freebsd5.4'
--------------------------------------------------------------------------------------
after running "Make" and "make install" when i tried to restart apache, it gave me the following error:
--------------------------------------------------------------------------------------
Syntax error on line 274 of /usr/local/etc/apache2/httpd.conf:
Cannot load /usr/local/libexec/apache2/libphp4.so into server: /usr/local/libexec/apache2/libphp4.so: Undefined symbol "mysql_drop_db"
--------------------------------------------------------------------------------------
Line number 274 in httpd.conf is :
LoadModule php4_module libexec/apache2/libphp4.so
--------------------------------------------------------------------------------------
In the above configure command if i remove the path to mysql i.e.
'--with-mysql' instead of '--with-mysql=/usr/local'
then apache does not give any error. But i don't want it to do that way.
Please help.
|