logo       

APC 3.0.12p2 Installation Questions and Problems: msg#00059

php.pecl.devel

Subject: APC 3.0.12p2 Installation Questions and Problems

Which Installation instructions should I follow for compiling PHP 4.4.4 with
APC 3.0.12p2?

In the INSTALLATION file for PHP 4.4.4, it states:
----
Compiling PECL extensions statically into PHP

To statically include the extension within the PHP build, put the
extensions source into the ext/ directory found in the PHP source. For
example:

$ cd /your/phpsrcdir/ext
$ pear download extname
$ gzip -d < extname.tgz | tar -xvf -
$ mv extname-x.x.x extname
$ rm package.xml [not included in APC instructions]

This will result in the following directory:

/your/phpsrcdir/ext/extname

From here, build PHP as normal:

$ cd /your/phpsrcdir
$ ./buildconf [I had to use --force]
$ ./configure --help
$ ./configure --with-extname --enable-someotherext --with-foobar [I used
--enable-apc]
$ make
$ make install
-----

In the INSTALLATION file for APC, it states:

-----
+------------------------+
| QUICK INSTALL (Static) |
+------------------------+

APC will not successfully compile on all systems as a DSO. If you run into
problems using the DSO quick install, you can try to compile it statically
into PHP. (The DSO install is recommended, though.)

These instructions assume the current directory is the root of the PHP
source
tree, and that you have already configured PHP by running its bundled
configure script.

$ cd ext
$ gunzip -c apc_x.y.tar.gz | tar xf -
$ cd ..
$ ./buildconf [I had to use --force]
$ ./config.nice [I used --enable-apc]
$ make
$ make install
-----

No matter what conbination I use, make test fails:

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Bug #35239 (Objects can lose references) [tests/lang/bug35239.phpt]
APC: apc_store/fetch with strings [ext/apc/tests/apc_001.phpt]
APC: apc_store/fetch with objects [ext/apc/tests/apc_002.phpt]
APC: apc_store/fetch with objects [ext/apc/tests/apc_003.phpt]
Bug #24142 (round() problems) [ext/standard/tests/math/bug24142.phpt]
Bug #25694 (round() and number_format() inconsistency)
[ext/standard/tests/math/bug25694.phpt]
=====================================================================

What am I doing wrong?

I can send the full test report, if you want it.

Thanks.

Jim
-----
Jim Hermann <hostmaster@xxxxxxxxx>
UUism Networks <http://www.UUism.net>
Ministering to the Needs of Online UUs
Web Hosting, Email Services, Mailing Lists
-----



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise