php-install Digest 19 Oct 2002 23:31:06 -0000 Issue 1077

Topics (messages 8856 through 8857):

PHP where are you?
        8856 by: Sean M Lentner

Running PHP Pages
        8857 by: Nick

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 ---
Ripped from:

How to install php on OpenBSD

http://php3.de/manual/en/install.openbsd.php

$ cd /usr/ports/www/php4
$ make show VARNAME=FLAVORS
 (choose which flavors you want from the list)
$ env FLAVOR="imap gettext ldap mysql" make install
$ /usr/local/sbin/php4-enable

I have tried 5 times to isntall this on 5 clean installs of OpenBSD 3.1,
I really have no clue what I am doing wrong. It compiles correctly and installs
additional software which I now see in /usr/ports/packages/i386/All but still 
PHP eludes me in the /usr/local/bin directory.

Someone please point me to what I am doing wrong?

Here is a list of packages installed

pkg_info

bash-2.05a         GNU Bourne Again Shell
libtool-1.3.5p3    generic shared library support script
autoconf-2.13      automatically configure source code on many Un*x platforms
p5-DBI-1.21        unified perl interface for database access
php4-pear-4.1.2    collection of base classes for common PHP tasks
libiconv-1.7       character set conversion library
gettext-0.10.40    GNU gettext
c-client-4.44      University of Washington's c-client mail access routines
openldap-client-2.0.23 Open source LDAP software (client)
mysql-client-3.23.49 multithreaded SQL database (client)
php4-4.1.2-gettext-imap-ldap-mysql server-side HTML-embedded scripting language
p5-DBD-Msql-Mysql-1.22.19 MySQL drivers for the Perl DBI
mysql-server-3.23.49 multithreaded SQL database (server)
mhash-0.8.13       strong hash library
libmcrypt-2.4.15   interface to access block/stream encryption algorithms

Thanks

--- End Message ---
--- Begin Message ---
Hi all,
I am new to news groups and PHP. I am running PWS on Windows ME. I have PHP
4.2.3 installed, but when I open PHP pages I get an error:

Security Alert! The PHP CGI cannot be accessed directly.
This PHP CGI binary was compiled with force-cgi-redirect enabled. This means
that a page will only be served up if the REDIRECT_STATUS CGI variable is
set, e.g. via an Apache Action directive.

How do I fix this problem. Please keep the instructions simple, I am new.

Thanks,
Nick


--- End Message ---

Reply via email to