php-windows Digest 5 Oct 2004 16:09:06 -0000 Issue 2420
Topics (messages 24689 through 24694):
Apache as a service
24689 by: Dale Attree
24690 by: phpWalter
PHP 4.3.9 on Windows XP SP2 ?
24691 by: Tez Durrant
php_mysql.dll fails to load
24692 by: Alex Popescu
24693 by: Felipe Gasper
cURL as proxy
24694 by: David Hamilton
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,
Can anyone help me with regards to running Apache 1.3.27 on Windows 2000
Professional Service Pack 4.
Thanks,
Dale
--- End Message ---
--- Begin Message ---
> Hi,
>
> Can anyone help me with regards to running Apache 1.3.27 on Windows 2000
> Professional Service Pack 4.
Sure, read the files at the URL in my sig.
If you have any more questions, drop me a note.
Walter
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to install PHP onto a Windows XP Pro SP2 system. PHP appears to
install fine.
However when I try to access any php page ( including a simple phpinfo
page ) I get the following error :-
Warning: main(./libraries/grab_globals.lib.php): failed to open stream: No
such file or directory in e:\inetpub\wwwroot\phpinfo.php on line 9
Fatal error: main(): Failed opening required
'./libraries/grab_globals.lib.php' (include_path='.;d:\program
files\php\includes') in e:\inetpub\wwwroot\phpinfo.php on line 9
I've installed numerous versions of PHP in the past with no problems ... so
I'm baffled by this one.
Many thanks
Tez Durrant
--- End Message ---
--- Begin Message ---
I sent this message to 3 lists just hoping I would get some help. I just
hope I am not upsetting anybody with it!
I have apache2, mysql 4.0.21 and php 5.0.2.on xp pro.
All works fine up to the point where I enable the php_mysql.dll module
in php.ini. I followed the instructions and copied libmysql.dll to
c:\windows, also modified the "extension_dir" to point to
c:\sqlphp\php\ext which works fine as the error message I get shows the
proper path for php_mysql.dll file. Also, I checked it out to see if the
file is there and it is indeed in that directory.
Here is the error message:
---------------------
PHP Warning: PHP Startup: Unable to load dynamic library
'c:\sqlphp\php\ext\php_mysql.dll' The specified module could not be
found. In Unknown on line 0
---------------------
So far, I did a search on the internet and other people who had the same
problem seem to say that by moving libmysql.dll and php_mysql.dll to
\windows or \windows\system32 the problem would be sorted. Unfortunately
for me, tried it and it doesn't work, i get the same message. I even
tried to register the dlls manually using regsrv32 and even that failed.
By the way, I get this message when I start php from the command line. I
had to disable apache2 as it falls over as soon as it tries to load the
php module which in turn tries to load the php_mysql.dll module. Also,
Apache2 reports the same error before crashing, so for the time being I
disabled the service.
I would appreciate any help on this issue as it's starting to drive me mad.
Many thanks
alex
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
--- End Message ---
--- Begin Message ---
I had a similar problem until I took MySQL out of the system's PATH;
this fixed my problem. PHP apparently needs its own client library and
will hork on the one from MySQL.
-FG
Quoth Alex Popescu on 10/4/2004 4:28 PM...
I sent this message to 3 lists just hoping I would get some help. I just
hope I am not upsetting anybody with it!
I have apache2, mysql 4.0.21 and php 5.0.2.on xp pro.
All works fine up to the point where I enable the php_mysql.dll module
in php.ini. I followed the instructions and copied libmysql.dll to
c:\windows, also modified the "extension_dir" to point to
c:\sqlphp\php\ext which works fine as the error message I get shows the
proper path for php_mysql.dll file. Also, I checked it out to see if the
file is there and it is indeed in that directory.
Here is the error message:
---------------------
PHP Warning: PHP Startup: Unable to load dynamic library
'c:\sqlphp\php\ext\php_mysql.dll' The specified module could not be
found. In Unknown on line 0
---------------------
So far, I did a search on the internet and other people who had the same
problem seem to say that by moving libmysql.dll and php_mysql.dll to
\windows or \windows\system32 the problem would be sorted. Unfortunately
for me, tried it and it doesn't work, i get the same message. I even
tried to register the dlls manually using regsrv32 and even that failed.
By the way, I get this message when I start php from the command line. I
had to disable apache2 as it falls over as soon as it tries to load the
php module which in turn tries to load the php_mysql.dll module. Also,
Apache2 reports the same error before crashing, so for the time being I
disabled the service.
I would appreciate any help on this issue as it's starting to drive me mad.
Many thanks
alex
--
Quidquid latine scriptum sit altum viditur.
Si hoc legere scis, nimis eruditionis habes.
Easier web browsing: http://mozilla.org
--- End Message ---
--- Begin Message ---
Hello all,
I've run into is strange situation and I am hoping someone on the list
can help. I need to use cURL to retrieve information on a remote
(non-SSL) webpage. The problem: the page I need to retrieve from is
dynamic and the content is determined by the user's IP address.
Is there any way at all for cURL to act as proxy on behalf of the remote
host? I'm thinking that X-FORWARDED-FOR header might be part of the
solution.
I don't need it to appear as if server is the remote host, I just need
the page I'm fetching to know "hey, this request was made by server_ip
but it's at the request of remote_host).
This may not be possible, but I thought I'd ask.
Thanks,
David
--- End Message ---