php-install Digest 19 Apr 2002 07:47:11 -0000 Issue 796
Topics (messages 6673 through 6681):
Re: Problem loading php-module as DSO into Apache httpd
6673 by: Tib
6674 by: Todd Mortensen
6675 by: Tib
6676 by: Todd Mortensen
6677 by: Tib
can't view PHP
6678 by: joey
6679 by: Tib
6680 by: joey
How can I tell PHP to use a proxy ?
6681 by: Oliver Egginger
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 ---
I had a similar problem with this. the solution I was able to come up with
was that (i'm guessing you're using apache 2 since this is the same error
I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
Try it with that. I am having issues with php4.2.0 cr4, but the compile
went clean and the module isn't complaining at least.
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I tried what you suggested. I am also usingt he gnu binutils and gcc 3.0.3.
>
> Here is how I am trying to configure php. I can get apache to compile and
> start ok. But the php causes a problem each time.
>
> todd@svlecs01:~/src/php-4.1.2$cat config.nice
> #! /bin/sh
> #
> # Created by configure
>
> './configure' \
> '--with-mysql=/usr/local/mysql' \
> '--enable-trans-sid' \
> '--with-apxs' \
> '--with-mm=/usr/local/lib' \
> "$@"
> todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms: referenced
> symbol not found
> /usr/local/apache/bin/apachectl start: httpd could not be started
>
> And I know these ap_* symbols are from apache but I don't know why they are
> not being linked properly.
>
> I will try again and repost any further findings. Thanks for the updates.
>
> Todd.
>
>
>
--- End Message ---
--- Begin Message ---
I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4.
Todd
-----Original Message-----
From: Tib [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 1:50 PM
To: Todd Mortensen
Cc: 'Poetsch, Michael'; Php-Install (E-mail)
Subject: Re: [PHP-INST] RE: Problem loading php-module as DSO into Apache
httpd
I had a similar problem with this. the solution I was able to come up with
was that (i'm guessing you're using apache 2 since this is the same error
I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
Try it with that. I am having issues with php4.2.0 cr4, but the compile
went clean and the module isn't complaining at least.
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I tried what you suggested. I am also usingt he gnu binutils and gcc
> 3.0.3.
>
> Here is how I am trying to configure php. I can get apache to compile
> and start ok. But the php causes a problem each time.
>
> todd@svlecs01:~/src/php-4.1.2$cat config.nice
> #! /bin/sh
> #
> # Created by configure
>
> './configure' \
> '--with-mysql=/usr/local/mysql' \
> '--enable-trans-sid' \
> '--with-apxs' \
> '--with-mm=/usr/local/lib' \
> "$@"
> todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> /usr/local/apache/bin/httpd: fatal: relocation error: file
> /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms:
> referenced symbol not found /usr/local/apache/bin/apachectl start:
> httpd could not be started
>
> And I know these ap_* symbols are from apache but I don't know why
> they are not being linked properly.
>
> I will try again and repost any further findings. Thanks for the
> updates.
>
> Todd.
>
>
>
--- End Message ---
--- Begin Message ---
Did you use the --with-apxs2 option? I know it's in 4.1.2 and 4.2.0rc4
<EOL>
Tib
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4.
>
> Todd
>
> -----Original Message-----
> From: Tib [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 1:50 PM
> To: Todd Mortensen
> Cc: 'Poetsch, Michael'; Php-Install (E-mail)
> Subject: Re: [PHP-INST] RE: Problem loading php-module as DSO into Apache
> httpd
>
>
>
> I had a similar problem with this. the solution I was able to come up with
> was that (i'm guessing you're using apache 2 since this is the same error
> I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
>
> Try it with that. I am having issues with php4.2.0 cr4, but the compile
> went clean and the module isn't complaining at least.
>
> On Thu, 18 Apr 2002, Todd Mortensen wrote:
>
> > I tried what you suggested. I am also usingt he gnu binutils and gcc
> > 3.0.3.
> >
> > Here is how I am trying to configure php. I can get apache to compile
> > and start ok. But the php causes a problem each time.
> >
> > todd@svlecs01:~/src/php-4.1.2$cat config.nice
> > #! /bin/sh
> > #
> > # Created by configure
> >
> > './configure' \
> > '--with-mysql=/usr/local/mysql' \
> > '--enable-trans-sid' \
> > '--with-apxs' \
> > '--with-mm=/usr/local/lib' \
> > "$@"
> > todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server: ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms:
> > referenced symbol not found /usr/local/apache/bin/apachectl start:
> > httpd could not be started
> >
> > And I know these ap_* symbols are from apache but I don't know why
> > they are not being linked properly.
> >
> > I will try again and repost any further findings. Thanks for the
> > updates.
> >
> > Todd.
> >
> >
> >
>
--- End Message ---
--- Begin Message ---
I have only tried the apxs2 option with php4.2.0rc4. For apache 2 but It
wouldn't compile.
I am trying all these versions with apache 1.3.24.
Does anyone know when the apache 2 support won't be experimental?
-----Original Message-----
From: Tib [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 18, 2002 2:01 PM
To: Todd Mortensen
Cc: 'Poetsch, Michael'; Php-Install (E-mail)
Subject: RE: [PHP-INST] RE: Problem loading php-module as DSO into Apache
httpd
Did you use the --with-apxs2 option? I know it's in 4.1.2 and 4.2.0rc4
<EOL>
Tib
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4.
>
> Todd
>
> -----Original Message-----
> From: Tib [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 1:50 PM
> To: Todd Mortensen
> Cc: 'Poetsch, Michael'; Php-Install (E-mail)
> Subject: Re: [PHP-INST] RE: Problem loading php-module as DSO into Apache
> httpd
>
>
>
> I had a similar problem with this. the solution I was able to come up
> with
> was that (i'm guessing you're using apache 2 since this is the same error
> I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
>
> Try it with that. I am having issues with php4.2.0 cr4, but the
> compile
> went clean and the module isn't complaining at least.
>
> On Thu, 18 Apr 2002, Todd Mortensen wrote:
>
> > I tried what you suggested. I am also usingt he gnu binutils and
> > gcc
> > 3.0.3.
> >
> > Here is how I am trying to configure php. I can get apache to
> > compile
> > and start ok. But the php causes a problem each time.
> >
> > todd@svlecs01:~/src/php-4.1.2$cat config.nice
> > #! /bin/sh
> > #
> > # Created by configure
> >
> > './configure' \
> > '--with-mysql=/usr/local/mysql' \
> > '--enable-trans-sid' \
> > '--with-apxs' \
> > '--with-mm=/usr/local/lib' \
> > "$@"
> > todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > ld.so.1:
> > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms:
> > referenced symbol not found /usr/local/apache/bin/apachectl start:
> > httpd could not be started
> >
> > And I know these ap_* symbols are from apache but I don't know why
> > they are not being linked properly.
> >
> > I will try again and repost any further findings. Thanks for the
> > updates.
> >
> > Todd.
> >
> >
> >
>
--- End Message ---
--- Begin Message ---
With apache 1.x I think you need to use the --with-apache directive as
well as the --with-apxs one to get it to push out right.. dunno, I started
with apache2. Php's site has indicated that their looking for a release of
4.2 (with apache2 suppoted) around april 23, next week.
<EOL>
Tib
On Thu, 18 Apr 2002, Todd Mortensen wrote:
> I have only tried the apxs2 option with php4.2.0rc4. For apache 2 but It
> wouldn't compile.
>
> I am trying all these versions with apache 1.3.24.
>
> Does anyone know when the apache 2 support won't be experimental?
>
> -----Original Message-----
> From: Tib [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, April 18, 2002 2:01 PM
> To: Todd Mortensen
> Cc: 'Poetsch, Michael'; Php-Install (E-mail)
> Subject: RE: [PHP-INST] RE: Problem loading php-module as DSO into Apache
> httpd
>
>
> Did you use the --with-apxs2 option? I know it's in 4.1.2 and 4.2.0rc4
>
> <EOL>
> Tib
>
>
> On Thu, 18 Apr 2002, Todd Mortensen wrote:
>
> > I am having this trouble with php4.1.2 php4.1.1 and php4.2 rc4.
> >
> > Todd
> >
> > -----Original Message-----
> > From: Tib [mailto:[EMAIL PROTECTED]]
> > Sent: Thursday, April 18, 2002 1:50 PM
> > To: Todd Mortensen
> > Cc: 'Poetsch, Michael'; Php-Install (E-mail)
> > Subject: Re: [PHP-INST] RE: Problem loading php-module as DSO into Apache
> > httpd
> >
> >
> >
> > I had a similar problem with this. the solution I was able to come up
> > with
> > was that (i'm guessing you're using apache 2 since this is the same error
> > I had with it) you need to use the --with-apxs2=/path/to/apache2/bin/apxs
> >
> > Try it with that. I am having issues with php4.2.0 cr4, but the
> > compile
> > went clean and the module isn't complaining at least.
> >
> > On Thu, 18 Apr 2002, Todd Mortensen wrote:
> >
> > > I tried what you suggested. I am also usingt he gnu binutils and
> > > gcc
> > > 3.0.3.
> > >
> > > Here is how I am trying to configure php. I can get apache to
> > > compile
> > > and start ok. But the php causes a problem each time.
> > >
> > > todd@svlecs01:~/src/php-4.1.2$cat config.nice
> > > #! /bin/sh
> > > #
> > > # Created by configure
> > >
> > > './configure' \
> > > '--with-mysql=/usr/local/mysql' \
> > > '--enable-trans-sid' \
> > > '--with-apxs' \
> > > '--with-mm=/usr/local/lib' \
> > > "$@"
> > > todd@svlecs01:~/src/php-4.1.2$sudo apachectl start
> > > Syntax error on line 205 of /usr/local/apache/conf/httpd.conf:
> > > Cannot load /usr/local/apache/libexec/libphp4.so into server:
> > > ld.so.1:
> > > /usr/local/apache/bin/httpd: fatal: relocation error: file
> > > /usr/local/apache/libexec/libphp4.so: symbol ap_block_alarms:
> > > referenced symbol not found /usr/local/apache/bin/apachectl start:
> > > httpd could not be started
> > >
> > > And I know these ap_* symbols are from apache but I don't know why
> > > they are not being linked properly.
> > >
> > > I will try again and repost any further findings. Thanks for the
> > > updates.
> > >
> > > Todd.
> > >
> > >
> > >
> >
>
--- End Message ---
--- Begin Message ---
Everytime i try to view a php file on my server it prompts me to download
the file then opens it up in word pad. I can view any other file just not
php.
Can anyone help me with this problem please?
--- End Message ---
--- Begin Message ---
Did you put this line in your httpd.conf file?
AddType application/x-httpd-php .php
<EOL>
Tib
On Fri, 19 Apr 2002, joey wrote:
> Everytime i try to view a php file on my server it prompts me to download
> the file then opens it up in word pad. I can view any other file just not
> php.
>
> Can anyone help me with this problem please?
>
>
>
>
>
--- End Message ---
--- Begin Message ---
Ok i'm using Apache 1.3.24 and PHP 4.1.2 and the windows platfor is XP
yes i've added this line in my httpd.conf file
AddType application/x-httpd-php .php
"Joey" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Everytime i try to view a php file on my server it prompts me to download
> the file then opens it up in word pad. I can view any other file just not
> php.
>
> Can anyone help me with this problem please?
>
>
>
--- End Message ---
--- Begin Message ---
Hello,
I'am new to PHP.
In PHP there is the possibility to use URLs in functions like fopen() or file().
Is there way to tell PHP to use a Proxyserver for this ?
I found no suitable option in php.ini.
- oliver
--- End Message ---