Re: Problems Compiling (lots of) extensions with php 5.1-beta3
| From: | Gareth Ardron | Date: | Sun, 31 Jul 2005 00:53:44 +0000 |
| Subject: | Re: Problems Compiling (lots of) extensions with php 5.1-beta3 | ||
| References: | 1 2 3 4 5 | Groups: | php.pecl.dev |
| Request: | Send a blank email to pecl-dev+get-2697@lists.php.net to get a copy of this message | ||
Rasmus Lerdorf wrote:
I think his point was that anything he builds gives that error. Gareth, make sure that the phpize you are running and the header files the extensions pick up match the version of PHP you are loading things into. I have multiple versions of everything installed and I tend to use --with-php-config=/usr/local/php5/bin/php-config for example, to build extensions against php5.Yeah, unfortunatly, I just reinstalled this machine 2 days ago, so I know it's the only copy of php on here. running phpize gives the following: Configuring for:
PHP Api Version: 20041225 Zend Module Api No: 20050617Zend Extension Api No: 220050617 Which looking phpinfo() shows the following
PHP API 20041225 PHP Extension 20050617 Zend Extension 220050617So, everything there looks like its matching properly. I've tried, just to be on the safe side, running configure --with-php-config=/usr/bin/php-config, and still get exactly the same result. Ran updatedb; locate php-config, and sure enough - it's the only version on the system.