php-devel problem

Najib

New member
Joined
Apr 9, 2008
Messages
1
Dear DA users,

Yesterday i upgraded from php4 to PHP 5.2.5 and after that ffmpeg-php stopped working.

I fixed some issues but after that i was getting an error after restarting httpd (its fixed, dont ask me how).

now when i do php -v it gives me the following output:

Code:
PHP Warning:  PHP Startup: UåVSè: Unable to initialize module
Module compiled with module API=20020429, debug=0, thread-safety=0
PHP    compiled with module API=20060613, debug=0, thread-safety=0
These options need to match
 in Unknown on line 0
PHP 5.2.5 (cli) (built: Apr  9 2008 11:53:59)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies

i think i have to recompile ffmpeg-php (by using phpize) but then again it compiles for the old (php4 version).

Anyone familiar with this issue?

Thanks
 
Did you run "make install" when you were compiling PHP or did you use the custombuild script to build it?

When "make install" is run in the php compilation, it generates a phpize file and installs it along with headers.

When you compile ffmpeg-php use the --with-phpize=/path/to/phpize option in ./configure. The default location should be /usr/local/bin/phpize or /usr/bin/phpize.
 
Back
Top