Silly problem
| From: | Murat Arslan | Date: | Thu, 03 Jun 1999 15:00:53 +0000 |
| Subject: | Silly problem | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6521@lists.php.net to get a copy of this message | ||
Hi,
I installed php 3.0.8 as a module to apache 1.3.6 on my solaris
2.6 box. Successfull installation, however, the php scripts do
not work. .php3 type added to httpd.conf. Here's an example
that may help you.
(I don't know what the following gdb warning messages mean, any idea ?)
#> gdb httpd
GDB is free software and you are welcome to distribute copies of it
under certain conditions; type "show copying" to see the conditions.
There is absolutely no warranty for GDB; type "show warranty" for details.
GDB 4.16 (sparc-sun-solaris2.6),
Copyright 1996 Free Software Foundation, Inc...(no debugging symbols found)...
(gdb) run -X -f /export/virtual_03/apache/conf/httpd.conf
Starting program: /export/virtual_03/apache/bin/httpd -X -f
/export/virtual_03/apache/conf/httpd.conf
warning: Unable to find dynamic linker breakpoint function.
warning: GDB will be unable to debug shared library initializers
warning: and track explicitly loaded dynamic code.
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program exited with code 01.
(gdb) quit
#> telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
HEAD / HTTP/1.0
HTTP/1.1 200 OK
Date: Thu, 03 Jun 1999 19:45:23 GMT
Server: Apache/1.3.6 (Unix) PHP/3.0.8
Last-Modified: Fri, 20 Nov 1998 12:55:19 GMT
ETag: "4a5c4-4b-365566b7"
Accept-Ranges: bytes
Content-Length: 75
Connection: close
Content-Type: text/html
Connection closed by foreign host.
By the way, /usr/local/lib/php3.ini exists...
#> cat virtual.phtml
<?php
echo "test\n";
?>
#> telnet 0 80
Trying 0.0.0.0...
Connected to 0.
Escape character is '^]'.
GET /virtual.phtml
Connection closed by foreign host.
#>
After I type 'GET file.phtml', I receive nothing, even if the file
is not empty, and is not wrong in any way.
Via lynx, I receive the following error messages.
#> lynx www/virtual.phtml
Alert!: Unexpected network read error; connection aborted.
Alert!: Unable to access document.
lynx: Can't access startfile http://www/virtual.phtml
Any help will be appreciated..
PS: I am not subscribed to php-dev, please CC me your replies.
--
Regards,
Murat Arslan