php-install Digest 9 Jan 2002 02:31:51 -0000 Issue 640
Topics (messages 5513 through 5520):
undefined symbol: jdk_pthread_sigmask
5513 by: James Hughes
Making PHP
5514 by: Marecky
php "make" error
5515 by: Jim Goodman
PHP upgrade problem
5516 by: Brad Harriger
Re: PHP+Sybase+iPlanet Problem
5517 by: Jim Hobbs
please help me ! I have some problems installing php on my Apache server on a
Windows98 platform
5518 by: Knibalu
5519 by: Knibalu
5520 by: Chris
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,
I have compiled php 4.0.4 with the following config, so that I may run some
java code:
./configure --prefix=/usr --with-config-file-path=/etc --enable-shared --wit
h-apxs=/usr/sbin/apxs --with-exec-dir=/usr/bin --with-regex=system --without
-mysql --with-java=/usr/local/j2sdk1.3.1/
The JVM is Blackdown
php.ini [java] is as follows:
java.class.path=/usr/lib/php_java.jar:/usr/local/j2sdk1.3.1/jre/lib/rt.jar
java.home=/usr/local/j2sdk1.3.1
java.library=/usr/local/j2sdk1.3.1/jre/lib/i386/classic/libjvm.so
java.library.path=/usr/lib/php4:/usr/lib/php/extensions/no-debug-non-zts-200
01214:/usr/lib:/usr/local/j2sdk1.3.1/jre/lib/i386:/usr/local/j2sdk1.3.1/jre/
lib/i386/classic:/usr/local/j2sdk1.3.1/jre/lib/i386/native_threads
I attempt to execute the following php file from the prompt:
<?php
$javaDate = new ("java.util.Date");
echo $javaDate->toString();
?>
And I receive the following output:
php: relocation error: /usr/local/j2sdk1.3.1/jre/lib/i386/classic/libjvm.so:
undefined symbol: jdk_pthread_sigmask
security properties not found. using defaults.
can't open /usr/local/j2sdk1.3.1/lib/tzmappings
X-Powered-By: PHP/4.0.4pl1
Content-type: text/html
Tue Jan 08 13:07:57 GMT+00:00 2002<BR>
This says to me that the toString call worked, and the java code is being
executed, but I need to know what the error here is, and what I am doing
wrong - can anybody help?
Thanks,
J
--- End Message ---
--- Begin Message ---
I still have problems with PHP installation. Should I receive making ext/png
subdirectory in PHP direcory while calling 'make' like I receive making
ext/gd and ext/zlib?
--- End Message ---
--- Begin Message ---
i finally got the "configure" portion to work without it saying that apxs
didn't exist. interesting problem there that i hadn't seen answered
anywhere... the first line needed to be set to the location of perl.....
with that done, i now have an error when i "make".
first let me say that i am a unix moron (just learneing). it is a solaris 8
box (sparc) with apache 1.3.22 and mysql installed. they are all running
fine. the apache is configed and running the mod.so.c thingy (i don't know
what to call it) so it is ready to accept DSO modules (right). like i said,
i run configure succesfully and then this is what i get from make.
# make
Making all in Zend
make[1]: Entering directory `/home/nsuser/php/Zend'
/bin/sh ../libtool --silent --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../main -D_POSIX_PTHREAD_SEMANTICS -DSOLARIS
2=280 -DUSE_EXPAT -I../TSRM -g -O2 -prefer-pic -c zend_language_parser.c
/usr/ccs/bin/as: "/var/tmp/ccVE4o2J.s", line 15333: error: unknown opcode
".subsection"
/usr/ccs/bin/as: "/var/tmp/ccVE4o2J.s", line 15333: error: statement syntax
/usr/ccs/bin/as: "/var/tmp/ccVE4o2J.s", line 15679: error: unknown opcode
".previous"
/usr/ccs/bin/as: "/var/tmp/ccVE4o2J.s", line 15679: error: statement syntax
make[1]: *** [zend_language_parser.lo] Error 1
make[1]: Leaving directory `/home/nsuser/php/Zend'
make: *** [all-recursive] Error 1
help resolving this issue is greatly appreciated as this is the last task
required for this box to be done. i can be reaced directly via email at
[EMAIL PROTECTED]
thanks.....
-jimg
--- End Message ---
--- Begin Message ---
I've installed PHP 4.11 in the same location I had the previous version
(4.0.6) I was running. Now I'm receiving the following error:
The procedure entry point zend_ptr_stack_push could not be located in
the dynamic link library php4ts.dll.
This error occurs every time I load a page. How can I eliminate this
message?
Thanks in advance,
Brad
--- End Message ---
--- Begin Message ---
Did you get any information about this? I am running into the same problem
trying to get nsapi and sybase to coexist.
Chenfou wrote:
> When I use PHP(4.0.4pl1)+Sybase ASE(11.9.2)+Apache(1.3.17) on SUN
> Solaris(2.6) is very perfect.
> Recently I must replace Apache by iPlanet(4.1).It is no error when i
> config this setup,
> but when I make this,I get some error message.
> (I have installed
> package:gcc(2.95.2),perl(5.005.03),bison(1.25),authconf(2.13),automake(1.4)
> in my system)
>
> configure:
> ./configure \
> --with-nsapi=/user1/web1/server-home \
> --with-sybase=/opt/sybase \
> --prefix=/usr/local/bin \
> --with-config-file-path=/usr/local/bin \
> --exec-prefix=/usr/local/bin \
> --enable-memory-limit=yes \
> --enable-debug=no \
> --enable-trans-sid \
> --enable-track-vars \
> --enable-magic-quotes \
> --enable-libgcc \
>
> if PHP and iPlanet Compiled together,have no problem,but add
> --with-sybase argument then have error message.
> if PHP and Sybase Compiled together,have no problem,but add --with-nsapi
> argument then have error message.
>
> error message:
>
> Making all in sybase
> make[2]: Entering directory `/user1/php-4.0.4pl1/ext/sybase'
> make[3]: Entering directory `/user1/php-4.0.4pl1/ext/sybase'
> /bin/sh /user1/php-4.0.4pl1/libtool --silent --mode=compile gcc -I.
> -I/user1/ph
> p-4.0.4pl1/ext/sybase -I/user1/php-4.0.4pl1/main -I/user1/php-4.0.4pl1
> -I/user1/
> web1/server-home/plugins/include -I/user1/php-4.0.4pl1/Zend
> -I/user1/php-4.0.4pl
> 1/ext/mysql/libmysql -I/opt/sybase/include
> -I/user1/php-4.0.4pl1/ext/xml/expat/x
> mltok -I/user1/php-4.0.4pl1/ext/xml/expat/xmlparse
> -I/user1/php-4.0.4pl1/TSRM -
> D_POSIX_PTHREAD_SEMANTICS -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT
> -DXML_BYTE_ORD
> ER=21 -I../TSRM -DTHREAD=1 -g -O2 -pthreads -c php_sybase_db.c
> php_sybase_db.c: In function `php_if_sybase_query':
> php_sybase_db.c:781: `core_globals' undeclared (first use in this
> function)
> php_sybase_db.c:781: (Each undeclared identifier is reported only once
> php_sybase_db.c:781: for each function it appears in.)
> make[3]: *** [php_sybase_db.lo] Error 1
> make[3]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/user1/php-4.0.4pl1/ext/sybase'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/user1/php-4.0.4pl1/ext'
> make: *** [all-recursive] Error 1
>
> Thanks
--- End Message ---
--- Begin Message ---
Hello!
I think PHP is the best language for Webbing and that is why I deceided to
begin learning it.
I have an Amd 350 Mhz computer with a 4.3Gb Harddisk and 64 Mb of Ram.
I use Windows98 and even if I knew Apache is working very good with Linux
I didn't have enough space to install il (Red Hat Linux).So I tried Apache
on Windows.
I have followed the next steps as advised by the install.txt from PHP
package.
1.unzip php-4.0.6-Win32.zip at c:\php
2.install Apache 1.3.20 in c:\Apache\Apache
3.copy php.ini-dist (from c:\php) in c:\windows and I rename it to php.ini
4.edit php.ini this way:
extension_dir=c:\php
doc_root=c:\Apache\Apache
5.I want to use PHP as a module in Apache so I move php4ts.dll in
c:\windows\system
6.edit the httpd.conf-the configuration file of the Apache server:
I add the next two lines:
I.after Dynamic Shared Object (DSO) Support
Load Module php4_module c:/php/sapi/php4apache.dll
II.after AddType aplication/x-tar .tgz
AddType aplication/x-httpd-php .php .html
After this I start Apache in its console where I can see written:
Apache/1.3.20 <Win32> PHP/4.0.6 running
But a simple script like this isn't working:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
saved as test.php I get a blank screen in my IE 5.0 browser.
I tried to use also the CGI version of PHP but it isn't working as well.
I have used 2 packeges downloaded recently from php.net .
"PHP 4.1.0 zip package [4,783Kb] - 12 December 2001
(CGI binary plus server API versions for Apache, AOLserver,
ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged
as zip)"
"PHP 4.1.0 installer [918Kb] - 12 December 2001
(CGI only, MySQL support built-in, packaged as Windows installer to
install and configure PHP, and automatically configure IIS, PWS and Xitami,
with manual configuration for other servers. N.B. no external extensions
included)"
What do you think I should do?
Is there any other solution than installing Linux on my computer?
I expect an answer
with a right solution
Knibalu' (Mihnea Cioca)
17 years old boy from
eastern Europe.
Hanlon's Razor:
Never attribute to malice that which is adequately explained by stupidity.
--- End Message ---
--- Begin Message ---
Hello!
I think PHP is the best language for Webbing and that is why I deceided to
begin learning it.
I have an Amd 350 Mhz computer with a 4.3Gb Harddisk and 64 Mb of Ram.
I use Windows98 and even if I knew Apache is working very good with Linux
I didn't have enough space to install il (Red Hat Linux).So I tried Apache
on Windows.
I have followed the next steps as advised by the install.txt from PHP
package.
1.unzip php-4.0.6-Win32.zip at c:\php
2.install Apache 1.3.20 in c:\Apache\Apache
3.copy php.ini-dist (from c:\php) in c:\windows and I rename it to php.ini
4.edit php.ini this way:
extension_dir=c:\php
doc_root=c:\Apache\Apache
5.I want to use PHP as a module in Apache so I move php4ts.dll in
c:\windows\system
6.edit the httpd.conf-the configuration file of the Apache server:
I add the next two lines:
I.after Dynamic Shared Object (DSO) Support
Load Module php4_module c:/php/sapi/php4apache.dll
II.after AddType aplication/x-tar .tgz
AddType aplication/x-httpd-php .php .html
After this I start Apache in its console where I can see written:
Apache/1.3.20 <Win32> PHP/4.0.6 running
But a simple script like this isn't working:
<html>
<head>
<title>Example</title>
</head>
<body>
<?php
echo "Hi, I'm a PHP script!";
?>
</body>
</html>
saved as test.php I get a blank screen in my IE 5.0 browser.
I tried to use also the CGI version of PHP but it isn't working as well.
I have used 2 packeges downloaded recently from php.net .
"PHP 4.1.0 zip package [4,783Kb] - 12 December 2001
(CGI binary plus server API versions for Apache, AOLserver,
ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged
as zip)"
"PHP 4.1.0 installer [918Kb] - 12 December 2001
(CGI only, MySQL support built-in, packaged as Windows installer to
install and configure PHP, and automatically configure IIS, PWS and Xitami,
with manual configuration for other servers. N.B. no external extensions
included)"
What do you think I should do?
Is there any other solution than installing Linux on my computer?
I expect an answer
with a right solution
Knibalu' (Mihnea Cioca)
17 years old boy from
eastern Europe.
Hanlon's Razor:
Never attribute to malice that which is adequately explained by stupidity.
--- End Message ---
--- Begin Message ---
Greetings,
I have chosen to rid all of our machines of Windows/ NT, etc but that's
another story. I've seen where you might be in trouble here. I'll try and help -
read below...
> Hello!
>
> I think PHP is the best language for Webbing and that is why I deceided to begin
> learning it.
> I have an Amd 350 Mhz computer with a 4.3Gb Harddisk and 64 Mb of Ram. I use
> Windows98 and even if I knew Apache is working very good with Linux I didn't have
> enough space to install il (Red Hat Linux).So I tried Apache on Windows.
> I have followed the next steps as advised by the install.txt from PHP package.
>
> 1.unzip php-4.0.6-Win32.zip at c:\php
> 2.install Apache 1.3.20 in c:\Apache\Apache
> 3.copy php.ini-dist (from c:\php) in c:\windows and I rename it to php.ini 4.edit
> php.ini this way:
> extension_dir=c:\php
> doc_root=c:\Apache\Apache
> 5.I want to use PHP as a module in Apache so I move php4ts.dll in
> c:\windows\system
> 6.edit the httpd.conf-the configuration file of the Apache server:
> I add the next two lines:
> I.after Dynamic Shared Object (DSO) Support
> Load Module php4_module c:/php/sapi/php4apache.dll
> II.after AddType aplication/x-tar .tgz
> AddType aplication/x-httpd-php .php .html
Consider the following:
# 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>
#
# 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
AddType application/x-tar .tgz
Please also note that these lines are *above* the .tgz line (matters?).
One of the problems I noticed was that you *mixed* .html and php. They are
*not* the same types of code and this *will* screw Apache up. Thy the above
and see if that doesn't fix it - I'm sure it will. :-)
Best Wishes:
C. Hutchinson
H.R. Communications Corp.
http://www.dnswatch.com
http://www.1command.com
> After this I start Apache in its console where I can see written:
> Apache/1.3.20 <Win32> PHP/4.0.6 running
> But a simple script like this isn't working:
> <html>
> <head>
> <title>Example</title>
> </head>
> <body>
>
> <?php
> echo "Hi, I'm a PHP script!";
> ?>
>
> </body>
> </html>
> saved as test.php I get a blank screen in my IE 5.0 browser.
> I tried to use also the CGI version of PHP but it isn't working as well. I have
> used 2 packeges downloaded recently from php.net .
>
> "PHP 4.1.0 zip package [4,783Kb] - 12 December 2001
> (CGI binary plus server API versions for Apache, AOLserver,
> ISAPI and NSAPI. MySQL support built-in, many extensions included, packaged as
> zip)"
>
> "PHP 4.1.0 installer [918Kb] - 12 December 2001
> (CGI only, MySQL support built-in, packaged as Windows installer to install and
> configure PHP, and automatically configure IIS, PWS and Xitami, with manual
> configuration for other servers. N.B. no external extensions included)"
>
>
> What do you think I should do?
> Is there any other solution than installing Linux on my computer?
>
> I expect an answer
> with a right solution
>
> Knibalu' (Mihnea Cioca)
> 17 years old boy from
> eastern Europe.
>
>
> Hanlon's Razor:
> Never attribute to malice that which is adequately explained by stupidity.
>
>
> --
> 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 ---