php-install Digest 31 Jan 2002 16:48:18 -0000 Issue 677
Topics (messages 5852 through 5862):
Apache/PHP on AIX
5852 by: J S
Newby -- Browser won't run php
5853 by: Dan Campbell
5854 by: Rosser, Chris
5855 by: Dan Campbell
iplanet experiences php_value
5856 by: Pierre-Alain Joye
5858 by: Pierre-Alain Joye
Does an EASY php install exist?
5857 by: Dan Campbell
5859 by: David Jackson
5860 by: Matt
php4.1.1, apache1.3.19, with mysql and imap support
5861 by: Ben Cross
Apache/PHP configuration question
5862 by: Terry Poperszky
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 ---
Hi,
Sorry this is a bit long but I'm at a loss. I'm trying to build
apache-1.3.22 with modssl/modperl and (dynamic) php on AIX4.3.3.0 using VAC
5.0.0.2. Everything works fine until I uncomment LoadModule libphp4.so in
httpd.conf, then apache won't start.
I've tried php4.0.6, php4.1.1 and latest-php but all give the same error. I
compiled php with VAC and that was fine so not sure why this causes apache
to coredump.
Here are my php compile options:
./configure --with-apxs=/opt/apache/bin/apxs --enable-debug --without-mysql
I've copied the php.ini file to /usr/local/lib too.
If I run gdb this is what I get (not very helpful):
# gdb httpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "powerpc-ibm-aix4.3.2.0"...
(no debugging symbols found)...
(gdb) run -X
Starting program: /opt/apache/bin/httpd -X
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x10145aa8 in ?? () from /opt/apache/bin/httpd
(gdb)
Here's how I compiled apache:
CC="cc_r"
export CC
CFLAGS="-g -I/usr/include -I/usr/local/include/php -I/usr/local/include"
export CFLAGS
LD_LIBRARY_PATH=/usr/local/lib:/usr/local/lib/php
export LD_LIBRARY_PATH
SSL_BASE=/usr/local/openssl \
./configure \
--prefix=/opt/apache \
--enable-module=ssl \
--activate-module=src/modules/perl/libperl.a \
--enable-module=perl \
--enable-module=so \
--enable-suexec \
--suexec-caller=apache
Any help would be really really appreciated.
Cheers,
JS.
_________________________________________________________________
Chat with friends online, try MSN Messenger: http://messenger.msn.com
--- End Message ---
--- Begin Message ---
Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
Everything seems to have been installed fine, without a hitch, but I still
can't get my browser to recognise a php page called phpinfo.php with the
following script <? phpinfo.php ?> like it should.
all the configure , make , and make files directives seemed to work fine.
it's been a week I've been working on this, a real nightmare. I got it
running once a while back, it seemed so much easier somehow, but now it's
like impossible with PHP4 .
--- End Message ---
--- Begin Message ---
Dan,
The 'script' you'll need is:
<?php phpinfo(); ?>
not <? phpinfo.php ?>.
/Chris
> -----Original Message-----
> From: Dan Campbell [SMTP:[EMAIL PROTECTED]]
> Sent: Thursday, January 31, 2002 10:14 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] Newby -- Browser won't run php
>
> Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> Everything seems to have been installed fine, without a hitch, but I still
> can't get my browser to recognise a php page called phpinfo.php with the
> following script <? phpinfo.php ?> like it should.
> all the configure , make , and make files directives seemed to work fine.
> it's been a week I've been working on this, a real nightmare. I got it
> running once a while back, it seemed so much easier somehow, but now it's
> like impossible with PHP4 .
>
>
>
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
thank you for the advise. after changing it, when i open the file in my
browser, I get the Save As dialog box, with my /home/Dan/*.php as my filter.
and do_download.php phpinfo.php in the files box on the right side of the
dialong box. I chose okay to Selection box on bottom reading
/home/Dan/phpinfo.php.
But nothing happens. this same box keeps reappearing now whenever i try to
run the scrip.
In fact, rather than open the phpinfo.php file, now my browser wants to
overwrite it. Doesn't that seem strange?
thanx
Dan
thanks again, Dan
"Chris Rosser" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Dan,
>
> The 'script' you'll need is:
>
> <?php phpinfo(); ?>
>
> not <? phpinfo.php ?>.
>
> /Chris
>
> > -----Original Message-----
> > From: Dan Campbell [SMTP:[EMAIL PROTECTED]]
> > Sent: Thursday, January 31, 2002 10:14 AM
> > To: [EMAIL PROTECTED]
> > Subject: [PHP-INST] Newby -- Browser won't run php
> >
> > Damn, this is hard. I'm running Linux 7.1, apache_1.3.19 , php-4.1.1.
> > Everything seems to have been installed fine, without a hitch, but I
still
> > can't get my browser to recognise a php page called phpinfo.php with the
> > following script <? phpinfo.php ?> like it should.
> > all the configure , make , and make files directives seemed to work
fine.
> > it's been a week I've been working on this, a real nightmare. I got it
> > running once a while back, it seemed so much easier somehow, but now
it's
> > like impossible with PHP4 .
> >
> >
> >
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> > To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Hello,
Have to configure a iplanet server with php.
PHP already installed and seems to work. The server owner would not change any
configuration to make it more standart :(.
So I have to set some php env variables.
I need to set the auto_prepend and include_path, anyone knows if that will work
with .nsconfig ? In this case any .nsconfig samples files will be greatly
appreciated.
[HS]
In another damn way, I also need an equivalent to the <Location /here>ForceType
php-application</Location>, any infos ?[/HS]
I do not know anything to iplanet (not enough to set it all), so be indulgent :)
tia
pa
--- End Message ---
--- Begin Message ---
Begin forwarded message:
Date: Thu, 31 Jan 2002 13:55:16 +0100
From: Pierre-Alain Joye <[EMAIL PROTECTED]>
To: Peter Francq <[EMAIL PROTECTED]>
Subject: Re: [PHP-INST] iplanet experiences php_value
On Thu, 31 Jan 2002 13:29:32 +0100
Peter Francq <[EMAIL PROTECTED]> wrote:
>
> HI,
> a quick bit of the solution maybe ?
>
> [Peter Francq] auto_prepend and include_path are set in the php.ini
> file of the PHP
> installation. So if the owner doesn't want to change this, you're in
> trouble ;-{
thx for the response.
I know, but I don t know if the php_value directive works with iplanet, like :
php_value auto_prependfile "myfile.php"
And if yes, if they are available in nsconfig/htaccess as in Apache.
pa
--- End Message ---
--- Begin Message ---
Does anybody know of a program that will install Linux, PHP, mysql, and
apache all at one time nice and easy?
I've been fussin with this thing for weeeeeks. I'm weiry and tired and burnt
out . . .
I love free code idea, but getting it to work is something else.
--- End Message ---
--- Begin Message ---
NuSphere I believe.
Also Check http://freshmeat.net
It used to be easy, but something changes.
Dan Campbell wrote:
>
> Does anybody know of a program that will install Linux, PHP, mysql, and
> apache all at one time nice and easy?
> I've been fussin with this thing for weeeeeks. I'm weiry and tired and burnt
> out . . .
> I love free code idea, but getting it to work is something else.
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
Look here:
http://www.explodingnet.com/articles/latest/7/
From: "Dan Campbell" <[EMAIL PROTECTED]>
Subject: [PHP-INST] Does an EASY php install exist?
> Does anybody know of a program that will install Linux, PHP, mysql, and
> apache all at one time nice and easy?
--- End Message ---
--- Begin Message ---
Here's how I installed php4.1.1 with mysql and imap support for apache
1.3.19. I hope it help you.
I used:
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
--with-imap --with-kerberos --with-imap-ssl
and it worked fine but i got this error during make:
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/root/tars/php-4.1.1'
make: *** [all-recursive] Error 1
When exporting env vars (export LDFLAGS="-L/usr/kerberos/lib -lkrb5
-lgssapi_krb5 -lpam") i get: checking whether the C compiler (gcc
-L/usr/kerberos/lib -lkrb5 -lgssapi_krb5 -lpam) works... no
configure: error: installation or configuration problem: C compiler
cannot create executables.
Obviously, this didn't work, I simply installed krb5-devel and
reinstalled without exporting the env var.
This allowed me to compile successfully, but when I started apache I got
Cannot load /usr/local/apache/libexec/libphp4.so into server: undefined
symbol:pam_end
I checked to make sure the libraries were linked properly:
The cause for this was not having libpam_devel installed. Make sure that
if you clear config.cache and run make clean after configure.
Install krb5-devel
Install libpam -devel
ldconfig
./configure --with-apxs=/usr/local/apache/bin/apxs --with-mysql
--with-imap --with-kerberos --with-imap-ssl
make clean
make
make install
if you come into any other errors, try installing the devel packages and
recompiling don't forget to remove config.cache before each compile
attempt.
--- End Message ---
--- Begin Message ---
I have installed apache_1.3.23 and php-4.1.1 from source code on a suse 7.2
Linux box. I followed the Apache Module Quick installation instruction found
in the PHP manual, and seem to be having a bit of a problem. My goal is to
install WebCalendar-0.9.34, which currently resides in the
/usr/local/apache/htdocs/WebCalendar folder. When I try and browse it using
http://localhost/WebCalendar it pulls up a directory listing rather than
activating the index.php page.
Any suggestions?
Terry Poperszky
[EMAIL PROTECTED]
--- End Message ---