[dev] [PEAR] Fwd: apd help
Jan Schneider
jan at horde.org
Sat Feb 8 12:21:42 PST 2003
Zitat von Rick Emery <rick at emery.homelinux.net>:
> I tried to install apd today, but got the error mentioned in the archives
> regarding "phpize failed" (php 4.2.2). So, I downloaded and extracted the
> tarball, ./configure, and make install. php_apd.so appeared in the
> modules
> folder, so I figured I was OK.
Where did you get apd from? I use the CVS version and I think I've seen a
commit message about restoring backwards compatibility wiht older PHP
versions. I don't know if this commit is in the latest release.
I also use PHP 4.3.1-cvs so I can't help you any further than that.
> I added lines to the php.ini file as per the instructions:
>
> zend_extension=/path/to/php_apd.so
> apd.dumpdir=/tmp
>
> Then, I added
>
> apd_set_pprof_trace();
>
> to my script and restarted my web server (apache 1.3.27-2, running under
> Red Hat
> Linux 7.3).
>
> Initially, I got "Document contains no data" when I tried to load the
> page in a
> web browser. So, I changed zend_extension to zend_extension_ts, then
> zend_extension_debug, then zend_extension_debug_ts. With these last
> three, the
> "Document contains no data" message went away, but I get an error saying
> that
> apd_set_pprof_trace() is an invalid function.
Unless you did a debug or ZTS build of PHP the latter three ini settings are
meaningless.
Jan.
--
http://www.horde.org - The Horde Project
http://www.ammma.de - discover your knowledge
http://www.tip4all.de - Deine private Tippgemeinschaft
More information about the dev
mailing list