RE: permissions on apxs

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Jeff,

Are you configuring your PHP with ./configure --with-apxs=/usr/local/sbin/apxs ?

Specifying the full path to APXS in your configure may solve the problem.

Also, it sounds like you installed Apache using FBSD ports. You may want to install the port for PHP instead of compiling it.

When using FBSD, I use ports for the most part, however, when it comes to Apache and PHP, I prefer installing both by hand. It seems to be more manageable in the long run and tends to be a "smoother" install.

If that doesn't work, let me know. We'll need to move the conversation to the php-general mailing list. I'm not on the list but can resubscribe if need be.

Hope this helps,

Kris

From: jekillen <jekillen@xxxxxxxxxxx>
Reply-To: users@xxxxxxxxxxxxxxxx
To: users@xxxxxxxxxxxxxxxx
Subject:  permissions on apxs
Date: Sat, 31 Mar 2007 17:53:00 -0800

Hello;
I am trying to install php with apache as a DSO
on FreeBSD v 6.2 . ./configure bails out complaining
about apxs permission denied. What could be the possible
causes?
The script is in /usr/local/sbin which has root ownership and
group wheel owner ship and is set executable and readable
by owner, group, other (rwxr-xr-x)
Owner ship of the php source dir and files are all root,wheel
I am doing this as root.
Any other possibilities?
I did supply Apache ./configure --with-perl=/usr/bin -- etc....
should I have done --with-perl=/usr/bin/perl ?
I have not checked root path.. I will do that now.... It is in the root path.
But I had to log out and back in for it to take effect.
I redid ./configure <with options> and got the rest of the
configure  error message. It looks like I do have to add perl to the
end of the line -with-perl=/usr/bin/perl
One other question:
I tried putting all the configure options in a file and reading the
file into .configure with file redirect, I.E.
./configure < config_file.txt   for Apache
but it did not seem to work. Is this typical for configure scripts
or is something wrong?
It is sure better to do it that way so I do not have to retype the
whole sting of options every time I want to do something differently.
Thank in advance
Jeff K


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


_________________________________________________________________
Interest Rates near 39yr lows! $430,000 Mortgage for $1,399/mo - Calculate new payment http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9632-18466&moid=7581


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux