Skip to Content.
Sympa Menu

sm-grimoire - Re: [SM-Grimoire]PHP in Apache2 . . .

sm-grimoire AT lists.ibiblio.org

Subject: Discussion of Spells and Grimoire items

List archive

Chronological Thread  
  • From: Jason Flatt <jasonflatt AT wizard.com>
  • To: Sergey A Lipnevich <sergeyli AT pisem.net>
  • Cc: sm-grimoire AT lists.ibiblio.org
  • Subject: Re: [SM-Grimoire]PHP in Apache2 . . .
  • Date: Mon, 2 Dec 2002 11:10:21 +0000

This is what I get when I cast httpd-dev:

root@jason:/etc# cast httpd-dev
Would you like to export the most recent source? [n]

Checking dependencies for httpd-dev
/tmp/casting.20223: line 27: eval: --: invalid option
eval: usage: eval [arg ...]
openldap is an optional dependency for httpd-dev (for LDAP-based
authentication)
Do you want to cast openldap? [n]

Gathering spells to cast...
In order to cast httpd-dev, the following spells are going to be cast:
httpd-dev
Do you wish to cast these spells? [y]

Sorting spells and saving dependency information...
Done sorting.
stoping Apache web server.
/etc/httpd/httpd.conf
was previously modified by SA?
Therefore, it was not reaped.

Dispelled spell: apache2
Downloading source file httpd-dev-apr-APACHE_2_0_43.tar.bz2 for spell
httpd-dev
U httpd-dev-APACHE_2_0_43/.cvsignore
U httpd-dev-APACHE_2_0_43/APRDesign
. . . (more files downloaded)
U httpd-dev-APACHE_2_0_43/user/win32/groupinfo.c
U httpd-dev-APACHE_2_0_43/user/win32/userinfo.c
Downloading source file httpd-dev-apr-util-APACHE_2_0_43.tar.bz2 for spell
httpd-dev
U httpd-dev-APACHE_2_0_43/.cvsignore
U httpd-dev-APACHE_2_0_43/CHANGES
. . . (more files downloaded)
U httpd-dev-APACHE_2_0_43/xml/expat/lib/xmltok_impl.h
U httpd-dev-APACHE_2_0_43/xml/expat/lib/xmltok_ns.c
Waiting for any Solo spells to complete... done.
Waiting for any other casts of httpd-dev to complete... done
Building httpd-dev
httpd-dev: MD5 sum is different for httpd-dev-APACHE_2_0_43.tar.bz2.
Abort? [y] n
/tmp/casting.20223: line 4: cd: /usr/src/httpd-dev-APACHE_2_0_43/srclib: No
such file or directory
Finished processing install requests.

Spells installed successfully:
------------------------------

Spells that encountered problems:
---------------------------------
httpd-dev


This is from the test grimoire on Eric Schabell's computer, updated yesterday
after the merge of devel and test.

I also cast apache2 and php-dev mostly with the default options, do I don't
have all of the modules that you have. What gets displayed is the HTML/PHP
code for the .php page. It doesn't even try to render it.

My Apache version information is not the same as yours. How did you get it?

Here's what I have:

root@jason:/etc# httpd -v
Server version: Apache/2.0.43
Server built: Dec 2 2002 08:25:05

root@jason:/etc# httpd -V
Server version: Apache/2.0.43
Server built: Dec 2 2002 08:25:05
Server's Module Magic Number: 20020903:0
Architecture: 32-bit
Server compiled with....
-D APACHE_MPM_DIR="server/mpm/prefork"
-D APR_HAS_SENDFILE
-D APR_HAS_MMAP
-D APR_HAVE_IPV6
-D APR_USE_SYSVSEM_SERIALIZE
-D APR_USE_PTHREAD_SERIALIZE
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D APR_HAS_OTHER_CHILD
-D AP_HAVE_RELIABLE_PIPED_LOGS
-D HTTPD_ROOT="/usr"
-D SUEXEC_BIN="/usr/bin/suexec"
-D DEFAULT_PIDLOG="/var/run/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/apache_runtime_status"
-D DEFAULT_LOCKFILE="/var/run/accept.lock"
-D DEFAULT_ERRORLOG="logs/error_log"
-D AP_TYPES_CONFIG_FILE="/etc/httpd/mime.types"
-D SERVER_CONFIG_FILE="/etc/httpd/httpd.conf"

root@jason:/grimoire/http# php -v
PHP 4.4.0-dev (cli) (built: Dec 2 2002 09:22:38)
Copyright (c) 1997-2002 The PHP Group
Zend Engine v1.4.0, Copyright (c) 1998-2002 Zend Technologies

root@jason:/grimoire/http# php -m
[PHP Modules]
bcmath
ctype
curl
dba
dbase
filepro
ftp
gd
gettext
mysql
openssl
overload
pcre
pgsql
posix
session
sockets
standard
sysvsem
sysvshm
tokenizer
wddx
xml
xmlrpc
yp
zlib

[Zend Modules]


There are no Zend modules.


On Monday 02 December 2002 06:32 pm, Sergey A Lipnevich wrote:
> What problems are you seeing?
>
> I have the following Apache version line:
> Apache/2.0.43 (Unix) mod_ssl/2.0.43 OpenSSL/0.9.6g PHP/4.3.0RC2
> mod_python/3.0.1 Python/2.2.2 DAV/2 SVN/0.14.5 (dev build)
> mod_fastcgi/mod_fastcgi-SNAP-0210222112
> PHP is our primary application platform, we also need XML capabilities
> and lots of other stuff, so I have to be sure my php is working at all
> times. I have Apache 2.0.43 built from CVS using httpd-dev spell, and my
> customized php 4.3.0RC2 spell that I'm holding on to until php gets to a
> stable 4.3.0 release. Here's the list of modules that I have:
> # php -m
> [PHP Modules]
> bcmath
> bz2
> ctype
> curl
> dba
> dbase
> domxml
> filepro
> ftp
> gd
> gettext
> gmp
> imap
> ldap
> mcrypt
> mhash
> mysql
> openssl
> overload
> pcre
> pgsql
> posix
> pspell
> session
> sockets
> standard
> sysvsem
> sysvshm
> tokenizer
> wddx
> xml
> xmlrpc
> xslt
> yp
> zlib
>
> Jason Flatt wrote:
> >I have been looking at installing a particular LAMPHP-based application,
> > and in the process, I am attempting to get the most recent Apache
> > (2.0.43) and PHP (4.3.0 [not RC2]) installed. I was unable to get
> > httpd-dev installed as there was an file not found error right at the
> > very start.
> >
> >I am able to get apache2 installed and running, and I am able to get PHP
> >installed, but I am unable to get PHP to work with Apache2. I have
> > browsed both Apache's site and PHP's site, but found nothing. I found
> > references to get PHP 4.2.3 to work w/Apache 2.0.39, and PHP 4.2.3 to
> > work w/Apache 1.3.27, but nothing else. I'm assuming that they are just
> > supposed to work, but they are not.
> >
> >What is the magic formula to get it working?


--
Jason Flatt
E-mail (remove the spaces): jasonflatt @ wizard . com
Voice: +1 702 870 6622
Fax: +1 702 870 3883
Snail Mail: PO Box 44265, Las Vegas, NV 89116-2265, USA






Archive powered by MHonArc 2.6.24.

Top of Page