I'm having probs getting the swf functions to work with PHP4.0.4 on Cobalt Linux.
I have my libswf items in /usr/local/swflib/
and added that path in ld.so.conf and updated my Linux library listings.
I ran ./configure --prefix=/usr --with-exec-dir=/usr/bin --with-apxs=/usr/sbin/apxs --with-openssl=/usr/local/ssl --with-mysql=/usr/local/mysql --with-gd --with-gettext --enable-safe-mode --with-config-file-path=/etc/httpd --enable-magic-quotes --with-regex=system --with-pgsql=shared --with-ldap --with-imap --enable-filepro --enable-wddx --enable-calendar --enable-track-vars --enable-debug --with-interbase=shared --enable-ftp --enable-trans-sid --with-curl=/usr/local/bin --enable-versioning --with-zlib --enable-sockets --with-ttf=/usr/lib/libttf.so --enable-freetype-4bit-antialias-hack --with-swf=/usr/local/swflib --with-pdflib=/usr/lib/tcl8.0/pdflib --with-mcrypt=/usr/local/lib
And it built as a Dynamic Module.
I ran make, waited and then make install... no problem there.
Then, I check for:
LoadModule php4_module /usr/lib/apache/libphp4.so
AddModule mod_php4.c
and
AddType application/x-httpd-php .php
are correctly placed in my httpd.conf file and restart Apache.
I can get my script with phpinfo() to run fine and it reports that swf is enabled.
But, when I try to use any swf functions, I get a page not found error.
My thoughts are that something's happening between PHP and Apache here since PHP does not report a failure, Apache does however; by not recognizing the request.
Any suggestions/ideas?