php-install Digest 10 Mar 2002 11:03:21 -0000 Issue 737

Topics (messages 6301 through 6307):

Problems with maximum execution time
        6301 by: Victor Usjanov

why is my php code showing up in my browser?
        6302 by: Allen Smith
        6304 by: Timothy R. Robnett
        6305 by: Ron Clark

How to enable PNG support ?
        6303 by: Peter Buecken

Include Error - Newbie Assistance
        6306 by: Thomas A. Dunlap

undefined symbol: __log1p when trying to load libphp4.so
        6307 by: David Trevallion

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 got a problem with php and apache. I have installed latest
squirrelmail(1.2.5), that uses php. When i point browser to the webfolder of
squirrelmail, i get the login form just fine. This means that php works ok.
But when i try to log on, the only thing i get is:

Fatal error: Maximum execution time of 30 seconds exceeded in
/home/squirrel/functions/imap_general.php on line 117

I have tried to increase timeout value in the php.ini to 300, and to 0
(unlimited, as far as i understand), but it just took longer time to get
this error message.

System information: RH72, 2.4.9-31 kernel, apache-1.3.22-2, php-4.0.6-12,
imap-2000c-15, php-imap-4.0.6-12. System is
intalled from RH7.2 CD and updated with help of up2date.

What is strange is that i have another RH7.2 computer with the same versions
of packages, and there squirrel works just fine. I have compared php.ini and
httpd.conf between these two computes, and they are identical.

I do not get anything in apache`s error_log, but in access log i get this:

Computer wherer squirrel does not work:
pc51-119.hiof.no - - [09/Mar/2002:10:27:14 +0100] "GET /mail HTTP/1.1" 301
322
pc51-119.hiof.no - - [09/Mar/2002:10:27:15 +0100] "GET /mail/ HTTP/1.1" 302
5
pc51-119.hiof.no - - [09/Mar/2002:10:27:17 +0100] "GET /mail/src/login.php
HTTP/1.1" 200 1470
pc51-119.hiof.no - - [09/Mar/2002:10:27:18 +0100] "GET
/mail/images/sm_logo.png HTTP/1.1" 304 -
pc51-119.hiof.no - - [09/Mar/2002:10:27:54 +0100] "POST
/mail/src/redirect.php HTTP/1.1" 200 160

and nothing more

Computer where squirrel does work:
my_hostname - - [09/Mar/2002:10:30:22 +0100] "GET /mail HTTP/1.1" 301 316
my_hostname  - - [09/Mar/2002:10:30:24 +0100] "GET /mail/ HTTP/1.1" 302 5
my_hostname  - - [09/Mar/2002:10:30:25 +0100] "GET /mail/src/login.php
HTTP/1.1" 302 5
my_hostname  - - [09/Mar/2002:10:30:34 +0100] "GET /mail/src/login.php
HTTP/1.1" 200 1502
my_hostname  - - [09/Mar/2002:10:30:39 +0100] "GET /mail/images/sm_logo.png
HTTP/1.1" 304 -
my_hostname  - - [09/Mar/2002:10:30:44 +0100] "POST /mail/src/redirect.php
HTTP/1.1" 302 0
my_hostname  - - [09/Mar/2002:10:30:44 +0100] "GET /mail/src/webmail.php
HTTP/1.1" 200 204
my_hostname  - - [09/Mar/2002:10:30:46 +0100] "GET /mail/src/right_main.php
HTTP/1.1" 200 15956

Someone got any ideas about what can be wrong ?

Thank you in advance

--
Victor


--- End Message ---
--- Begin Message ---
I just got a new server and php isnt doing something right.  I uploaded a
vbulletin to the server on a stie that I created there and it doesnt
show...what DOES show is all of the code that is in the hp file...can anyone
help?

--
Allen Smith
www.f5hosting.com
Affordable, Dependable Webhosting!



--- End Message ---
--- Begin Message ---
On Sat Mar 09, 2002 at 01:37:09PM -0500, Allen Smith wrote:
> I just got a new server and php isnt doing something right.  I uploaded a
> vbulletin to the server on a stie that I created there and it doesnt
> show...what DOES show is all of the code that is in the hp file...can anyone
> help?

What does phpinfo() show. Sounds to me like PHP isn't running on the new server.

Tim
--- End Message ---
--- Begin Message ---
If you are using apache make sure you have PHP installed and have an
AddType directive for PHP.

"Timothy R. Robnett" wrote:
> 
> On Sat Mar 09, 2002 at 01:37:09PM -0500, Allen Smith wrote:
> > I just got a new server and php isnt doing something right.  I uploaded a
> > vbulletin to the server on a stie that I created there and it doesnt
> > show...what DOES show is all of the code that is in the hp file...can anyone
> > help?
> 
> What does phpinfo() show. Sounds to me like PHP isn't running on the new server.
> 
> Tim
> 
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

-- 
Ron Clark
--- End Message ---
--- Begin Message ---
Hi

I'm upgrading PHP from version 4.0.1 to 4.1.2.

On 4.0.1, PNG support is enabled :-)

Using the same config.nice batch job, on 4.1.2,  PNG support is
disabled. :-(

Can someone kindly give me a hint how to enable the PNG support ???
Thank you in advance.

Here the phpino message I get calling a script with the 4.1.2 build:
gd
GD Support enabled
GD Version 1.6.2 or higher
FreeType Support enabled
FreeType Linkage with TTF library
WBMP Support enabled
zlib
ZLib Support enabled
'zlib:' fopen wrapper enabled
Compiled Version 1.1.3
Linked Version 1.1.3

Calling Image-PNG-functions, the script says:
No PNG support in this PHP build.

Here's the config.nice job:
#! /bin/sh
'./configure' \
'--enable-track-vars' \
'--enable-magic-quotes' \
'--with-mysql' \
'--enable-tran--enable-calendar' \
'--with-gd' \
'--with-png-dir=/usr/lib' \
'--with-zlib-dir=/usr/lib' \
'--with-ttf=yes' \
"$@"

I tried this job with and without --with-png-dir and --with-zlib-dir
options.

Thank you again in advance,
cheers
Peter

--- End Message ---
--- Begin Message ---
Hello:
Configuration:
Win98 SE OS
Apache Apache/1.3.20
PHP 4.1.1
Zend Optimizer

I have the same code running on a WINNT machine that does not display the
same problems.

phpinfo.php runs OK

When I try to run the web site I get the following:

Error:

Warning: Failed opening 'http://127.0.0.1/_private/dhtml_menu.php' for
inclusion (include_path='') in c:\apache\htdocs\about.php on line 17

Does this mean I have to change the include path in the php.ini?  I have
tried it and I get the same results after starting and stopping Apache.

Any help would be appreciated.


--- End Message ---
--- Begin Message ---
I recently tried to upgrade PHP from 4.0.6 to 4.1.2 on a Cobalt RAQ3 server
running RH 6.2

All apeared to go well through the configure, make and make install but when
I tried to start apache I got the following error

Setting up Web Service: Syntax error on line 33 of
/etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/libphp4.so into server:
/usr/lib/apache/libphp4.so: undefined symbol: __log1p
/usr/sbin/httpd

I even tried 4.1.1 but got the same error.  I "borrowed" libphp4.so (4.1.1)
from a freind's RAQ server and got thing running again.

As I understand it log1p is somthing to do with floating point numbers
within PHP

Any one seen the same problem or got any suggestions

Thanks in advance
Dave Trevallion



--- End Message ---

Reply via email to