NYCPHP Meetup

NYPHP.org

[nycphp-talk] RE: talk Digest, Vol 10, Issue 1

Rafi Sheikh Rafi.Sheikh at Ingenix.com
Mon Mar 1 18:28:58 EST 2004


I have done the following:
1. Moved php.ini from C:\WINNT\system32 to C:\php  (this is where php.exe is
and other directories for php)
2. modified extension_dir=C:\php  in php.ini
3. stopped and restarted apache, and pointed to php_info()
4. Verified that there is no php.ini in the C:\WINNT\system32

CURIOUS:
The following still show and I have tried to find where and why it is
pointing to these directories to no avail (sigh)
Following is after the changes as above were made:
Configuration File (php.ini) Path  C:\WINNT <<< I moved it here
c:\php\php.ini
include_path .;c:\php4\pear .;c:\php4\pear <<<I do NOT have this dir nor I
pointed to it
extension_dir c:\php4 c:\php4   <<<< I do not have a c:\php4 and I went thru
my php.ini I don't see it.

Thank you in advance, for your time. I do know that it is something very
basic and stupid that I am doing!

Rafi
-----Original Message-----
From: talk-request at lists.nyphp.org [mailto:talk-request at lists.nyphp.org]
Sent: Monday, March 01, 2004 4:38 PM
To: talk at lists.nyphp.org
Subject: talk Digest, Vol 10, Issue 1


Send talk mailing list submissions to
	talk at lists.nyphp.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.nyphp.org/mailman/listinfo/talk
or, via email, send a message with subject or body 'help' to
	talk-request at lists.nyphp.org

You can reach the person managing the list at
	talk-owner at lists.nyphp.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of talk digest..."


Today's Topics:

   1. MYSQL Stop automatically (Kshitij Bedi)
   2. Re: MYSQL Stop automatically (Dan Cech)
   3. RE: MYSQL Stop automatically (Tim Gales)
   4. RE: MYSQL Stop automatically (Tim Gales)
   5. RE: MYSQL Stop automatically (Kshitij Bedi)
   6. RE: MYSQL Stop automatically (Tim Gales)
   7. Re: MYSQL Stop automatically (Dan Cech)
   8. RE: MYSQL Stop automatically (Kshitij Bedi)
   9. RE: MYSQL Stop automatically (Tim Gales)
  10. gd not compiling/showing via php_info() (Rafi Sheikh)
  11. RE: gd not compiling/showing via php_info() (Tim Gales)
  12. Re: gd not compiling/showing via php_info() (Daniel Convissor)
  13. gd not compiling/showing via php_info() (Rafi Sheikh)
  14. RE: gd not compiling/showing via php_info() (Tim Gales)


----------------------------------------------------------------------

Message: 1
Date: Mon, 1 Mar 2004 13:50:55 -0500 
From: Kshitij Bedi <Kbedi at inta.org>
Subject: [nycphp-talk] MYSQL Stop automatically
To: 'NYPHP Talk' <talk at lists.nyphp.org>
Message-ID: <C0CDB9F5E81C234FBB42D84E7853125D73A7AF at intamail1.inta>
Content-Type: text/plain;	charset="iso-8859-1"

I just made a new MySQL installation on a windows 2000 server machine and it
keeps stopping by itself after I start it. Any ideas whats going wrong?

------------------------------

Message: 2
Date: Mon, 01 Mar 2004 13:53:20 -0500
From: Dan Cech <dcech at phpwerx.net>
Subject: Re: [nycphp-talk] MYSQL Stop automatically
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <404386A0.6080705 at phpwerx.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

Kshitij Bedi wrote:
> I just made a new MySQL installation on a windows 2000 server machine and
it
> keeps stopping by itself after I start it. Any ideas whats going wrong?

Check out your error logs, they are mysql.err and <hostname>.err in the 
data directory of your MySQL installation.

Dan


------------------------------

Message: 3
Date: Mon, 1 Mar 2004 13:53:21 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <003f01c3ffbe$78d10820$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"

Kshitij Bedi writes:

> I just made a new MySQL installation on a windows 2000 server 
> machine and it keeps stopping by itself after I start it. Any 
> ideas whats going wrong? 

You should first check your error log
You get there by going to the control panel
and click administrative tasks
and the event viewer

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



------------------------------

Message: 4
Date: Mon, 1 Mar 2004 13:59:23 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <004001c3ffbf$504261f0$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"


Um -- the real name of the 
logs I was referring to are:

Application
Security
System

these are the operating system 
error logs not to be 
confused with the MySQL error log


T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com
_______________________________________________
talk mailing list
talk at lists.nyphp.org http://lists.nyphp.org/mailman/listinfo/talk


------------------------------

Message: 5
Date: Mon, 1 Mar 2004 14:03:40 -0500 
From: Kshitij Bedi <Kbedi at inta.org>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: 'NYPHP Talk' <talk at lists.nyphp.org>
Message-ID: <C0CDB9F5E81C234FBB42D84E7853125D73A7B0 at intamail1.inta>
Content-Type: text/plain;	charset="iso-8859-1"

It just says that the service terminated unexpectedly
eventId: 7031

-----Original Message-----
From: Tim Gales [mailto:tgales at tgaconnect.com]
Sent: Monday, March 01, 2004 1:59 PM
To: 'NYPHP Talk'
Subject: RE: [nycphp-talk] MYSQL Stop automatically



Um -- the real name of the 
logs I was referring to are:

Application
Security
System

these are the operating system 
error logs not to be 
confused with the MySQL error log


T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com
_______________________________________________
talk mailing list
talk at lists.nyphp.org http://lists.nyphp.org/mailman/listinfo/talk

_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk

------------------------------

Message: 6
Date: Mon, 1 Mar 2004 14:09:11 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <004101c3ffc0$ae5cb1e0$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"

> eventId: 7031
I think you should search 
the MSDN website for that 
error number

Hopefully it will give you a line 
on what's happening by telling you 
the sorts of things that can cause it.

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



------------------------------

Message: 7
Date: Mon, 01 Mar 2004 14:11:56 -0500
From: Dan Cech <dcech at phpwerx.net>
Subject: Re: [nycphp-talk] MYSQL Stop automatically
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <40438AFC.7010905 at phpwerx.net>
Content-Type: text/plain; charset=us-ascii; format=flowed

Kshitij Bedi wrote:
> It just says that the service terminated unexpectedly
> eventId: 7031

You might find something more enlightening in the MySQL logs.

Dan

> -----Original Message-----
> From: Tim Gales [mailto:tgales at tgaconnect.com]
> Sent: Monday, March 01, 2004 1:59 PM
> To: 'NYPHP Talk'
> Subject: RE: [nycphp-talk] MYSQL Stop automatically
> 
> Um -- the real name of the 
> logs I was referring to are:
> 
> Application
> Security
> System
> 
> these are the operating system 
> error logs not to be 
> confused with the MySQL error log
> 
> T. Gales & Associates



------------------------------

Message: 8
Date: Mon, 1 Mar 2004 14:22:45 -0500 
From: Kshitij Bedi <Kbedi at inta.org>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: 'NYPHP Talk' <talk at lists.nyphp.org>
Message-ID: <C0CDB9F5E81C234FBB42D84E7853125D73A7B1 at intamail1.inta>
Content-Type: text/plain;	charset="iso-8859-1"

Is it necessary to install MySQL using the administrator account?

-----Original Message-----
From: Dan Cech [mailto:dcech at phpwerx.net]
Sent: Monday, March 01, 2004 2:12 PM
To: NYPHP Talk
Subject: Re: [nycphp-talk] MYSQL Stop automatically


Kshitij Bedi wrote:
> It just says that the service terminated unexpectedly
> eventId: 7031

You might find something more enlightening in the MySQL logs.

Dan

> -----Original Message-----
> From: Tim Gales [mailto:tgales at tgaconnect.com]
> Sent: Monday, March 01, 2004 1:59 PM
> To: 'NYPHP Talk'
> Subject: RE: [nycphp-talk] MYSQL Stop automatically
> 
> Um -- the real name of the 
> logs I was referring to are:
> 
> Application
> Security
> System
> 
> these are the operating system 
> error logs not to be 
> confused with the MySQL error log
> 
> T. Gales & Associates


_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk

------------------------------

Message: 9
Date: Mon, 1 Mar 2004 14:27:41 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] MYSQL Stop automatically
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <004201c3ffc3$4439a540$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"


> Is it necessary to install MySQL using the administrator account?

It is necessary that the MySQL process 
have the correct privileges for the 
directory(s) will  be 
reading and writing to.

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



------------------------------

Message: 10
Date: Mon, 1 Mar 2004 15:34:43 -0600 
From: Rafi Sheikh <Rafi.Sheikh at Ingenix.com>
Subject: [nycphp-talk] gd not compiling/showing via php_info()
To: "'talk at lists.nyphp.org'" <talk at lists.nyphp.org>
Message-ID:
	<C92A8F8B60F96B42911EFA70AF30A88F060A446F at msp7-msx1.ingenix.com>
Content-Type: text/plain;	charset="iso-8859-1"

BASICS: Apache 1.3.29, php 4.3.4, MySQL 1.3 on win2k-pro.
Skill Level: Graduated to rookie from novice

I am trying to use jpgrap with php.  For that I need gd enabled.  Following
is from my php.ini (in \winnt\system32 dir.) as you can see, it is listed
and uncommented.  However, I do not see gd related info when I run
php_info()

; Directory in which the loadable extensions (modules) reside.
extension_dir = "c:\php\extensions"
extension=php_gd2.dll

What am I missing?

Your time and advice is deeply appreciated.
-----------------------------------------------------
Rafi 



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.

------------------------------

Message: 11
Date: Mon, 1 Mar 2004 16:44:20 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] gd not compiling/showing via php_info()
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <004a01c3ffd6$5b41a9a0$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"

Rafi Sheikh writes:
> I am trying to use jpgrap with php.  For that I need gd 
> enabled.  Following is from my php.ini (in \winnt\system32 
> dir.) as you can see, it is listed and uncommented.  However, 
> I do not see gd related info when I run
> php_info()
> 
> ; Directory in which the loadable extensions (modules) 
> reside. extension_dir = "c:\php\extensions" extension=php_gd2.dll
> 
> What am I missing?

Did you check you phpinfo results to make 
certain you are reading the correct php.ini file?

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



------------------------------

Message: 12
Date: Mon, 1 Mar 2004 16:49:58 -0500
From: Daniel Convissor <danielc at analysisandsolutions.com>
Subject: Re: [nycphp-talk] gd not compiling/showing via php_info()
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <20040301214958.GA12967 at panix.com>
Content-Type: text/plain; charset=us-ascii

Hi Rafi:

On Mon, Mar 01, 2004 at 03:34:43PM -0600, Rafi Sheikh wrote:
> 
> I am trying to use jpgrap with php.  For that I need gd enabled.
Following
> is from my php.ini (in \winnt\system32 dir.) as you can see, it is listed
> and uncommented.  However, I do not see gd related info when I run
> php_info()
> 
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = "c:\php\extensions"
> extension=php_gd2.dll

Naturally you checked c:\php\extensions that the php_gd2.dll file was 
there and the web server has permissions to read it.  But, I don't really 
think this is the problem because you'd be seeing error messages saying 
that the file/functions/etc could not be found.

What does the "Configuration File (php.ini) Path" in the phpinfo output 
say?  Does it match the php.ini file you just edited?

Anyway, I'd advise keeping the php.ini file in the php directory itself 
rather than in the system32 dir.

--Dan

-- 
 T H E   A N A L Y S I S   A N D   S O L U T I O N S   C O M P A N Y
            data intensive web and database programming
                http://www.AnalysisAndSolutions.com/
 4015 7th Ave #4, Brooklyn NY 11232  v: 718-854-0335 f: 718-854-0409

------------------------------

Message: 13
Date: Mon, 1 Mar 2004 16:20:35 -0600 
From: Rafi Sheikh <Rafi.Sheikh at Ingenix.com>
Subject: [nycphp-talk] gd not compiling/showing via php_info()
To: "'talk at lists.nyphp.org'" <talk at lists.nyphp.org>
Message-ID:
	<C92A8F8B60F96B42911EFA70AF30A88F060A4472 at msp7-msx1.ingenix.com>
Content-Type: text/plain;	charset="iso-8859-1"

Following is from php_info():

Virtual Directory Support: enabled 
Configuration File (php.ini) Path at C:\WINNT 

This is where I placed the php.ini.  Someone said to copy all .dll and files
under extensions to c:\winnt\sys32 also, which I did.  Was that an idiotic
move?  (Ok, you really do not have to answer that!)

Once again, your patience (as I am a confirmed rookie) and advice is deeply
appreciated!

(Thank you Dan and T. Gales)

-----------------------------------------------------
Rafi 



This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.


------------------------------

Message: 14
Date: Mon, 1 Mar 2004 17:37:49 -0500
From: "Tim Gales" <tgales at tgaconnect.com>
Subject: RE: [nycphp-talk] gd not compiling/showing via php_info()
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID: <004b01c3ffdd$d3f83420$e98d3818 at oberon1>
Content-Type: text/plain;	charset="US-ASCII"

Rafi Sheikh writes:
" Following is from php_info():
 
 Virtual Directory Support: enabled 
 Configuration File (php.ini) Path at C:\WINNT"

earlier you wrote:
"Following is from my php.ini (in \winnt\system32 dir.)"

Daniel C.
advised you:
"Anyway, I'd advise keeping the php.ini file in the php directory itself 
rather than in the system32 dir."

Find the diretory where the php.exe file is
(most likely its C:\php)

and move the php.ini (which you edited) from \winnt\system32
to there.

Give it another shot.

Good luck...

T. Gales & Associates
'Helping People Connect with Technology'

http://www.tgaconnect.com



------------------------------

_______________________________________________
talk mailing list
talk at lists.nyphp.org
http://lists.nyphp.org/mailman/listinfo/talk


End of talk Digest, Vol 10, Issue 1
***********************************


This e-mail, including attachments, may include confidential and/or
proprietary information, and may be used only by the person or entity to
which it is addressed. If the reader of this e-mail is not the intended
recipient or his or her authorized agent, the reader is hereby notified that
any dissemination, distribution or copying of this e-mail is prohibited. If
you have received this e-mail in error, please notify the sender by replying
to this message and delete this e-mail immediately.



More information about the talk mailing list