php-install Digest 3 Apr 2002 21:34:19 -0000 Issue 775

Topics (messages 6539 through 6548):

My browser display only a blank page...
        6539 by: Nicolas
        6543 by: Hunter, Ray

Apache + Php no go for me :(
        6540 by: NeXTGeN
        6541 by: martinahingis

Linux 7.2 / tux / php basis's
        6542 by: John Thorne

php 4.1.2 & Apache 2
        6544 by: Warren Daly

Re: Fatal error: Command failed for target `libZend.la'
        6545 by: Browning Nathan P SrA 509 CS/SCNO

Re: really simple question
        6546 by: Curtis Maurand

Re: php failing from within .html pages...
        6547 by: Curtis Maurand

Re: php+java on freebsd
        6548 by: javier

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've read the FAQ, the manuals of php and apache but doesn't find anything.
Here is my problem :
I've installed suse 7.2 with apache 1.3.19-48, php 4.0.4 and mysql
3.23.37-8. The file http.conf contains the lines loadmodule and addmodule
for php and the lines with addtype application/...
When I connect with Konqueror to localhost It display the index.html file
wich say apache configured with php, ssl and perl. But when I try to open a
file like trial.php3 it displays a blank page. If I would see the source
code I can find my php code.

More strange, when I made a  .php3 file containing html text, the html text
appears in konqueror but not in netscape!?! Konqueror could open files like
.php3 or .php4 but not .php.
Apparently my apache server is well configured so I don't understand where
is the problem


--- End Message ---
--- Begin Message ---
You can set up your php.ini file to log all startup and run-time errors to a
log file or syslog. This has helped me many times find errors that were not
being displayed.

Look for these items:
display_errors = Off
display_startup_errors = Off
log_errors = On
display_errors = Off
error_log = /var/log/php.log

Notice here that I have all the errors being logged in a file
/var/log/php.log. So no errors will be printed by the browser however, I can
view them in the log file.



Thank you,

Ray Hunter
Firmware Engineer

ENTERASYS NETWORKS


> -----Original Message-----
> From: Nicolas [mailto:[EMAIL PROTECTED]] 
> Sent: Tuesday, April 02, 2002 4:35 AM
> To: [EMAIL PROTECTED]
> Subject: [PHP-INST] My browser display only a blank page...
> 
> 
> Hello,
> I've read the FAQ, the manuals of php and apache but doesn't 
> find anything. Here is my problem : I've installed suse 7.2 
> with apache 1.3.19-48, php 4.0.4 and mysql 3.23.37-8. The 
> file http.conf contains the lines loadmodule and addmodule 
> for php and the lines with addtype application/... When I 
> connect with Konqueror to localhost It display the index.html 
> file wich say apache configured with php, ssl and perl. But 
> when I try to open a file like trial.php3 it displays a blank 
> page. If I would see the source code I can find my php code.
> 
> More strange, when I made a  .php3 file containing html text, 
> the html text appears in konqueror but not in netscape!?! 
> Konqueror could open files like .php3 or .php4 but not .php. 
> Apparently my apache server is well configured so I don't 
> understand where is the problem
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 
--- End Message ---
--- Begin Message ---
hey,
have a problem installing php on apache at windows 95.

apache without php runs fine mysql runs fine too.

when i start apache with php this error comes :

Syntax error on line 193 of c:/program files/apache group/apache/conf/httpd.
:
Cannot load c:/php/sapi/php4apache.dll into server: (1157) Kan een van de ve
te bibliotheekbestanden van deze toepassing niet vinden:

Tried to translate it into english:

Syntax error on line 193 of c:/program files/apache group/apache/conf/httpd.
:
Cannot load c:/php/sapi/php4apache.dll into server: (1157) Can`t find one of
the files of this application

who can help me out with this?
tnx in advance

NeXTGeN [EMAIL PROTECTED]



--- End Message ---
--- Begin Message ---
be sure that you have dloaded the win32 binary zip package of php form
www.php.net . The executable one does not have the apache support included.

--

martina.


"Nextgen" <[EMAIL PROTECTED]> wrote in message
[EMAIL PROTECTED]">news:[EMAIL PROTECTED]...
> hey,
> have a problem installing php on apache at windows 95.
>
> apache without php runs fine mysql runs fine too.
>
> when i start apache with php this error comes :
>
> Syntax error on line 193 of c:/program files/apache
group/apache/conf/httpd.
> :
> Cannot load c:/php/sapi/php4apache.dll into server: (1157) Kan een van de
ve
> te bibliotheekbestanden van deze toepassing niet vinden:
>
> Tried to translate it into english:
>
> Syntax error on line 193 of c:/program files/apache
group/apache/conf/httpd.
> :
> Cannot load c:/php/sapi/php4apache.dll into server: (1157) Can`t find one
of
> the files of this application
>
> who can help me out with this?
> tnx in advance
>
> NeXTGeN [EMAIL PROTECTED]
>
>
>


--- End Message ---
--- Begin Message ---

When tux  & httpd are running phpinfo() will not display.
If I shut down tux and restart httpd php runs fine.

Do I need tux running?

jrt


--- End Message ---
--- Begin Message ---
HI,
I am running a Sun Ultra 10 with Solaris 8 installed.  I have installed
Apache V2.0.32.  It works fine.  (IPV6 is great :-)
Now I require PHP 4 support so I downloaded PHP 4.1.2 so I run

./configure --with-apxs2=/usr/local/apache2/bin/apxs
--with-mysql=/usr/local/mysql
it configures fine.   but when I make I get the error below :( please help!!
thanks, Warren 

Making all in apache2filter
/bin/sh /home/root/php-4.1.2/libtool --silent --mode=compile
/home/root/php-4.1.2/meta_ccld  -I.
-I/home/root/php-4.1.2/sapi/apache2filter -I/home/root/php-4.1.2/main
-I/home/root/php-4.1.2 -I/usr/local/apache2/include
-I/home/root/php-4.1.2/Zend -I/usr/local/mysql/include
-I/home/root/php-4.1.2/ext/xml/expat  -D_POSIX_PTHREAD_SEMANTICS
-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -I/home/root/php-4.1.2/TSRM -g -O2
-pthreads -DZTS -prefer-pic  -c sapi_apache2.c
sapi_apache2.c: In function `php_apache_sapi_register_variables':
sapi_apache2.c:148: warning: initialization discards qualifiers from pointer
target type
sapi_apache2.c: In function `php_input_filter':
sapi_apache2.c:247: incompatible type for argument 4 of `ap_get_brigade'
sapi_apache2.c:247: too few arguments to function `ap_get_brigade'
sapi_apache2.c: In function `php_register_hook':
sapi_apache2.c:408: warning: passing arg 2 of `ap_register_input_filter'
from incompatible pointer type
*** Error code 1
make: Fatal error: Command failed for target `sapi_apache2.lo'
Current working directory /home/root/php-4.1.2/sapi/apache2filter
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/root/php-4.1.2/sapi/apache2filter
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /home/root/php-4.1.2/sapi
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'

 





Warren Daly              HEAnet Ltd.
Network Engineer         Brooklawn House,
Tel:+353-1-660 9040              Crampton Avenue,
Fax:+353-1-660 3666      Shelbourne Rd,Dublin 4.
mailto:[EMAIL PROTECTED]
Web: <http://www.heanet.ie>



--- End Message ---
--- Begin Message ---
Trying to install PHP 4.1.2 on Solaris 7.
I got this when I configured with ./configure --with-mysql --with-apxs

# make install
Making install in Zend
/bin/sh ../libtool --silent --mode=link gcc  -g -O2 -prefer-pic  -o
libZend.la
-lpam  -ldl -lcrypt -lresolv -lresolv -lm -ldl -lnsl -lsocket  -lsocket
-lgcc -l
crypt zend_language_parser.lo zend_language_scanner.lo  zend_ini_parser.lo
zend_
ini_scanner.lo zend_alloc.lo zend_compile.lo  zend_constants.lo
zend_dynamic_arr
ay.lo zend_execute.lo  zend_execute_API.lo zend_highlight.lo zend_llist.lo
zend_
opcode.lo  zend_operators.lo zend_ptr_stack.lo zend_stack.lo
zend_variables.lo
zend.lo zend_API.lo zend_extensions.lo zend_hash.lo zend_list.lo
zend_indent.lo
 zend_builtin_functions.lo zend_sprintf.lo zend_ini.lo
../libtool: ar: not found
*** Error code 1
make: Fatal error: Command failed for target `libZend.la'
Current working directory /usr/local/php-4.1.2/Zend
*** Error code 1
make: Fatal error: Command failed for target `install-recursive'

Please help me!  I just killed my most reliable web server.

v/r,
NATHAN BROWNING, SrA, USAF
509 CS/SCNO  NCC Operations
DSN 975-5267  Comm (660) 687-5267
"The real art of conversation is not only to say the right thing at the
right time, but also to leave unsaid the wrong thing at the tempting
moment." - Anonymous

--- End Message ---
--- Begin Message ---

<?
  phpinfo()
?>


On Fri, 2002-03-29 at 14:47, Vasiliy Boulytchev wrote:
> Ladies and Gents,
> 
> How can I tell what version of php I am running?  I've just upgraded and want to 
>know if it worked.
> 
> 
> can't i do something like this and pull it up with a browser?
> <?php
> phpinfo
> ?>
> 
> Any other way?
> 
> Thanks,
> 
> Vasiliy Boulytchev
> Colorado Information Technologies Inc.

--- End Message ---
--- Begin Message ---

page.shtml  You're writing using Server Side Includes.  The server still
needs to parse that and it needs to know to parse it.

Curtis




On Fri, 2002-03-29 at 15:07, LRB wrote:
> Anybody?
> 
> I've set up an account on Interland on using Linux.
> 
> The way they have their cgi php installed php only works within .php or
> .phtml pages, which is not acceptable for my use.
> 
> Their tech guys can't help.
> 
> Example:
> 
> <html>
> <body>
> <?php include "blah.php"; ?>
> </body>
> </html>
> ...displays only html, and the php tag is visible in source code.
> 
> I tried installing a .htaccess file in the site root, which doesn't help
> either:
> 
> "AddType application/x-httpd-php .html"
> 
> this worked on another host, but not Interland.
> 
> Help??
> 
> Thanks very much,
> Lenny Brandriet
> Oakland, CA, USA
> 
> 
> 
> -- 
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
> 

--- End Message ---
--- Begin Message ---
Ivan Voras wrote:
> Can anyone tell me how to get java support for php working? I compiled
> apache with -pthread option, I properly configured php.ini
> (phpinfo() agrees), but I cannot overcome this:
> 
> (the message appears as a PHP error when trying to create any java objects)
> 
> Fatal error: Unable to load Java Library
> /usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so, error:
> /usr/local/jdk1.1.8/lib/i386/green_threads/libjava.so: Undefined symbol
> "fmod" in /usr/home/ivoras/public_html/jver.php on line 4
Maybe you're trying to create some objects that are not supported
in that version of java.
There's a native version of java for FreeBSD. You can get it from the 
ports /usr/ports/java


> 
> apparently, libjava.so links to a symbol 'fmod', which is in libm.so, but
> libjava.so is
> not linked to use libm.so. (?) (all jdk1.1.8 binaries are actually using
> compat3x libraries)
> 
> (I have no preference for a JDK, I just need the stuff working.)
> 
> --
> --
> Ashes to ashes, DOS to DOS
> ivoras @ fer.hr
> 
> 
> 


--- End Message ---

Reply via email to