php install problems. blank screen after install
| From: | Jim Price | Date: | Tue, 07 Oct 2003 18:59:10 +0000 |
| Subject: | php install problems. blank screen after install | ||
| Groups: | php.install | ||
| Request: | Send a blank email to php-install+get-12020@lists.php.net to get a copy of this message | ||
Hello,
I have been having problems upgrading php to 4.3.3 . The compile and install seem to work fine but php scripts do not parse and I end up with a blank screen. Here's the weird part the same configure procedure works on a testserver with solaris 8. I ran a truss on the processes and here are the results of what looks different between the two machines. The last line with Err#13 is the difference. There are no errors in the error_log.
I have included the configure scripts and system info below.
Thanks for any help.
Jim
Platform is a Solaris 2.8 webserver is apache 1.3.28 Using gcc 3.3 , tried gcc 3.2 I am installing the static module of php to apache (note: cgi version works). configuration procedures have been the following. apache configure comand. ./configure --prefix=/apache/tserver \14270: stat("/www/index.php", 0x00235A38) = 0 14270: stat("/www/index.php", 0x00234A30) = 0 14270: umask(077) = 022 14270: umask(022) = 07714270: setitimer(ITIMER_PROF, 0xFFBEF2C0, 0x00000000) = 014270: sigaction(SIGPROF, 0xFFBEF110, 0xFFBEF210) = 0 14270: brk(0x0023AB20) = 0 14270: brk(0x0023CB20) = 0 14270: time() = 1065546949 14270: getpid() = 14270 [14264] 14270: getpid() = 14270 [14264] 14270: open(".", O_RDONLY) Err#13 EACCES
--enable-module=rewrite \
--activate-module=src/modules/php4/libphp4.a
php configure
./configure --prefix=/apache/new/local \
--with-apache=/apache/new/apache_1.3.28 \
--with-gettext \
--enable-track-vars \
--enable-force-cgi-redirect \
--with-mysql=/usr/local/mysql \
--enable-ftp
The httpd.conf has the following (note: same config file as previous version of php 4.3.0 which works)
Added Addtype commands to VirtualHost section to see if that would work. No luck.
<VirtualHost ?.?.?.?:7777>
ServerName www.dummy.edu
ServerAdmin webmaster@dummy.edu
DocumentRoot "/www"
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
</VirtualHost>
.
.
.
<IfModule mod_negotiation.c>
LanguagePriority en da nl et fr de el it ja kr no pl pt pt-br ru ltz ca es sv tw </IfModule> # # Add for PHP 4.x, use: # AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps AddType application/x-tar .tgz # # To use CGI scripts: # AddHandler cgi-script .cgi