I have phpmotion installed. I cannot upload due to this error.
ERROR: Failed to find flength file

I searched the phpmotion forum and did the fix for the php.ini
upload_max_filesize = 100M
post_max_size = 100M
output_buffering = on
max_execution_time = 1000
max_input_time = 1000
session.gc_maxlifetime = 14400

RewriteEngine On


# Turn off mod_security filtering.
SecFilterEngine Off

# The below probably isn't needed,
# but better safe than sorry.
SecFilterScanPOST Off

This error now occurs
extension_dir does not exists /usr/lib/php/extensions/no-debug-non-zts-20060613

I know the path to php is /usr/local/bin/php so I added this to the php.ini file
extension_dir = "/usr/local/bin/php/"

No luck so I tried variations like this all without luck.
extension_dir = "/usr/local/bin/php
/extensions/no-debug-non-zts-20060613"
extension_dir = "/usr/local/bin/php/modules"
extension_dir = "/usr/local/bin/php/extensions"

I am stuck. Without the extension_dir in the php.ini the site displays fine, the uploads don't work.

Hopefully someone else with phpmotion has been through this and knows a fix for me.

Thanks, Brian