php-install Digest 1 Jun 2003 20:00:25 -0000 Issue 1403
Topics (messages 10989 through 10991):
installing php4 under OpenBSD 3.3 with mysql support
10989 by: Marcus Fredriksson
10991 by: Marcus Fredriksson
Upgrade 4.3.1 -> 4.3.2: CGI does not work anymore
10990 by: Sven Flossmann
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 ---
Hi all,
I have a freshly installed OpenBSD 3.3-box with mysql 3.23.55 and wish to
compile and install php4 from the ports-tree. The latest php4 in the
ports-branch for OpenBSD 3.3 is PHP 4.2.3. How do I compile php with mysql
support without having to build everything under
/usr/ports/www/php4/extensions/?
TIA,
///Marcus
--- End Message ---
--- Begin Message ---
"Marcus Fredriksson" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> Hi all,
>
> I have a freshly installed OpenBSD 3.3-box with mysql 3.23.55 and wish to
> compile and install php4 from the ports-tree. The latest php4 in the
> ports-branch for OpenBSD 3.3 is PHP 4.2.3. How do I compile php with mysql
> support without having to build everything under
> /usr/ports/www/php4/extensions/?
I'll answer myself on this one. :-) Upon inspecting the makefile in
/usr/ports/www/php4/extensions, I found that the possible FLAVORS were
"inverted". That is, in order to compile php4 with mysql-support but nothing
else, I needed to set the FLAVOR environment variable to "no_pdf no_pgsql
no_shmop no_snmp no_sybase_ct no_.............." and so on.
///Marcus
--- End Message ---
--- Begin Message ---
Hi,
we want to upgrade our PHP from 4.3.1 to 4.3.2 but now we have an problem.
We are using apache 2.0.46 with mod_php4. For some customers we are using
CGI-Version of PHP so that userid can be switched to the customers userid.
This works fine, but if php 4.3.2 module is loaded to apache, CGI-PHP does
not work anymore. All PHP-Scripts are executed from that module only.
I looked at changes file of php 4.3.2, and there is to see, that "new
Apache 2.0 SAPI module" was added. I think, this could be the problem.
At now we are using following config:
Global:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php .phtml .php3
if we want to use cgi-version of php we are using following code snippet in
VirtualHost-Section:
Action php3-script /cgi-bin/php
Action php-script /cgi-bin/php
AddHandler php3-script .php3
AddHandler php-script .php
Does anyone has a solution to our problem?
May be disabling modules for virtualhosts?
Thanks,
regards Sven
--- End Message ---