php-install Digest 8 Jan 2002 12:30:49 -0000 Issue 639
Topics (messages 5508 through 5512):
Re: Installation Problems
5508 by: Chris
Re: compiling PHP (any version) on cobalt linux
5509 by: Drew
Apache doesn't recognize the php files
5510 by: Ignacio Sosa
LDAP problem on AIX 4.3.2
5511 by: Gianni Del Papa
Php4.1.0 make in Solaris 8 error !
5512 by: flutter
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 Dave,
The most frequent cause of this can be found in your httpd.conf file in the
followinf locations:
# DirectoryIndex: Name of the file or files to use as a pre-written HTML
# directory index. Separate multiple entries with spaces.
#
<IfModule mod_dir.c>
DirectoryIndex index.html index.htm index.php default.html default.htm
</IfModule>
and.....
#
# AddType allows you to tweak mime.types without actually editing it, or to
# make certain files to be certain types.
#
# For example, the PHP 3.x module (not part of the Apache distribution - see
# http://www.php.net) will typically use:
#
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
#
# And for PHP 4.x, use:
#
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
Best Wishes,
C. Hutchinson
H.R. Communications Corp.
http://www.dnswatch.com
http://www.dnswatch.com
> I'm a professional webdesigner, but a recent job i recieved asked me to host the
> webpage on my computer, which means i'm trying to install php on my own system.
>
> I have done so, but when opening a .php file i see the source code and it's
> ignoring that php exists. If i stick <html> on the start to make it an html page
> it translate the html parts into being visible properly, but the php parts are
> still ignored.
>
> I'd appreciate a direct reply to [EMAIL PROTECTED]
>
> Thankyou
>
> David Lurie
>
>
>
> --
> 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]
............................................
This email was sent using DNSWATCH WebMail.
"Get YOUR account today!"
http://www.dnswatch.com/dnswm112/
--- End Message ---
--- Begin Message ---
Found out what it was, I was compiling in with --enable-openssl and thats
what was causing the failure issue.
maybe someone can benefit from this :)
Drew
"Drew" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> Hello All,
> I tried to compile PHP last night on one of my company's RaQ servers and
it
> appears to have configured, ran make and make install fine, however when I
> fire up apache I keep getting Undefined_Symbol errors, they seem to be
> random with no specific one happening over and over.
> Sample errors I get.
>
> Undefined_Symbol BIO_mem_buf (this seems to be the most common one, so
I'll
> stick with this one)
>
> This happens when I attempt to fire up Apache (tried on version 1.3.6 and
> 1.3.22)
>
> I checked around and found out it appears that PHP 4.0.6 doesn't compile
> correctly due to a bug in APXS on this version of linux (atleast the base
> install of this OS)
>
> So I tried the suggestion of 4.0.5 as well as 4.0.4p11 and neither would
run
> (but they did compile)
>
> If I comment out the line trying to load libphp4.so, then Apache happily
> gets to serving documents, with it enabled it pukes.
>
> Any ideas on this one?
>
> Thanks,
> Drew
>
>
--- End Message ---
--- Begin Message ---
> It sounds like the module itself is not being loaded by apache when you
> do the apachectl start or restart.. Check your httpd.conf for the
> following line.
>
> LoadModule php4_module /lib/apache/libphp4.so
>
> It should look like that, if not then add it or uncomment it and point
> to the appropiate path for the SO module..
It's true that there isn't that "LoadModule" line in my httpd.conf but it
should be there only if
I had added the PHP4 as a DSO module, Isn't it?
I added it as an standard module of Apache, that is, with the following:
"./configure --activate module=src/modules/php4/libphp4.a "
In addition, I have searched for the file "libphp4.so" in the whole file
system and
there isn't any file with that name!!!!
Any idea?
Thanks a lot!
--- End Message ---
--- Begin Message ---
Hi at all.
Here is the environment:
#########################
OS : AIX 4.3.2
PHP : 4.0.6
Apache : 1.3.20
GCC : 2.95.3
LDAP : iPlanet Directory SDK for C 5.0
LDAP Server : iPlanet 5.0, remote, on a win2000 Server machine
CONFIGURE:
./configure \
--with-config-file-path=/etc/php \
--with-apxs=/usr/local/apache/bin/apxs \
--with-mysql=/usr/local \
--with-mm=/usr/local \
--with-readline=/usr/local \
--with-imap=/usr/local/lib/imap \
--with-ldap=/usr/local/lib/ldap \
--with-regex=system \
--with-zlib=/usr/local \
--enable-ftp \
--with-xml
#########################
After "configure", before "make", I've edited the libtool file and add
\${wl}-bI:/usr/local/apache/libexec/httpd.exp
at
archive_cmds and uarchive_expsym_cmds lines.
Without this item compiling process is OK but Apache crash every PHP
call
Howhever, all OK at compile time.
All PHP function work fine and all seems to be OK but ... where i call
LDAP function it doesnt work. In apache error-log it looks like this:
[ ....] [notice] child pid 16402 exit signal Segmentation Fault (11)
[ ....] [notice] child pid 11340 exit signal Segmentation Fault (11)
After this Apache and PHP are still up and all work fine ..... The
problem is ONLY on LDAP calls!
I've tried to compile with older version of Netscape SDK but I've
reported a lot of compile errors.
LDAP Server work fine. The same test from a Linux box (PHP 4.0.4) with
unknow level SDK libraries work fine.
I don't know. Any idea?
Thank a lot in advance ...
Gianni
--
-----------------------------------------------------------
Dott. Gianni Del Papa [EMAIL PROTECTED]
[EMAIL PROTECTED]
Internet Dept. Manager
ISA SpA
L.go Garbini 8, I-01100 VITERBO - ITALY
Phone +39 0761 277 1
Extension +39 0761 277 23
Fax +39 0761 354050 http://www.isa.it/
-----------------------------------------------------------
--- End Message ---
--- Begin Message ---
Hi,every one!
When I run "make", I get errors like this :
#
#make
Mking all in Zend
make[1]: Entering directory `/usr/share/src/php-4.0.6/Zend'
/bin/sh ../libtool --silent --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I../main
-D_POSIX_PTHREAD_SEMANTICS -DSUPPORT_UTF8 -DXML_BYTE_ORDER=21 -g -O2 -c zend_
language_scanner.c
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29507: error: unknown opcode ".subs
ection"
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29507: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29665: error: unknown opcode ".prev
i
ous"
/usr/ccs/bin/as: "/var/tmp/ccy20dHk.s", line 29665: error: statement syntax
make[1]: *** [zend_language_scanner.lo] Error 1
make[1]: Leaving directory `/usr/share/src/php-4.0.6/Zend'
make: *** [all-recursive] Error 1
#
--- End Message ---