php-install Digest 18 Mar 2003 03:49:27 -0000 Issue 1294
Topics (messages 10351 through 10354):
Newbie alert
10351 by: Bernd Rauschert
10354 by: Matthew Kurowski
PHP 4.3.1 and Zend Optimizer
10352 by: Adam Voigt
php and java integration linux
10353 by: user.domain.invalid
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,
I got a suse 8.1 system with apache2 installed. I tried to install
mod_php and it wonīt work. I looked for the apxs but it is not
installed (but the mod_so).
So I installed php 4.3.1 on my system (and this works fine). Is it
possible to run .php files without mod_php on the apache webserver?
I ask this because perl is running without the mod_perl on my system.
The performance doesnīt matter(I only need it for phpmyadmin).
Has anyone had the same problems and solved it? Iīm trying now since 2
days, but couldnīt solve the problem.
Thankīs in advance,
Bernd Rauschert
(hope I can help you some time)
--- End Message ---
--- Begin Message ---
>> Is it possible to run .php files without mod_php on the apache webserver?
go http://www.php.net/manual/en/install.commandline.php
note i have not yet tried 4.3.x in this fashion but it will work under
4.2.x/1.3.x for sure. does phpmyadmin work under 4.3.x for sure? if not,
going to 4.2 should be easy enough. i thought suse 8.1 shipped with 4.2.? ?
gl
best,
matthew kurowski
--- End Message ---
--- Begin Message ---
I have PHP 4.3.1 installed as an ISAPI module under IIS 5.0,
and have the zend optimizer installed, if I run "php.exe -v"
from the command line, it shows the optimizer is loaded.
However, if I use phpinfo() on a webpage, (through the ISAPI
module) the optimizer doens't show up as being active. I have
already verified permissions on both the php and zend directory
are set properly and restarted the entire server. Any ideas?
Thanks.
--
Adam Voigt ([EMAIL PROTECTED])
The Cryptocomm Group
My GPG Key: http://64.238.252.49:8080/adam_at_cryptocomm.asc
--- End Message ---
--- Begin Message ---
After battleling for several days with this issue I finally reached a
(dirty) solution. Maybe someone can shed some light on this issue.(is
every step needed?? It works now finally but...)
I'm using: apache 1.3.27 - php 4.2.3 - mysql 3.23.52 - RedHat8 - JavaSDK
1.3.1_06.
WHat I had to do to get java work with php is:
1) in /etc/ld.so.conf add:
/usr/local/java/jre/lib/i386
/usr/local/java/jre/lib/i386/server
2) in /etc/init.d/httpd add:
LD_LIBRARY_PATH=:/usr/local/java/jre/lib/i386:/usr/local/java/jre/lib/i386/server
3)while configuring PHP add:
--with-php=/usr/local/java
4) in usr/local/lib/php.ini add:
[java]
java.home=/usr/local/java
java.class.path=/usr/local/lib/php/php_java.jar
java.library=/usr/local/java/jre/lib/i386/libjava.so
extension_dir=/usr/local/lib/php/extensions/no-debug-non-zts-20020429
extension=java.so
5) in the extension_dir of 4) do:
ln -s java.so libphp_java.so
*) The php-file that I use to check if it's working is:
<?php
$systemInfo = new Java("java.lang.System");
print "Total seconds since January 1, 1970:
".$systemInfo->currentTimeMillis();
?>
!!!! After all these steps if I would start apache and open this file I
would get the following error:
Fatal error: Unable to load Java Library
/usr/local/java/jre/lib/i386/libjava.so, error: libverify.so: cannot
open shared object file: No such file or directory in
/web/htdocs/htdocs/java.php on line 5
6) The solution is that I open a console, type:
export LD_LIBRARY_PATH=/usr/local/java/jre/lib/i386
and after that start apache like:
/usr/local/apache/1.3.27/bin/apachectl start
-> the result is:
Total seconds since January 1, 1970: 1.047930944E+12 /* The version of
Java running is1.3.1_06*/
---> this 'joke' cost me lots of time (and frustration). The offical
README's suggest that some of these steps are not needed. So what went
wrong???
ANyone suggestions???
Thnx,
MrB
--- End Message ---