I have a webpage with this in it:
var_dump(filter_var('bob@example.com', FILTER_VALIDATE_EMAIL));
I read about a problem with filter.so, which I tried to fix with the instructions at http://forum.ivorde.ro/fatal-error-c...cript-t39.html but apparently that didn't work (even after I made clean, re-configured, make, make install -ed) , as shown by the fact that visiting the page with that code in it gives me a Call to undefined function filter_var() error.
Here is my configure:
[FONT="Courier New"]./configure '--prefix=/usr/src/php-5.2.17' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--with-libdir=lib64' '--includedir=/usr/include' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib64/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-mm' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-inline-optimization' '--enable-zend-multibyte' '--with-mysql=/usr' '--with-mssql=/usr/local/freetds' '--with-gd' --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-freetype-dir=/usr '--with-apxs2=/usr/sbin/apxs2' '--disable-all' '--disable-cli' --with-xpm-dir=/usr[/FONT]
I did have to [FONT="Courier New"]ln .libs/filter.so /usr/lib64/php5/extensions/filter.so[/FONT] in order to make sure that filter.so was in the same place with all the other extensions.
How do I check out any errors or warnings php gives when invoked through Apache2handler?