php-install Digest 9 Jul 2002 16:56:11 -0000 Issue 924

Topics (messages 7668 through 7678):

configuration problem?
        7668 by: Dominik Picek
        7671 by: Dyon Beaart
        7674 by: Chris Hewitt

php apache freebsd ssl gd problem ? segmentation fault ?
        7669 by: open source devel company
        7670 by: open source devel company

Re: Problem loading a php script
        7672 by: Chris Hewitt

Re: Can't set Register_Globals On in Php.ini
        7673 by: Chris Hewitt

Passing variables via Form
        7675 by: Hoofe, Dennis
        7676 by: Moraes, Fabio
        7677 by: Chris Hewitt
        7678 by: MikeParton

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

when i start my web application, i get the following error message:

Fatal error: Failed opening required 'pnadodb/adodb.inc.php'
(include_path='.:/usr/share/pear') in /var/www/html/install.php on line 48

what is the problem? what i have to do?

regards, dominik


--- End Message ---
--- Begin Message ---
Hi,

You try to include a file which doesn't exist, or at least he cant open it..
Double check if the file really excists, and if it is readable...

good luck,
    Dyon

"Dominik Picek" <[EMAIL PROTECTED]> schreef in bericht
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hello
>
> when i start my web application, i get the following error message:
>
> Fatal error: Failed opening required 'pnadodb/adodb.inc.php'
> (include_path='.:/usr/share/pear') in /var/www/html/install.php on line 48
>
> what is the problem? what i have to do?
>
> regards, dominik
>
>


--- End Message ---
--- Begin Message ---
Dominik,

It can't find the file. It sounds as though (if your document root is 
/var/www/html) then it can't find "/var/www/html/pnadodb/adodb.inc.php". 
Do you really mean to have that extension (.inc.php). Is this really 
what the file is called?

HTH
Chris

Dominik Picek wrote:

>hello
>
>when i start my web application, i get the following error message:
>
>Fatal error: Failed opening required 'pnadodb/adodb.inc.php'
>(include_path='.:/usr/share/pear') in /var/www/html/install.php on line 48
>
>what is the problem? what i have to do?
>
>regards, dominik
>
>
>


--- End Message ---
--- Begin Message ---
Hi all

su-2.05# /usr/local/apache/bin/apachectl startssl
Segmentation fault - core dumped
/usr/local/apache/bin/apachectl startssl: httpd could
not be started
su-2.05# 

The above is what is happening for the last 10 hrs

the configs are

php

./configure
--with-gd=/home/www/myhome/install/gzs/gd-1.8.4
--with-png-dir=/home/www/myhome/install/gzs/libpng-1.2.3
--with-zlib --with-mysql=/usr/local/mysql
--with-openssl=/usr/local/ssl
--with-curl=/usr/local/lib
--with-apache=../apache_1.3.22
--with-jpeg-dir=/usr/home/www/myhome/install/gzs/jpeg-6b
--with-mail --enable-track-vars


mod ssl

./configure --with-apache=../apache_1.3.22
--with-ssl=/usr/local/ssl 

apache

./configure  --enable-module=ssl
--prefix=/usr/local/apache --enable-module=rewrite
--activate-module=src/modules/php4/libphp4.a

and the debug report is

Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)...(no debugging symbols
found)...
Program received signal SIGSEGV, Segmentation fault.
0x283e136c in strcmp () from /usr/lib/libc.so.4
(gdb) 


The opensource devel company


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
the backtrace is below

0x283e136c in strcmp () from /usr/lib/libc.so.4
(gdb) bt
#0  0x283e136c in strcmp () from /usr/lib/libc.so.4
#1  0x282e11de in obj_name_cmp () from
/usr/local/lib/libcurl.so.2
Error accessing memory address 0x1: Bad address.

opensource devel company

--- open source devel company
<[EMAIL PROTECTED]> wrote:
> Hi all
> 
> su-2.05# /usr/local/apache/bin/apachectl startssl
> Segmentation fault - core dumped
> /usr/local/apache/bin/apachectl startssl: httpd
> could
> not be started
> su-2.05# 
> 
> The above is what is happening for the last 10 hrs
> 
> the configs are
> 
> php
> 
> ./configure
> --with-gd=/home/www/myhome/install/gzs/gd-1.8.4
>
--with-png-dir=/home/www/myhome/install/gzs/libpng-1.2.3
> --with-zlib --with-mysql=/usr/local/mysql
> --with-openssl=/usr/local/ssl
> --with-curl=/usr/local/lib
> --with-apache=../apache_1.3.22
>
--with-jpeg-dir=/usr/home/www/myhome/install/gzs/jpeg-6b
> --with-mail --enable-track-vars
> 
> 
> mod ssl
> 
> ./configure --with-apache=../apache_1.3.22
> --with-ssl=/usr/local/ssl 
> 
> apache
> 
> ./configure  --enable-module=ssl
> --prefix=/usr/local/apache --enable-module=rewrite
> --activate-module=src/modules/php4/libphp4.a
> 
> and the debug report is
> 
> Starting program: /usr/local/apache/bin/httpd -X
> (no debugging symbols found)...(no debugging symbols
> found)...
> Program received signal SIGSEGV, Segmentation fault.
> 0x283e136c in strcmp () from /usr/lib/libc.so.4
> (gdb) 
> 
> 
> The opensource devel company
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Sign up for SBC Yahoo! Dial - First Month Free
> http://sbc.yahoo.com
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 


__________________________________________________
Do You Yahoo!?
Sign up for SBC Yahoo! Dial - First Month Free
http://sbc.yahoo.com
--- End Message ---
--- Begin Message ---
Alberto,

You need to add the AddType line in httpd.conf as per the installation 
instructions and restart Apache.

HTH
Chris

Alberto Martin wrote:

> Hi:
>
> I installed apache 1.3.26 and php 4.1.2 without problem. Then I restart
> apache with no errors. Now I'm trying to test php by using a test script
> (php_test.php) that I saved in /etc/local/apache/htdocs/.
> The test script called the phpinfo function, like this:
>
> <?php
>
> phpinfo();
>
> ?>
>
> When I try to access the php file from the browser 
> http://127.0.0.1/php_test.php, I only see the script code,
> but nothing happen. Looks like php is not working, even though
> the start page index.html of apache (http://127.0.0.1) is
> working fine.
>
> Any suggestion...
>
> Thanks in advanced
>
> Alberto
>
>


--- End Message ---
--- Begin Message ---
You may need to restart Apache.

HTH
Chris

CM wrote:

>I need to switch register_globals to On for some older scripts
>
>I run php 4.2.1 on win 2000 and apache 1.3
>
>My php.ini under c:\winnt\php.ini says
>register_globals = On
>
>When I run the phpinfo script.
>
>Configuration File (php.ini) Path C:\WINNT\php.ini
>
>                          local   master
>register_globals   Off    Off
>
>My php install seems to completely ignore the directive to turn
>register_globals on in my php.ini file.
>
>
>
>
>


--- End Message ---
--- Begin Message ---
Hi,

I have the following problem:
First file: test.php
Second: test2.php

Via form I pass a variable from File 1 to File 2. Echoing the variable (echo
$variableIset;) does not work, although the variable seems to be properly
passed in the URL.
Has this something to do with track_vars or something like that? Everything
else works.
I have the most lately stable apache release and php release.

Thx a lot
Dennis


--- End Message ---
--- Begin Message ---
Be sure register_globals is set to "On" in your php.ini.

---
 Fabio Moraes
 [EMAIL PROTECTED]
 +55 21 3088 9183 

-----Original Message-----
From: Hoofe, Dennis [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July 09, 2002 8:46 AM
To: '[EMAIL PROTECTED]'
Subject: [PHP-INST] Passing variables via Form


Hi,

I have the following problem:
First file: test.php
Second: test2.php

Via form I pass a variable from File 1 to File 2. Echoing the variable (echo
$variableIset;) does not work, although the variable seems to be properly
passed in the URL.
Has this something to do with track_vars or something like that? Everything
else works.
I have the most lately stable apache release and php release.

Thx a lot
Dennis



-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Dennis,

Its probably that you are used to register_globals being on in php.ini. 
In recent versions it is off by default. Either change the setting or 
use $_GET["varname"] or $_POST["varname"] depending on whether the data 
is GET or POST data.

HTH
Chris

Hoofe, Dennis wrote:

>Hi,
>
>I have the following problem:
>First file: test.php
>Second: test2.php
>
>Via form I pass a variable from File 1 to File 2. Echoing the variable (echo
>$variableIset;) does not work, although the variable seems to be properly
>passed in the URL.
>Has this something to do with track_vars or something like that? Everything
>else works.
>I have the most lately stable apache release and php release.
>
>Thx a lot
>Dennis
>
>
>


--- End Message ---
--- Begin Message ---
OR, rather than setting register_globals to "on", define your variables
using the superglobal arrays.  See the Predefined Variables section of the
PHP docs.


----- Original Message -----
From: "Moraes, Fabio" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 09, 2002 9:24 AM
Subject: RE: [PHP-INST] Passing variables via Form


> Be sure register_globals is set to "On" in your php.ini.
>
> ---
>  Fabio Moraes
>  [EMAIL PROTECTED]
>  +55 21 3088 9183
>
> -----Original Message-----
> From: Hoofe, Dennis [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, July 09, 2002 8:46 AM
> To: '[EMAIL PROTECTED]'
> Subject: [PHP-INST] Passing variables via Form
>
>
> Hi,
>
> I have the following problem:
> First file: test.php
> Second: test2.php
>
> Via form I pass a variable from File 1 to File 2. Echoing the variable
(echo
> $variableIset;) does not work, although the variable seems to be properly
> passed in the URL.
> Has this something to do with track_vars or something like that?
Everything
> else works.
> I have the most lately stable apache release and php release.
>
> Thx a lot
> Dennis
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>


--- End Message ---

Reply via email to