php-install Digest 5 Mar 2002 12:55:23 -0000 Issue 730

Topics (messages 6252 through 6258):

Multiple versions of php+apache+ssl on same live host
        6252 by: dk smith

Help!CGI errors in root web with W2K, IIS5.0, PHP4
        6253 by: Dennis Thideman

Postgres 7.2 Support w php 4.12
        6254 by: Steve Farmer

PHP 4.1.2  and gdbm
        6255 by: Leo

Re: php 4.1.1 install to local user dir
        6256 by: Mikael Petterson (ERA)

Re: PHP 4.1.1 - Problems with popen
        6257 by: Joerg Linder

PHP + Apache (FTP)
        6258 by: Luciano

Administrivia:

To subscribe to the digest, e-mail:
        [EMAIL PROTECTED]

To unsubscribe from the digest, e-mail:
        [EMAIL PROTECTED]

To post to the list, e-mail:
        [EMAIL PROTECTED]


----------------------------------------------------------------------
--- Begin Message ---

Any of you good people out there have extensive experience 
administering LOTS of php versions (on the same host)? If so could 
you take a moment to share some of your methods to managing multiple 
versions of an apache+php+ssl installation? I am currently working 
towards a scenario with multiple versions, simulatenously. It is 
begining to look something like this, with different directory 
hierarchies for each new version of a component. I figure that a 
symlink with a "basename" like "ssl" will point to the current 
version.

  /usr/local/apache -> apache-1.3.22/
  /usr/local/apache-1.3.22/
  /usr/local/apache-1.3.23/
  /usr/local/bin/
  /usr/local/doc/
  /usr/local/etc/
  /usr/local/include/
  /usr/local/lib/
  /usr/local/libexec/
  /usr/local/man/
  /usr/local/openssl-0.9.6b/
  /usr/local/openssl-0.9.6c/
  /usr/local/postgresql -> postgresql-7.1.3/
  /usr/local/postgresql-7.1.3/
  /usr/local/sbin/
  /usr/local/share/
  /usr/local/src/
  /usr/local/ssl -> openssl-0.9.6b/


I want to be able to have a "current version" of a php installation 
operating normally, while building/testing newer versions. I need a 
way to manage each instantiation of apache+php as DSO. I assume this 
will require running the new versions which are being tested via a 
different http port number so as not to conflict with the 
installation on port 80. That is simple... Can folks suggest other 
specific configuration ideas and file system topologies that will 
make this really easy? Than you very much! If people choose to not 
prepare an item for posting and want to simplly e-mail their notes to 
me, then I will post a summary...

thx
dk

--- End Message ---
--- Begin Message ---
Hello I am looking for some assistance PHP running on a W2K server with
IIS5.0

I have been unable to get PHP to function under a root web, It functions
without any problems under a virtual directory.

I have been scouring docs for this problem without any results. Has anyone
encountered this problem and how did they fix it.

Thank you in advance

Dennis Thideman


--- End Message ---
--- Begin Message ---
Hi all,

Going quietly insane here...

Trying to install with postgres

1) Downloaded and compiled postgres-7.2, all went smoothly, db is running

2) Compiled php 4.12, "Checking for Postgres support = NO" !!!

3) added /usr/local/pgsql/lib into ld.so.conf and ran ldconfig.

4) Tried "with-pgsql=/usr/local/pgsql"  - no joy

5) Tried "with=pgsql=/usr/local/src/postgresql-7.2"  - no joy

6) added symbolic links from /usr/local/pgsql/lib/libpq.so.2.2 to 
/usr/local/lib/libpg.so.2.2 (2.1 & 2) as suggested on php site

Still no go !!!

Any help greatly appreciated

Regards
Steve




-- 
-------------------------------------------------
"Minds are like parachutes, they work best when open"
Support free speech; visit http://www.efa.org.au/

Heads Together Systems Pty Ltd http://www.hts.com.au
Email: [EMAIL PROTECTED]     Tel: 612 9982 6767     Fax: 612 9981 3081 
--- End Message ---
--- Begin Message ---
Hello, all!

I have one problem i can't bild php --with-gdbm support.

I have it on my Linux: gdbm-1.8.0-10
and during install there are no errors, but when i try use function in
my program (dbmopen(), dblist().....) PHP write that it is undefined
function.

Thanks!

-- 
ó Õ×ÁÖÅÎÉÅÍ,
 Leo                          mailto:[EMAIL PROTECTED]

--- End Message ---
--- Begin Message ---
Hi,

I have installed php4.0.6 onto my local account. Use the folowing when you do 
configure:

./configure --prefix=PREFIX ........

PREFIX  is /home/<your account>/ then it will install in your home.

Do you have root access? 

//Mikael
           


-----Original Message-----
From: Hunter Vaughn [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, March 05, 2002 12:38 AM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] php 4.1.1 install to local user dir


Back in Feb of last year, someone asked a question that seems similar to
mine, but it doesn't look like he got any answer.  I'm hoping I'm luckier.
I'm trying to install PHP 4.1.1 into my local user directory, and I get
along fine until I get to "make install".  Then I get the following error:

Making install in .
/path/to/user-dir/php-4.1.1/build/shtool install -c -m 0755 php
/user/local/bin/
cp: /usr/local/bin/#INST@168538#: Permission denied
make: The error code from the last command is 1.

Obviously, I'm suffering from lack of permissions in /usr/local/bin, whis is
as it should be.  In the words of the person from last February, "What is it
trying to do and how can I get it to try to do it in the local user's
directory?"

My configure command goes thusly:
CPPFLAGS=-I/path/to/user-dir/include-dir
LDFLAGS=-L/path/to/user-dir/include-dir
./configure --enable-force-cgi-redirect --without-gd --with-mysql=/path/to/u
ser-dir//mysql-dir

If you need more information, let me know and I'll see what I can provide.
I'm not the admin for the server, so I'm a little sketchy on it's details.
Thanks to any who can help.

--Hunter Vaughn ([EMAIL PROTECTED])



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---

> Can anybody please help me with the following problem ?

> I am trying to run a shell command via popen but nothing happens....

> Here's an example:

>   $fd = popen("/usr/sbin/sendmail -t ","w");
>   fputs($fd, "To: [EMAIL PROTECTED]\n");
>   fputs($fd, "From: [EMAIL PROTECTED]\n");
>   fputs($fd, "Reply-To: [EMAIL PROTECTED]\n");
>   fputs($fd, "Subject: Testmail\n\n");
>   fputs($fd, "Just a test.\n");
>   pclose($fd);

> It isn't restricted to sendmail, I can't run any program from PHP (not even a
> simple "ls"...).

> This is a list of items I checked so far:
> - safe_mode in php.ini is off,
> - the user PHP runs under (which is the same as the one apache runs under ?) CAN
>   execute the commands when working at the shell (bash) - sendmail, ls - no
>   problems...

> Is there any option I can turn on for logging what PHP does ?

> My box is running under Suse Linux 6.4, PHP version is 4.1.1., configured to run
> as an apache-module ( './configure' '--with-mysql'
> '--with-apxs=/usr/sbin/apxs').
> Apache is version 1.3

> I'm really frustrated, everything else works so please if you know of anything
> that could help me with my problem - let me know...

> kr,
> Joerg 


I managed to create a workaround: I put the user apache runs under into the
group "root" - it's working now...

I know this is not safe so I'm trying to find another solution...
(although the box is used for intranet in a small company and so security isn't
such a big issue here).

So it seems to have something to do with the rights - is there any directive in
httpd.conf that I should have a look at ?

Any ideas ?

kr,
Joerg

--- End Message ---
--- Begin Message ---
Hey guys!

 I´ve installed the triad (PHP, Apacha, MySQL) in my Win98 computer,
but, I haven´t seen some information reagarding FTP configuration.
 So, I just wonder, how can I config a FTP area  into my apache+php
server?

For while, it´s all!

regards!

--- End Message ---

Reply via email to