php-install Digest 9 Mar 2002 02:11:18 -0000 Issue 735
Topics (messages 6288 through 6295):
OCI8 Help.
6288 by: Scott Stroz
HTTP 400 - Bad Request InternetExplorer
6289 by: KEHRBUSCH,GERD (HP-Germany,ex2)
safe mode / normal mode
6290 by: Stéphane HENRY
Upgrade error
6291 by: Hywel Burris
6292 by: Hunter, Ray
6293 by: Hywel Burris
Replacing Sablotron backend with libxslt (gnome) backend for XSLT extension
6294 by: Robert
cgi binary with apache under linux :)
6295 by: oHmEr
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 need to use PHP 4.1.2 running on Red Hat 7.2 to access an Oracle 8.17
database running on a Windows 2000 box. I have read numerous posts,
articles, etc... stating that I need the oci8 libraries to accomplish this.
However, I could not find any references to where I might actually locate
these libraries.
Can anyone offer any help?
Thanx
Boyzoid
--- End Message ---
--- Begin Message ---
Hello ,
I'am running Windows 2000 SP2 and Apache 1.3.12, which is working !
I also installed PHP4 with the Windows-Install Shield.
When i try to access a php-testfile via IE 5.5, named test.php (only <? php
phpinfo();>? )
and located in c:\apache\htdocs, i get the Error:
The page cannot be found
The page you are looking for might have been removed, had its name changed,
or is temporarily unavailable.
----------------------------------------------------------------------------
----
Please try the following:
If you typed the page address in the Address bar, make sure that it is
spelled correctly.
Open the ipc1gk13 home page, and then look for links to the information you
want.
Click the Back button to try another link.
Click Search to look for information on the Internet.
HTTP 400 - Bad Request
Internet Explorer
from apache\error.log:
[Fri Mar 08 11:05:22 2002] [error] [client 15.124.210.178] Invalid URI in
request GET /test.php HTTP/1.1
from apache/access.log
ipc1gk13.gsr.hp.com - - [08/Mar/2002:11:05:22 +0100] "GET /test.php
HTTP/1.1" 400 341
I can't see what's wrong or what i missing in php.ini or httpd.conf !!
Please help me, i'm just a beginner with php and apache
Best regards,
Gerd Kehrbusch
--- End Message ---
--- Begin Message ---
How do I enable Safe-Mode only in one directory ?
Thanks for help
--- End Message ---
--- Begin Message ---
after a RedHat up2date upgrade i am getting the following error:-
Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) in /var/www/html/ming-uk/dbconnect.php on line 11
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) in /var/www/html/ming-uk/dbconnect.php
on line 11
Unable to select database
Anyone got any ideas what has gone wrong?
Thanks in advance
Hywel
--- End Message ---
--- Begin Message ---
Did you restart the mysqld again...?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Hywel Burris [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Upgrade error
after a RedHat up2date upgrade i am getting the following error:-
Warning: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) in /var/www/html/ming-uk/dbconnect.php on line 11
Warning: MySQL Connection Failed: Can't connect to local MySQL server
through socket '/tmp/mysql.sock' (2) in /var/www/html/ming-uk/dbconnect.php
on line 11
Unable to select database
Anyone got any ideas what has gone wrong?
Thanks in advance
Hywel
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
RE: [PHP-INST] Upgrade erroryes. and actually a reboot.
Thanks
----- Original Message -----
From: Hunter, Ray
To: 'Hywel Burris' ; [EMAIL PROTECTED]
Sent: Friday, March 08, 2002 7:32 PM
Subject: RE: [PHP-INST] Upgrade error
Did you restart the mysqld again...?
Thank you,
Ray Hunter
Firmware Engineer
ENTERASYS NETWORKS
-----Original Message-----
From: Hywel Burris [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 08, 2002 12:14 PM
To: [EMAIL PROTECTED]
Subject: [PHP-INST] Upgrade error
after a RedHat up2date upgrade i am getting the following error:-
Warning: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) in
/var/www/html/ming-uk/dbconnect.php on line 11
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket
'/tmp/mysql.sock' (2) in /var/www/html/ming-uk/dbconnect.php
on line 11
Unable to select database
Anyone got any ideas what has gone wrong?
Thanks in advance
Hywel
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
After reading /ext/xslt/README.XSLT-BACKENDS in the source, specifically....
<snip>
Config.m4
---------------------------------------------------------------------------
----
The XSLT extension's "magic" really occurs in the config.m4 file. Here you
must add a couple of things in order for your backend to be enabled. Its a
bit
too complex to describe (but easy to implement and understand). Take a
look at
config.m4 (which is well commented) to see what is necessary.
Makefile.in
---------------------------------------------------------------------------
----
Simply add the source files for your backend to the LTLIBRARY_SOURCES
variable
and you're all set with this file.
</snip>
...and having various compilation/linking/performance problems with the
default Sablotron backend, I am seriously interested in replacing it with
the libxslt (gnome) libraries. I hacked around with the Config.m4 and
Makefile.in files as noted in Sterling's comments to see if I could get PHP
configure/make to accept libxslt sources/libraries (after successfully
compiling/installing them) in place of Sablotron....but no success.
Before spending hours/days trying to do this methodically and painfully
(since I have always just configured/made PHP "by the book" and am a recent
ASP/IIS convert), I was hoping that somebody, somewhere has already done
this and just not posted or documented it (or at least thought about it).
Regards,
Robert Tuttle
United Devices, Inc.
[EMAIL PROTECTED]
--- End Message ---
--- Begin Message ---
lo guys,
i ve got a quite few annoying problem configuring apache and php that i have
compiled.
IT CAN'T MAKE IT WORK !!
i ve compiled php as a cgi binary and have installed it in /usr/local/php/
i ve tried to test what i compiled by typing /usr/local/php/bin/php
phpinfo.php and that works, it returns correct html code.
after that i tried to bind .php script requested on my apache webserver by
adding this in commonhttpd.conf :
ScriptAlias /php/ /usr/local/php/bin/
AddType application/x-httpd-php .php
Action application/x-httpd-php /php/php
when i call a php script like a simple phpinfo it mess up and it returns
that on my web browser :
Warning: Unexpected character in input: ' in /usr/local/php/bin/php on line
821
Warning: Unexpected character in input: ' in /usr/local/php/bin/php on line
821
Warning: Unexpected character in input: '' (ASCII=7) state=1 in
/usr/local/php/bin/php on line 821
Warning: Unexpected character in input: '' (ASCII=8) state=1 in
/usr/local/php/bin/php on line 821
Parse error: parse error in /usr/local/php/bin/php on line 821
i'm loosing my mind trying to understand how it works for few days so please
help me :-)
thx a lot for your help !
--- End Message ---