php-install Digest 8 Dec 2002 09:57:16 -0000 Issue 1151
Topics (messages 9327 through 9327):
Problems installing 4.3RC2, Apache 2.0.43 on Linux
9327 by: John Locke
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 ---
Hello,
I've been running various versions of PHP on Apache 1.3.x for quite some
time.
I was trying to get Apache 2.0 up and running, but I'm not having any
luck. When I start up Apache, it returns non-PHP pages just fine, but
PHP pages don't work.
Once I got the LoadModule and AddType directives in place, any PHP page
just returns empty. Nothing, nada, zilch. No log entry, no error
message, no nothing.
I'm used to running the static module under Apache 1.3.x, and before I
added the LoadModule directive, Apache served up a page my browser asked
whether to load or open, which contained the source of the PHP page.
I've turned on PHP Startup errors in the php.ini file, and created a
valid file, but nothing. In my Apache error log, there are a bunch of
child processes that have died with segmentation faults, but no other
errors.
I've tried installing two different dev snapshots, 4.2.3, and 4.3.0RC2.
The 4.2.3 version made Apache crash before it could start up. The other
dev snapshots and 4.3.0RC2 give no errors, but just don't execute any
scripts.
???
Here's basically what I've done:
Apache 2.0.43
-------------
cd src/httpd-2.0.43/
export SSL_BASE=../openssl-0.9.6h
./configure --enable-so --enable-ssl --enable-info
make
make install
PHP Version 4.2.3 STABLE
------------------------
cd ../php4-STABLE-200212080030
./configure --with-apxs2=/usr/local/apache2/bin/apxs \
--with-mysql=/usr/local/mysql --with-config-file-path=/etc --enable-pic
\
--enable-shared --enable-inline-optimization --with-exec-dir=/usr/bin \
--with-regex=system --with-gettext --with-gd --with-jpeg-dir=/usr \
--with-png --with-zlib --enable-magic-quotes --enable-safe-mode \
--enable-sockets --enable-track-vars --enable-trans-sid --with-imap \
--enable-xslt --with-xslt-sablot --with-curl
make install
Add to conf/httpd.conf:
LoadModule php_module modules/libphp4.so
AddType application/x-httpd-php .php
Thanks for your help,
--
John Locke <[EMAIL PROTECTED]>
--- End Message ---