6.0.0-beta1
9/8/25

[#1803] Documentation incoherence: compile php --with-apxs or without it?
Summary Documentation incoherence: compile php --with-apxs or without it?
Queue Horde Base
Queue Version 3.0.4
Type Bug
State Resolved
Priority 1. Low
Owners
Requester bnegrao (at) engepel (dot) com (dot) br
Created 04/15/2005 (7451 days ago)
Due
Updated 05/12/2005 (7424 days ago)
Assigned
Resolved 05/12/2005 (7424 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
05/12/2005 05:29:39 PM Jan Schneider Comment #4
State ⇒ Resolved
Reply to this comment
Instructions have been changed/updated accordingly.
04/18/2005 05:34:51 PM bnegrao (at) engepel (dot) com (dot) br Comment #3 Reply to this comment
I have three comments on this subject:



1) I compiled php with the --with-apxs option and the 
/usr/local/bin/php executable file was installed anyway. And when I 
used the command

"pear install DB", for example, it worked. Are you sure I need to 
recompile php to get this executable there? My php version is   
php-4.3.11.



2) If it's really necessary to compile php twice, I think you could 
remark this in the begining of the php installation section, this way 
people get more acquainted with the procedures they're going to do.



3) It would be handy if you provide a "quick install" summary with 
only the commands needed to install the php correctly, letting the 
detailed installation (with the explanations) after this quick install 
guide. This quick install could be something like:

To install php for horde, download and extract the php package and:

cd ~php-4.X/

./configure --with-opt1 --with-op2 ...

make

make install

pear install module1

pear install module2

...

# compile php again to install the static binary

make clean

./configure

make

make install

etc



This would help to give a broad vision of the installation process.



Thank you for the attention,

Bruno Negrao.
04/16/2005 09:18:04 AM Jan Schneider Comment #2
State ⇒ Not A Bug
Reply to this comment
No. If you read the document closely, you will see that two versions 
of PHP are required, the one that is installed as a web server module, 
and one command line binary required for PEAR. If you have suggestions 
how to improve the wording to make it more clear, let us know.
04/15/2005 09:35:38 PM bnegrao (at) engepel (dot) com (dot) br Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Documentation incoherence: compile php --with-apxs or without it?
Queue ⇒ Horde Base
Reply to this comment
In the horde INSTALL documentation, in the PREREQUISITES part, in 2.2 
you tell we should install php with the configure option 
"--with-apxs". But later, in 3.d, you say that we should not compile 
php with  the '--with-apxs' option,  see the text bellow extracted 
from INSTALL:



"This method of installing PEAR modules requires that your PHP has 
been compiled as a static binary. If you installed PHP as a webserver 
module, recompile PHP without the module option (for Apache, without 
both --with-apache and --with-apxs) and do a make install."



Isn't it confusing? Does horde needs php with-apxs or without it?



thanks,

bruno

Saved Queries