Jim Price wrote:
> 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.
Given your very detailed description, I guess you did make sure that your
new Apache advertizes "PHP/4.3.3" in the error_log? And probably there's
also no core file lying around?
>> 14270: stat("/www/index.php", 0x00235A38) = 0
>> 14270: stat("/www/index.php", 0x00234A30) = 0
>> 14270: umask(077) = 022
>> 14270: umask(022) = 077
>> 14270: setitimer(ITIMER_PROF, 0xFFBEF2C0, 0x00000000) = 0
>> 14270: 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
What are your open_basedir and safe_mode settings?
> ./configure --prefix=/apache/tserver \
> --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
That's the same as with PHP 4.3.0, I guess?
Please try with the latest stable snapshot from <http://snaps.php.net/>.
If it doesn't work, you might want to file a bug report at
<http://bugs.php.net> (with all the information that you gave here, of
course).
Regards...
Michael