RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-25 Thread Jay Blanchard
[snip]
This before or after you switched to Apache?...
[/snip]

Before...the switch to Apache solved many, many problems.

[snip - for informational purposes]
Can you surf to a static page?

Can you surf to a static page in the same directory as the PHP page?

PHP CGI or Service/Module?

Anything in the log files?

Do all browsers say 404, or is that just the badly-broken MS IE
generalized message?
[/snip]

I could surf to static pages, including ones in the PHP directory. PHP was
running as ISAPI. The log files showed 404 errors regardless of browser. The
PHP was working fine until I rebooted the server, which was done to see if I
could solve the extensions problem. With Apache installed the only thing I
have to worry about will be some PERL stuff and I will probably install
Apache::ASP to handle some legacy stuff until I can convert it to PHP.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-24 Thread Jay Blanchard
[snip]
Also, lots of other good info on this topic at:
http://www.php.net/manual/en/install.windows.php
[/snip]

ACCCK

I have tried several things, now I am at my wits end. I finally rebooted the
server (as suggested by someone one the PHP Windows list) and now all of the
php pages come up with 404 not found errors. Googling has not helped so far.
Any clues?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink! - SOLVED

2005-10-24 Thread Jay Blanchard
[snip]
..a lot of good suggestions and some comedy materials...
[/snip]

Installed Apache, took 15 minutes including PHP configuration. All of the
extensions loaded. whew.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-24 Thread Richard Lynch
On Mon, October 24, 2005 11:06 am, Jay Blanchard wrote:
 [snip]
 Also, lots of other good info on this topic at:
 http://www.php.net/manual/en/install.windows.php
 [/snip]

 ACCCK

 I have tried several things, now I am at my wits end. I finally
 rebooted the
 server (as suggested by someone one the PHP Windows list) and now all
 of the
 php pages come up with 404 not found errors. Googling has not helped
 so far.
 Any clues?

This before or after you switched to Apache?...

Can you surf to a static page?

Can you surf to a static page in the same directory as the PHP page?

PHP CGI or Service/Module?

Anything in the log files?

Do all browsers say 404, or is that just the badly-broken MS IE
generalized message?

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-23 Thread Rick Emery

Jasper Bryant-Greene wrote:


On Fri, 2005-10-21 at 15:43 -0500, Jay Blanchard wrote:
 


[snip]
I haven't used Windows for a while, but Start-Search-Files  folders
(or something like that) and enter php.ini. Delete all results except
the one that you've been editing, and then move the one you've been
editing around the following folder until you find the one in which it
works:

c:\php
c:\windows
c:\windows\system32
c:\

Horrible, isn't it?
[/snip]

Horrible indeed. I got no joy from this. It didn't work.
   



When you say didn't work... do you mean you didn't find any other
php.ini files?

There's one other thing I can think of. It's possible to set things like
the location of the php.ini file and also php configuration directives
through Apache's configuration.

Now I know you're using IIS, but is there a similar thing available
through IIS's configuration? (I wouldn't know, I don't practise the dark
arts...)

 

You can tell Windows where to find the php.ini file by setting the PHPRC 
evironment variable. But, if you've already placed *your* php.ini file 
in the location indicated by phpinfo(), then I'm not sure why it 
wouldn't be read, unless:


1. From the manual: *Note: * If you're using NTFS on Windows NT, 2000, 
XP or 2003, make sure that the user running the web server has read 
permissions to your php.ini (e.g. make it readable by Everyone).


2. IIS hadn't been restarted (to re-read the new php.ini).

Other than that, not sure. Sorry.

Rick

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-22 Thread Jochem Maas

John Nichel wrote:

Jay Blanchard wrote:


[snip]

I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T 
RIGHT!
Why is PHP not loading the proper ini file? This is probably the 
source of

my problems all along! ACK!




This is what happens when you go over to the dark side.
[/snip]

It's not my fault! How do I fix this?



Hell if I know, I haven't touched a Windows machine in years.  Move the 
ini file you want it to read to the location it's looking in?


You could symbolic link itoops...wait...no, you can't. ;)


actually the underlying 'OS' does support something I think they call
hard links - but you need a 3rd extension to use it (free download somewhere,
gives you an extra item in context menu) ... behold the power of the dark side. 
:-)





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-22 Thread Eric Butera
On 10/22/05, Jochem Maas [EMAIL PROTECTED] wrote:

 John Nichel wrote:
  Jay Blanchard wrote:
 
  [snip]
 
  I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T
  RIGHT!
  Why is PHP not loading the proper ini file? This is probably the
  source of
  my problems all along! ACK!
 
 
 
  This is what happens when you go over to the dark side.
  [/snip]
 
  It's not my fault! How do I fix this?
 
 
  Hell if I know, I haven't touched a Windows machine in years. Move the
  ini file you want it to read to the location it's looking in?
 
  You could symbolic link itoops...wait...no, you can't. ;)

 actually the underlying 'OS' does support something I think they call
 hard links - but you need a 3rd extension to use it (free download
 somewhere,
 gives you an extra item in context menu) ... behold the power of the dark
 side. :-)

 

 --
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php


I don't know if this has been said or not, but phpinfo() shows the path to
the ini near the top like:
Configuration File (php.ini) Path d:\program files\easyphp1-8\apache\php.ini


Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-22 Thread Richard Lynch
On Sat, October 22, 2005 7:14 pm, Eric Butera wrote:
 On 10/22/05, Jochem Maas [EMAIL PROTECTED] wrote:

 John Nichel wrote:
  Jay Blanchard wrote:
 
  [snip]
 
  I just noticed that extension_dir in phpinfo is c:\php4 THAT
 AIN'T
  RIGHT!
  Why is PHP not loading the proper ini file? This is probably the
  source of
  my problems all along! ACK!

IF you are using Apache, and you should be :-), you MIGHT be able to
use that Apache directive that tells PHP to find the ini file
elsewhere

Otherwise, it's compiled into the DLL and you are stuck.

A Windoze shortcut WILL NOT WORK

That 3rd party thing might.

-- 
Like Music?
http://l-i-e.com/artists.htm

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jasper Bryant-Greene
On Fri, 2005-10-21 at 15:11 -0500, Jay Blanchard wrote:
 IIS5 on W2K
 PHP 4.4.n
 php_curl.dll is not commented.
 libeay32.dll  AND ssleay32.dll are in the system folder (system32 too, just
 in case)
 path to the extensions is correct
 
 Fatal error: Call to undefined function: curl_init() in
 E:\sitegrp1\TEST20051010\curltest.php on line 3

Done a phpinfo() to see if the CURL extension is really getting loaded?

Is your extension_dir (or whatever it's called) correct in php.ini?

The other thing that's caught me out when I've been forced to use that
degenerate platform, is that sometimes PHP is using a different php.ini
from the one you thought it was using, f.x. if there has been an earler
PHP install and someone's put php.ini in c:\windows\system32 or
something.

-- 
Jasper Bryant-Greene
General Manager
Album Limited

e: [EMAIL PROTECTED]
w: http://www.album.co.nz/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[snip]
Done a phpinfo() to see if the CURL extension is really getting loaded?

Is your extension_dir (or whatever it's called) correct in php.ini?

The other thing that's caught me out when I've been forced to use that
degenerate platform, is that sometimes PHP is using a different php.ini
from the one you thought it was using, f.x. if there has been an earler
PHP install and someone's put php.ini in c:\windows\system32 or
something.
[/snip]

The curl extension is not getting loaded according to phpinfo. The extension
directory is set in the php.ini to c:\php\extension

I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
Why is PHP not loading the proper ini file? This is probably the source of
my problems all along! ACK!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread John Nichel

Jay Blanchard wrote:

[snip]
Done a phpinfo() to see if the CURL extension is really getting loaded?

Is your extension_dir (or whatever it's called) correct in php.ini?

The other thing that's caught me out when I've been forced to use that
degenerate platform, is that sometimes PHP is using a different php.ini
from the one you thought it was using, f.x. if there has been an earler
PHP install and someone's put php.ini in c:\windows\system32 or
something.
[/snip]

The curl extension is not getting loaded according to phpinfo. The extension
directory is set in the php.ini to c:\php\extension

I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
Why is PHP not loading the proper ini file? This is probably the source of
my problems all along! ACK!



This is what happens when you go over to the dark side.

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[snip]
 I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
 Why is PHP not loading the proper ini file? This is probably the source of
 my problems all along! ACK!
 

This is what happens when you go over to the dark side.
[/snip]

It's not my fault! How do I fix this?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Derek Williams

Probably a really dumb question:

Is php_curl.dll available?

Jay Blanchard wrote:

IIS5 on W2K
PHP 4.4.n
php_curl.dll is not commented.
libeay32.dll  AND ssleay32.dll are in the system folder (system32 too, just
in case)
path to the extensions is correct

Fatal error: Call to undefined function:  in
E:\sitegrp1\TEST20051010\curltest.php on line 3

ack!

Can anyone explain why this isn't working? I know I can't

Thanks!

  


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jordan Miller
I agree with John. It looks like you either need a hammer or the  
rooftop of a 5-story building...


Jordan


On Oct 21, 2005, at 3:26 PM, Jay Blanchard wrote:


[snip]

I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T  
RIGHT!
Why is PHP not loading the proper ini file? This is probably the  
source of

my problems all along! ACK!




This is what happens when you go over to the dark side.
[/snip]

It's not my fault! How do I fix this?

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php






--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread John Nichel

Jay Blanchard wrote:

[snip]


I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
Why is PHP not loading the proper ini file? This is probably the source of
my problems all along! ACK!




This is what happens when you go over to the dark side.
[/snip]

It's not my fault! How do I fix this?



Hell if I know, I haven't touched a Windows machine in years.  Move the 
ini file you want it to read to the location it's looking in?


You could symbolic link itoops...wait...no, you can't. ;)

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jasper Bryant-Greene
On Fri, 2005-10-21 at 15:26 -0500, Jay Blanchard wrote:
 [snip]
  I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
  Why is PHP not loading the proper ini file? This is probably the source of
  my problems all along! ACK!
  
 
 This is what happens when you go over to the dark side.
 [/snip]
 
 It's not my fault! How do I fix this?
 

I haven't used Windows for a while, but Start-Search-Files  folders
(or something like that) and enter php.ini. Delete all results except
the one that you've been editing, and then move the one you've been
editing around the following folder until you find the one in which it
works:

c:\php
c:\windows
c:\windows\system32
c:\

Horrible, isn't it?

-- 
Jasper Bryant-Greene
General Manager
Album Limited

e: [EMAIL PROTECTED]
w: http://www.album.co.nz/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[/snip]
Hell if I know, I haven't touched a Windows machine in years.  Move the 
ini file you want it to read to the location it's looking in?

You could symbolic link itoops...wait...no, you can't. ;)
[/snip]

The ini file IS in the location where phpinfo says that it is reading
from

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[snip]
I haven't used Windows for a while, but Start-Search-Files  folders
(or something like that) and enter php.ini. Delete all results except
the one that you've been editing, and then move the one you've been
editing around the following folder until you find the one in which it
works:

c:\php
c:\windows
c:\windows\system32
c:\

Horrible, isn't it?
[/snip]

Horrible indeed. I got no joy from this. It didn't work.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread tg-php
Search the machine for php.ini, I'm guessing that you'll find one in your 
main PHP directory as well as in your main Windows directory.  I believe the 
Windows directory copy is read first.  I'm not sure why.

At any rate, if it looks like it's reading the wrong copy of PHP.ini, searching 
your system for alternate copies and either removing them (should work) or 
moving your good copy should work.

Just looked it up.. yeah, it appears that there's probably a php.ini in your 
main Windows directory.

Also, lots of other good info on this topic at:
http://www.php.net/manual/en/install.windows.php

Also2, looks like restarting the web service may help in some cases.

Also3, since you've come over to the dark side as it where :), I'd recommend 
getting on the PHP Windows mailing list as well since some of your problems are 
going to be Windows specific and there may be people there with more experience.

Good luck Jay!

-TG


= = = Original message = = =

[snip]
Done a phpinfo() to see if the CURL extension is really getting loaded?

Is your extension_dir (or whatever it's called) correct in php.ini?

The other thing that's caught me out when I've been forced to use that
degenerate platform, is that sometimes PHP is using a different php.ini
from the one you thought it was using, f.x. if there has been an earler
PHP install and someone's put php.ini in c:\windows\system32 or
something.
[/snip]

The curl extension is not getting loaded according to phpinfo. The extension
directory is set in the php.ini to c:\php\extension

I just noticed that extension_dir in phpinfo is c:\php4 THAT AIN'T RIGHT!
Why is PHP not loading the proper ini file? This is probably the source of
my problems all along! ACK!


___
Sent by ePrompter, the premier email notification software.
Free download at http://www.ePrompter.com.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[snip]
Also3, since you've come over to the dark side as it where :), I'd
recommend getting on the PHP Windows mailing list as well since some of your
problems are going to be Windows specific and there may be people there with
more experience.

Good luck Jay!
[/snip]

There's a PHP Windows mailing list?

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jasper Bryant-Greene
On Fri, 2005-10-21 at 15:43 -0500, Jay Blanchard wrote:
 [snip]
 I haven't used Windows for a while, but Start-Search-Files  folders
 (or something like that) and enter php.ini. Delete all results except
 the one that you've been editing, and then move the one you've been
 editing around the following folder until you find the one in which it
 works:
 
 c:\php
 c:\windows
 c:\windows\system32
 c:\
 
 Horrible, isn't it?
 [/snip]
 
 Horrible indeed. I got no joy from this. It didn't work.

When you say didn't work... do you mean you didn't find any other
php.ini files?

There's one other thing I can think of. It's possible to set things like
the location of the php.ini file and also php configuration directives
through Apache's configuration.

Now I know you're using IIS, but is there a similar thing available
through IIS's configuration? (I wouldn't know, I don't practise the dark
arts...)

-- 
Jasper Bryant-Greene
General Manager
Album Limited

e: [EMAIL PROTECTED]
w: http://www.album.co.nz/
p: 0800 4 ALBUM (0800 425 286) or +64 21 232 3303
a: PO Box 579, Christchurch 8015, New Zealand

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Chris W. Parker
Jordan Miller mailto:[EMAIL PROTECTED]
on Friday, October 21, 2005 1:32 PM said:

 I agree with John. It looks like you either need a hammer or the
 rooftop of a 5-story building...

zooom!How is he supposed to smash a computer with the rooftop of a
5-story building? It's too big!!/zooom!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread John Nichel

Jay Blanchard wrote:

[snip]
Also3, since you've come over to the dark side as it where :), I'd
recommend getting on the PHP Windows mailing list as well since some of your
problems are going to be Windows specific and there may be people there with
more experience.

Good luck Jay!
[/snip]

There's a PHP Windows mailing list?



Windows has specific problems?

*ducks*

--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
[EMAIL PROTECTED]

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



RE: [PHP] Ugh, w32 anything is making me want to drink!

2005-10-21 Thread Jay Blanchard
[snip]
 I agree with John. It looks like you either need a hammer or the
 rooftop of a 5-story building...

zooom!How is he supposed to smash a computer with the rooftop of a
5-story building? It's too big!!/zooom!
[/snip]

By dropping the five story building upside down on to the serverduh!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php