php-install Digest 2 Oct 2002 17:38:38 -0000 Issue 1050
Topics (messages 8629 through 8643):
Re: GD2.0.1 install on windows
8629 by: Rybar Stepan
"VERY NEWBIE" php_* mod_* --with- question
8630 by: Aleksandar
8636 by: Brian.Duke.Level3.com
Re: comfirm message
8631 by: nattawut
Problem after run configure
8632 by: nattawut
8634 by: nattawut
PHP 4.2.1 on RedHat 7.2 pb with stub.lo truncated
8633 by: Antoine
Re: Apache 2.0 and libphp4.so
8635 by: Brian.Duke.Level3.com
Problems compiling jpeg & gd into php
8637 by: new.php.net
8638 by: Rasmus Lerdorf
Problems with ldap_connect
8639 by: Stewart Dean
httpd.conf
8640 by: Antoine
8641 by: Rasmus Lerdorf
8642 by: Antoine
8643 by: Chris Hewitt
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 have success.
Simply have these two lines in Your php.ini
;extension=php_gd.dll
extension=php_gd2.dll
be sure, You have both (or only php_gd2.dll) in Your extension directory and
You should be OK. After restarting web server. I am using 4.3.0dev binary
distribution downloaded from http://snaps.php.net/win32. I have MS Windows
NT 5.1 (XP) EN, but this should be the same as MS Windows ME.
Stepan
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Ing. Stepan Rybar
EU Twinning Project CZ 2000-10-01
e-mail: [EMAIL PROTECTED]
mobil: +420-607-636256
Vinohradska 46/1896, Praha, 120 00
AC: 21756341
----------------------------------------
--- End Message ---
--- Begin Message ---
Hello List for the first time,
I am very new to php but impressed from what i've seen so far. I managed to
configure php w/ mysql and db2 do some selects, inserts ...
What I am inerested in is what are all those mod_php* and php_* on the
distribution's CDs e.g. if they are installed how do i get support for
which i thought i have installed the module( like rpm -i
php-oracle-4.2.2-1j1.i686.rpm means that i can somehow get oracle support
without recompiling php ??? or no).
Another thing that bothers me is should I (can I) use for example Oracle's
apache or install "regular" apache and work with it.
Is Apache-PHP-Linux on one machine and OracleDB-Win/Lin on another machine
big trouble or peace of cake (It asks me for oci8 lib which I don't know
where to get if I don't want to install any oracle products on the web
server (can i get them from php-oci8...rpm for example)
DSO e.g. oracle.so is a shared object but where to include it for the
support and is it enough)
Thank you all and looking forward to hearing from you
--- End Message ---
--- Begin Message ---
Well, I'm not the best qualified to answer this question but here goes my
best shot (Guru's watch me here make sure I don't screw this up).
Starting with Apache. Apache does not actually process your *.php files.
There is another engine that takes care of that called Zend. There are a
couple lines you need to add to httpd.conf in order to tell apache what to
do with these files but if you installed apache via RPM it should be
pre-built with <iffound> tags that has something like
AddType application/x-httpd-php .php
and
LoadModule php4_module libexec/libphp4.so
in there.
now the AddType line may also have .php4 and .php3 as well as .php
Make sure that the modules for your oracle-php are of the same release as
your php.
I.E. php-oracle-4.2.2-1j1.i686.rpm
should have php-4.2.2-1j1.i686.rpm installed prior to the oracle-php.
Not sure about the actual syntax of the LoadModule (modulename)
libexec/oracle.so but I would include that
in your load modules section in the httpd.conf. Check the Apache.org site
and click on PHP. The www.php.net has an introductory tutorial link on the
left of the page. Next click on "Installation" and that will give you a list
of different types of servers you can configure for including Apache.
I had a lot of trouble getting mine to work until I did a rpm -e php and saw
about 10-15 versions of php in the system. php-oracle, php-postgres,
php-mysql, php-devel ...etc. some of them (including the main php*.rpm) were
of different revisions. I yanked all of them out and only installed what I
needed and all of the same revision. Now my system is running much faster
and cleaner and php is finally working too.
-----Original Message-----
From: Aleksandar [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 2:06 AM
To: [EMAIL PROTECTED]; [EMAIL PROTECTED];
[EMAIL PROTECTED]
Subject: [PHP-INST] "VERY NEWBIE" php_* mod_* --with- question
Hello List for the first time,
I am very new to php but impressed from what i've seen so far. I managed to
configure php w/ mysql and db2 do some selects, inserts ...
What I am inerested in is what are all those mod_php* and php_* on the
distribution's CDs e.g. if they are installed how do i get support for
which i thought i have installed the module( like rpm -i
php-oracle-4.2.2-1j1.i686.rpm means that i can somehow get oracle support
without recompiling php ??? or no).
Another thing that bothers me is should I (can I) use for example Oracle's
apache or install "regular" apache and work with it.
Is Apache-PHP-Linux on one machine and OracleDB-Win/Lin on another machine
big trouble or peace of cake (It asks me for oci8 lib which I don't know
where to get if I don't want to install any oracle products on the web
server (can i get them from php-oci8...rpm for example)
DSO e.g. oracle.so is a shared object but where to include it for the
support and is it enough)
Thank you all and looking forward to hearing from you
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
----------------------------------------- (on interscan)
email-body was scanned and no virus found
---------------------------------------------------------
confirm: 211d8659de6848f98020c45ca739af94 [EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
----------------------------------------- (on interscan)
email-body was scanned and no virus found
---------------------------------------------------------
My system use
OS : solaris 8 (Sparc II)
Oracle : version 8.0.6
PHP : version 4.0.6
I run configure with this parameter
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars
--with-oracle=/data/oracle_client/oracle/product/8.0.6 --enable-sigchild
and it make debug.log follow this
----------------------------------------------------------------------------------------------------------------------------
CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--enable-track-vars' '--with-oracle=/data/oracle_client/oracle/
product/8.0.6' '--enable-sigchild'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
-I/root/download/src/php-4.0.6/ext/mysql/libmysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.8/2.95.3 -R/data/oracle_client/oracle/product/8.0.6/lib
-L/data/oracle_client/oracle/product/8.0.6/lib
LIBS: -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc
-lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
/data/oracle_client/oracle/product/8.0.6/lib
uname -a: SunOS www2 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
-DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib -R/usr/loc
al/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/data/oracle_client/oracle/product
/8.0.6/lib -L/data/oracle_client/oracle/product/8.0.6/lib conftest.c -lcrypt -lresolv
-lresolv -lresolv -lm -ldl -lnsl -lsocket -ls
ocket -lgcc -lclntsh 1>&5
Undefined first referenced
symbol in file
slpmprodstab /data/oracle_client/product/8.0.6/lib/libclntsh.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
----------------------------------------------------------------------------------------------------
and we try to run make , then have error message like this
threads -c internal_functions.c
In file included from internal_functions.c:33:
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:22: oratypes.h: No
such fil
e or directory
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:23: ocidfn.h: No
such file
or directory
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:24: ociapr.h: No
such file
or directory
*** Error code 1
make: Fatal error: Command failed for target `internal_functions.lo'
Current working directory /usr/local/src/php/php-4.0.6/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php/php-4.0.6/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
------------------------------------------------------------------------------------
Best Regards,
Nattawut
Thailand
--- End Message ---
--- Begin Message ---
----------------------------------------- (on interscan)
email-body was scanned and no virus found
---------------------------------------------------------
My system use
OS : solaris 8 (Sparc II)
Oracle : version 8.0.6
PHP : version 4.0.6
I run configure with this parameter
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-track-vars
--with-oracle=/data/oracle_client/oracle/product/8.0.6 --enable-sigchild
and it make debug.log follow this
----------------------------------------------------------------------------------------------------------------------------
CONFIGURE: './configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--enable-track-vars' '--with-oracle=/data/oracle_client/oracle/
product/8.0.6' '--enable-sigchild'
CC: gcc
CFLAGS: -g -O2
CPPFLAGS: -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT -DSUPPORT_UTF8
CXX:
CXXFLAGS:
INCLUDES: -I/usr/local/apache/include -I$(top_builddir)/Zend
-I/root/download/src/php-4.0.6/ext/mysql/libmysql
LDFLAGS: -R/usr/ucblib -L/usr/ucblib
-R/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-sol
aris2.8/2.95.3 -R/data/oracle_client/oracle/product/8.0.6/lib
-L/data/oracle_client/oracle/product/8.0.6/lib
LIBS: -lcrypt -lresolv -lresolv -lresolv -lm -ldl -lnsl -lsocket -lsocket -lgcc
-lclntsh
DLIBS:
SAPI: apache
PHP_RPATHS: /usr/ucblib /usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
/data/oracle_client/oracle/product/8.0.6/lib
uname -a: SunOS www2 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-60
gcc -o conftest -g -O2 -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS2=280 -DUSE_EXPAT
-DSUPPORT_UTF8 -R/usr/ucblib -L/usr/ucblib -R/usr/loc
al/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-L/usr/local/lib/gcc-lib/sparc-sun-solaris2.8/2.95.3
-R/data/oracle_client/oracle/product
/8.0.6/lib -L/data/oracle_client/oracle/product/8.0.6/lib conftest.c -lcrypt -lresolv
-lresolv -lresolv -lm -ldl -lnsl -lsocket -ls
ocket -lgcc -lclntsh 1>&5
Undefined first referenced
symbol in file
slpmprodstab /data/oracle_client/product/8.0.6/lib/libclntsh.so
ld: fatal: Symbol referencing errors. No output written to conftest
collect2: ld returned 1 exit status
----------------------------------------------------------------------------------------------------
and we try to run make , then have error message like this
threads -c internal_functions.c
In file included from internal_functions.c:33:
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:22: oratypes.h: No
such fil
e or directory
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:23: ocidfn.h: No
such file
or directory
/usr/local/src/php/php-4.0.6/ext/oracle/php_oracle.h:24: ociapr.h: No
such file
or directory
*** Error code 1
make: Fatal error: Command failed for target `internal_functions.lo'
Current working directory /usr/local/src/php/php-4.0.6/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /usr/local/src/php/php-4.0.6/main
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
------------------------------------------------------------------------------------
Best Regards,
Nattawut
Thailand
--- End Message ---
--- Begin Message ---
Hi,
I got this error when doing a "make":
..
stub.lo: file not recognized: File truncated
collect2: ld returned 1 exit status
make[1]: *** [libphp4.la] Error 1
make[1]: Leaving directory `/usr/local/php/php-4.2.3'
make: *** [all-recursive] Error 1
if someone already had this error and solved it,
please help...
Antoine
--- End Message ---
--- Begin Message ---
Our system found and removed this from our email...However I thought that
perhaps
others might have got this and did not have as strong a virus detection as
we do.
-----Original Message-----
From: Gilberto J. Palau [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, October 02, 2002 6:55 AM
To: undisclosed-recipients
Subject: [PHP-INST] Re: Apache 2.0 and libphp4.so
------------------ Virus / Macro Warning Message (on
f1ee40-20.idc1.level3.com)
Found virus WORM_BUGBEAR.A in file zaloha.reg.scr
The uncleanable file zaloha.reg.scr is moved to
/etc/iscan/virus/virJLBwZaG2c.
Appropriate action has been taken to clean, strip off , quarantine, or
delete the virus or macro. No further action is required at this time.
---------------------------------------------------------
--- End Message ---
--- Begin Message ---
If have gd 1.8.4 compiled with zlib and jpeg support... This works fine but
whenever I try to make php 4.2.3:
configure --enable-track-vars --enable-trans-sid --with-mysql --with-apxs --
with-gd --with-jpeg-dir=/usr/local/lib --with-zlib
I register following line:
checking for gdImageCreateformGif in -lgd ... (cached) no
checking for gdImageCreateformjpeg in -lgd ... (cached) no
Can you tell me whats my fault?
--- End Message ---
--- Begin Message ---
Check your config.log and see why it failed.
On Wed, 2 Oct 2002, new.php.net wrote:
> If have gd 1.8.4 compiled with zlib and jpeg support... This works fine but
> whenever I try to make php 4.2.3:
>
> configure --enable-track-vars --enable-trans-sid --with-mysql --with-apxs --
> with-gd --with-jpeg-dir=/usr/local/lib --with-zlib
>
> I register following line:
>
> checking for gdImageCreateformGif in -lgd ... (cached) no
> checking for gdImageCreateformjpeg in -lgd ... (cached) no
>
> Can you tell me whats my fault?
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Environment:
AIX 5.1, Apache 1.3.20 (with mod_so.c commpiled in), PHP 4.2.2 (configure command:
./configure'
'--with-apxs=/usr/HTTPServer/bin/apxs' '--with-ldap=/usr/ldap')
We have been unning PHP code on Solaris, now we want to get it running on AIX. I
recently got php
up and running with the above environment but the web developer is having trouble with
some simple
code that should work (and has on Solaris)...so there's something not right with my
install/initial
config..
If I create a file with the line
<?php echo "test"; ?>
it works fine and puts out the word test
<?php phpinfo() ?>
works as expected
However....
If I add an ldap_connect call to the first testcase:
<?php echo "test"; $ldap = ldap_connect("ldap.bard.edu"); echo $ldap ?>
I get an alert popup saying "the page has no data"
Can anyone give me a clue as to what is happening, what further roblem resolution I
should be doing
or where I might go if not here with this?????
--
====
Stewart Dean, Unix System Admin, Henderson Computer Resources
Center of Bard College, Annandale-on-Hudson, New York 12504
[EMAIL PROTECTED] voice: 845-758-7475, fax: 845-758-7035
--- End Message ---
--- Begin Message ---
Hi,
I compiled PHP 4.2.3 on RedHat 7.2,
and I am using PHP as a module of apache
In httpd.conf, I added the lines:
LoadModule php4_module libexec/libphp4.so
AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps
But Apache still send back files with php codes in it when I access them
with my browser
any ideas??
I don't know also where to put the php.ini file
I put it in /usr/local/usr/lib/php.ini
is that right?
I tried to figure out why by using the ./apachectl status usercall
but it answered
>Not Found
>The requested URL /server-status was not found on this server.
May be that you could help me a bit
thanks
--
Antoine
--- End Message ---
--- Begin Message ---
Did you restart your server?
On Wed, 2 Oct 2002, Antoine wrote:
> Hi,
>
> I compiled PHP 4.2.3 on RedHat 7.2,
> and I am using PHP as a module of apache
>
> In httpd.conf, I added the lines:
>
> LoadModule php4_module libexec/libphp4.so
>
> AddType application/x-httpd-php .php
>
> AddType application/x-httpd-php-source .phps
>
>
> But Apache still send back files with php codes in it when I access them
> with my browser
> any ideas??
>
>
>
> I don't know also where to put the php.ini file
> I put it in /usr/local/usr/lib/php.ini
> is that right?
>
>
> I tried to figure out why by using the ./apachectl status usercall
> but it answered
> >Not Found
> >The requested URL /server-status was not found on this server.
>
> May be that you could help me a bit
> thanks
>
> --
> Antoine
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,
Yes, I did restart the server,
The server work but still send a file with php code in it
The file has a .php extension, so I don't think this the problem
the filename is "phpinfo.php"
the line with Directory index is this one:
DirectoryIndex index.html index.shtml index.htm index.php index.php3
index.phtml
I really don't know what is the problem?
I attached with this email the httpd.conf file,
may be you could have a quick look at it and help me in a better way?
thanks
Antoine
"Rasmus Lerdorf" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Did you restart your server?
>
> On Wed, 2 Oct 2002, Antoine wrote:
>
> > Hi,
> >
> > I compiled PHP 4.2.3 on RedHat 7.2,
> > and I am using PHP as a module of apache
> >
> > In httpd.conf, I added the lines:
> >
> > LoadModule php4_module libexec/libphp4.so
> >
> > AddType application/x-httpd-php .php
> >
> > AddType application/x-httpd-php-source .phps
> >
> >
> > But Apache still send back files with php codes in it when I access them
> > with my browser
> > any ideas??
> >
> >
> >
> > I don't know also where to put the php.ini file
> > I put it in /usr/local/usr/lib/php.ini
> > is that right?
> >
> >
> > I tried to figure out why by using the ./apachectl status usercall
> > but it answered
> > >Not Found
> > >The requested URL /server-status was not found on this server.
> >
> > May be that you could help me a bit
> > thanks
> >
> > --
> > Antoine
> >
> >
> >
> > --
> > PHP Install Mailing List (http://www.php.net/)
> > To unsubscribe, visit: http://www.php.net/unsub.php
> >
>
begin 666 httpd.conf
M(R!697)I;R!!9'9A;F-E9"!796(@2&]S=&EN9R M(&1E9F%U;'0@87!A8VAE
M(&-O;F9I9W5R871I;VX-"B,@<W)M+F-O;F8@86YD(&%C8V5S<RYC;VYF(&%R
M92!O8G-O;&5T960@8GD@=&AI<R!F:6QE#0H-"B,C(R,C(R,C(R,C(R,C(R,C
M(R,C(R,C(PT*(R!S97)V97(@8V]N9FEG=7)A=&EO;B C#0HC(R,C(R,C(R,C
M(R,C(R,C(R,C(R,C(R,-"@T*4F5S;W5R8V5#;VYF:6<@+V1E=B]N=6QL#0I!
M8V-E<W-#;VYF:6<@+V1E=B]N=6QL#0I397)V97)4>7!E('-T86YD86QO;F4-
M"E!O<G0@.# -"B,@96YA8FQI;F<@:&]S=&YA;64@;&]O:W5P<R!C875S97,@
M82!P97)F;W)M86YC92!H:70-"DAO<W1N86UE3&]O:W5P<R!O9F8-"E5S97(@
M;F]B;V1Y#0I'<F]U<"!N;V)O9'D-"E5S97)$:7(@9&ES86)L960@<F]O=" -
M"E-E<G9E<D%D;6EN('=E8FUA<W1E<D!L;V-A;&AO<W0-"E-E<G9E<E)O;W0@
M+W5S<B]L;V-A;"]A<&%C:&4-"D1O8W5M96YT4F]O=" O=7-R+VQO8V%L+V%P
M86-H92]H=&1O8W,-"E1R86YS9F5R3&]G(&QO9W,O86-C97-S7VQO9PT*17)R
M;W),;V<@;&]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
M9W,O86-C97-S+FQO9PT*17)R;W),;V<@+W5S<B]L;V-A;"]A<&%C:&4O<VET
M97,O;W!T:6UA5C0N8V]M+VQO9W,O97)R;W(N;&]G#0H\+U9I<G1U86Q(;W-T
%/@T*#0H`
`
end
--- End Message ---
--- Begin Message ---
Antoine wrote:
>Yes, I did restart the server,
>The server work but still send a file with php code in it
>The file has a .php extension, so I don't think this the problem
>the filename is "phpinfo.php"
>
>the line with Directory index is this one:
>DirectoryIndex index.html index.shtml index.htm index.php index.php3
>index.phtml
>
DirectoryIndex specifies files that should be served when no file is
given in the url, e.g www.mybox.com instead of e.g.
www.mybox.com/phpinfo.php.
Your AddType and LoadModule lines for php look right to me. Have you got
more than one httpd.conf file? On RH 7.2 it would normally be in
/etc/httpd/conf but according t the httpd.conf you attached, this should
be located in /usr/local/apache/conf.
One test I do to see if apache is looking at the httpd.conf file I think
it should be is to put a line of rubbish in the file. Restart apache and
check that it complains about the rubbish line.
HTH
Chris
--- End Message ---