NYCPHP Meetup

NYPHP.org

[nycphp-talk] correct php modules not loaded

Rafi Sheikh Rafi.Sheikh at Ingenix.com
Fri Mar 5 13:32:31 EST 2004


Hi list.

BASIC: apache 1.3.29, php 4.3.4, Mysql 1.3 on WIN2KPro

ISSUE: php_info() shows that the extensions_dir points to a directory that
does not exists (c:\php4), and since it is pointing somewhere where I could
not find it, my modules (like gd) are not being loaded.

WHAT HAVE I DONE SO FAR?
I have made appropriate changes to php.ini and placed the whole php related
components under C:\php.
I have included C:\php in my System's Path.  That does show in the info from
php_info()
I have stopped and restarted apache
All related php dll files are under C:\php
I have done search and there is NO other php.ini under any drive or dir
except c:\php.ini (where it should be).
Re-started the machine, and than restarted Apache, 
the entry in C:\php\php.ini is:
extension_dir= "C:\php\extensions"

ADDITIONAL INFO: In my apache httpd-conf file, I have the following entries:

LoadModule php4_module c:/php/sapi/php4apache.dll
AddModule mod_php4.c  <<<< NOTE: I did a search on it and there is no
mod_php4.c in my c drive.

I am not sure what else to do.  Any ideas are deeply appreciated.


Rafi
PS: Dan and Tim have helped me in the "what have I done so far" section.  I
don't seem to move any forward.

-----Original Message-----
From: talk-request at lists.nyphp.org [mailto:talk-request at lists.nyphp.org]
Sent: Friday, March 05, 2004 10:58 AM
To: talk at lists.nyphp.org
Subject: talk Digest, Vol 10, Issue 9


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. Interesting php based search engine ranking package
      (DeWitt, Michael)
   2. SEARCHING PDF DOCUMENTS WITH UNIX (SALMAN MAZHAR)
   3. RE: SEARCHING PDF DOCUMENTS WITH UNIX (DeWitt, Michael)
   4. Re: SEARCHING PDF DOCUMENTS WITH UNIX (Daniel Convissor)
   5. RE: SEARCHING PDF DOCUMENTS WITH UNIX (DeWitt, Michael)
   6. Re: SEARCHING PDF DOCUMENTS WITH UNIX (Daniel Convissor)
   7. RE: SEARCHING PDF DOCUMENTS WITH UNIX (DeWitt, Michael)
   8. we need a PEAR book (David Mintz)
   9. Re: we need a PEAR book (Eric Rank)
  10. RE: we need a PEAR book (David Sklar)
  11. Re: we need a PEAR book (Dave Callaghan)
  12. RE: we need a PEAR book (Chris Bielanski)


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

Message: 1
Date: Thu, 4 Mar 2004 14:04:01 -0500 
From: "DeWitt, Michael" <mjdewitt at alexcommgrp.com>
Subject: [nycphp-talk] Interesting php based search engine ranking
	package
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID:
	<BCF799A6B63DD411985D00805F9F9033C7A100 at mail.alexcommgrp.com>
Content-Type: text/plain

I just downloaded and setup today a GPL package called phpSERA which
performs search engine rankings on both an ad hoc and historical basis with
graphing.  You can find it here: http://phpsera.sourceforge.net/ 

So far it looks good and it takes about 5 minutes to setup.  I have been
looking for a package like this for a while and I figured others might be
interested in it as well.

If you want to check it out without getting your hands dirty, there is a
live demo linked off the website and screen shots.

Mike

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

Message: 2
Date: Thu, 04 Mar 2004 20:05:21 -0500
From: "SALMAN MAZHAR" <salmaz8347 at hotmail.com>
Subject: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: talk at lists.nyphp.org
Message-ID: <BAY7-F536cwpF20qLDA0000c66d at hotmail.com>
Content-Type: text/plain; format=flowed

Hello,

I was trying to search for strings in a pdf file that is on the unix system.

I looked for other tools to
search in pdf files but so far I have found none. Is there a way in Unix 
itself like the grep command or something else that can help me search for 
strings in pdf files?

If anyone knows about it, then please kindly let me know.

Thanks,
Salman.

_________________________________________________________________
Create a Job Alert on MSN Careers and enter for a chance to win $1000! 
http://msn.careerbuilder.com/promo/kaday.htm?siteid=CBMSN_1K&sc_extcmp=JS_JA
Sweep_MSNHotm2


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

Message: 3
Date: Thu, 4 Mar 2004 20:42:55 -0500 
From: "DeWitt, Michael" <mjdewitt at alexcommgrp.com>
Subject: RE: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID:
	<BCF799A6B63DD411985D00805F9F9033C7A101 at mail.alexcommgrp.com>
Content-Type: text/plain

I am using xpdf to get text out of pdfs.  You can get it here
http://www.foolabs.com/xpdf/index.html.  

Mike

> -----Original Message-----
> From:	SALMAN MAZHAR [SMTP:salmaz8347 at hotmail.com]
> Sent:	Thursday, March 04, 2004 8:05 PM
> To:	talk at lists.nyphp.org
> Subject:	[nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
> 
> Hello,
> 
> I was trying to search for strings in a pdf file that is on the unix
> system. 
> I looked for other tools to
> search in pdf files but so far I have found none. Is there a way in Unix 
> itself like the grep command or something else that can help me search for
> 
> strings in pdf files?
> 
> If anyone knows about it, then please kindly let me know.
> 
> Thanks,
> Salman.
> 
> _________________________________________________________________
> Create a Job Alert on MSN Careers and enter for a chance to win $1000! 
> http://msn.careerbuilder.com/promo/kaday.htm?siteid=CBMSN_1K&sc_extcmp=JS_
> JASweep_MSNHotm2
> 
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk

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

Message: 4
Date: Thu, 4 Mar 2004 21:12:19 -0500
From: Daniel Convissor <danielc at analysisandsolutions.com>
Subject: Re: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <20040305021219.GA28423 at panix.com>
Content-Type: text/plain; charset=us-ascii

On Thu, Mar 04, 2004 at 08:42:55PM -0500, DeWitt, Michael wrote:
> I am using xpdf to get text out of pdfs.

... IF you've got X windows going.

Let's see what Panix has...

d> apropos pdf | grep text

  latex, elatex, lambda, pdflatex (1) - structured text formatting and
    typesetting
  pdftotext (1) - Portable Document Format (PDF) to text converter 
    (version 2.02)

That second one looks like it'll fit the bill.

d> man pdftotext
       ... snip ...
       Pdftotext  reads the PDF file, PDF-file, and writes a text
       file, text-file.  If text-file is not specified, pdftotext
       converts  file.pdf  to file.txt.  If text-file is '-', the
       text is sent to stdout.
       ... snip ...

d> pdftotext afile.pdf - | grep stringicareabout

Works like a charm.

Enjoy,

--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: 5
Date: Thu, 4 Mar 2004 21:17:35 -0500 
From: "DeWitt, Michael" <mjdewitt at alexcommgrp.com>
Subject: RE: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID:
	<BCF799A6B63DD411985D00805F9F9033C7A10A at mail.alexcommgrp.com>
Content-Type: text/plain

Dan,

Isn't pdftotext part of the xpdf package?

Mike

> -----Original Message-----
> From:	Daniel Convissor [SMTP:danielc at analysisandsolutions.com]
> Sent:	Thursday, March 04, 2004 9:12 PM
> To:	NYPHP Talk
> Subject:	Re: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
> 
> On Thu, Mar 04, 2004 at 08:42:55PM -0500, DeWitt, Michael wrote:
> > I am using xpdf to get text out of pdfs.
> 
> ... IF you've got X windows going.
> 
> Let's see what Panix has...
> 
> d> apropos pdf | grep text
> 
>   latex, elatex, lambda, pdflatex (1) - structured text formatting and
>     typesetting
>   pdftotext (1) - Portable Document Format (PDF) to text converter 
>     (version 2.02)
> 
> That second one looks like it'll fit the bill.
> 
> d> man pdftotext
>        ... snip ...
>        Pdftotext  reads the PDF file, PDF-file, and writes a text
>        file, text-file.  If text-file is not specified, pdftotext
>        converts  file.pdf  to file.txt.  If text-file is '-', the
>        text is sent to stdout.
>        ... snip ...
> 
> d> pdftotext afile.pdf - | grep stringicareabout
> 
> Works like a charm.
> 
> Enjoy,
> 
> --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
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk

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

Message: 6
Date: Thu, 4 Mar 2004 21:21:22 -0500
From: Daniel Convissor <danielc at analysisandsolutions.com>
Subject: Re: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <20040305022122.GA1082 at panix.com>
Content-Type: text/plain; charset=us-ascii

Howdy:

On Thu, Mar 04, 2004 at 09:17:35PM -0500, DeWitt, Michael wrote:
> 
> Isn't pdftotext part of the xpdf package?

>From the man page, looks like it is.  But one doesn't need to have 
xwindows running in order to use pdftotext.  Seems like xpdf does.

--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: 7
Date: Thu, 4 Mar 2004 21:28:40 -0500 
From: "DeWitt, Michael" <mjdewitt at alexcommgrp.com>
Subject: RE: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
To: "'NYPHP Talk'" <talk at lists.nyphp.org>
Message-ID:
	<BCF799A6B63DD411985D00805F9F9033C7A10B at mail.alexcommgrp.com>
Content-Type: text/plain

Dan,

Ha, that is funny, I didn't know there was a binary xpdf. I have never used
it, just pdftotext. I am looking at the directory for xpdf and can see it
now. xpdf seems nice - renders much faster than acrobat and looks fairly
accurate.

Mike

> -----Original Message-----
> From:	Daniel Convissor [SMTP:danielc at analysisandsolutions.com]
> Sent:	Thursday, March 04, 2004 9:21 PM
> To:	NYPHP Talk
> Subject:	Re: [nycphp-talk] SEARCHING PDF DOCUMENTS WITH UNIX
> 
> Howdy:
> 
> On Thu, Mar 04, 2004 at 09:17:35PM -0500, DeWitt, Michael wrote:
> > 
> > Isn't pdftotext part of the xpdf package?
> 
> >From the man page, looks like it is.  But one doesn't need to have 
> xwindows running in order to use pdftotext.  Seems like xpdf does.
> 
> --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
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk

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

Message: 8
Date: Fri, 5 Mar 2004 10:44:10 -0500 (EST)
From: David Mintz <dmintz at davidmintz.org>
Subject: [nycphp-talk] we need a PEAR book
To: NYPHP Talk <talk at lists.nyphp.org>
Message-ID: <Pine.BSF.4.58.0403051040460.89340 at emra.pair.com>
Content-Type: TEXT/PLAIN; charset=US-ASCII


I look forward to a nice fat heavy book about PEAR, preferably one with a
cute furry creature on the cover. When it's available I'll whip out my
credit card so fast it'll make your head spin. Even if it is out of date
the moment it hits the shelves.

I just felt like sharing that as I go nucking futs in my quest to learn to
use some of these packages. Thanks for letting me vent (-:


---
David Mintz
http://davidmintz.org/

        "Anybody else got a problem with Webistics?" -- Sopranos 24:17

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

Message: 9
Date: Fri, 5 Mar 2004 10:41:38 -0600
From: "Eric Rank" <erank at isthmus.com>
Subject: Re: [nycphp-talk] we need a PEAR book
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID: <006601c402d0$bb371960$8b01a8c0 at DB>
Content-Type: text/plain;	charset="iso-8859-1"

I second that. The other night I literally had to go for a walk around the
block to cool off after spending a couple hours getting nowhere trying to
learn DB_DataObject. Searching "DB_DataObject PEAR tutorial" in Google was
of no help either. Doing that mostly brought up mirrors of the same docs
found at pear.php.net

Does anyone have good resources for this stuff?

E.




----- Original Message ----- 
From: "David Mintz" <dmintz at davidmintz.org>
To: "NYPHP Talk" <talk at lists.nyphp.org>
Sent: Friday, March 05, 2004 9:44 AM
Subject: [nycphp-talk] we need a PEAR book


>
> I look forward to a nice fat heavy book about PEAR, preferably one with a
> cute furry creature on the cover. When it's available I'll whip out my
> credit card so fast it'll make your head spin. Even if it is out of date
> the moment it hits the shelves.
>
> I just felt like sharing that as I go nucking futs in my quest to learn to
> use some of these packages. Thanks for letting me vent (-:
>
>
> ---
> David Mintz
> http://davidmintz.org/
>
>         "Anybody else got a problem with Webistics?" -- Sopranos 24:17
> _______________________________________________
> talk mailing list
> talk at lists.nyphp.org
> http://lists.nyphp.org/mailman/listinfo/talk


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

Message: 10
Date: Fri, 5 Mar 2004 11:50:32 -0500
From: "David Sklar" <sklar at sklar.com>
Subject: RE: [nycphp-talk] we need a PEAR book
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID: <NFBBJNKBNKCIKGKJIFPJKEBBHHAA.sklar at sklar.com>
Content-Type: text/plain;	charset="us-ascii"

David Mintz wrote:
> I look forward to a nice fat heavy book about PEAR, preferably one
> with a cute furry creature on the cover. When it's available I'll
> whip out my credit card so fast it'll make your head spin. Even if it
> is out of date the moment it hits the shelves.
>
> I just felt like sharing that as I go nucking futs in my quest to
> learn to use some of these packages. Thanks for letting me vent (-:


<plug>
My book "Essential PHP Tools" covers PEAR DB, ADODB, HTML_QuickForm,
Smarty, XML_Parser, XML_RPC, SOAP, SimpleXML, Mail, Mail_mime, Auth,
Auth_HTTP, xdebug, apc, phpa, and mmcache.

Those aren't all PEAR modules but many of them are.

It should be out in a few weeks.
--> http://www.amazon.com/exec/obidos/tg/detail/-/1590592808
</plug>

David




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

Message: 11
Date: Fri, 05 Mar 2004 11:55:24 -0500
From: "Dave Callaghan" <dcallaghan at linuxmail.org>
Subject: Re: [nycphp-talk] we need a PEAR book
To: "NYPHP Talk" <talk at lists.nyphp.org>
Message-ID: <20040305165524.176F157C004 at ws5-4.us4.outblaze.com>
Content-Type: text/plain; charset="iso-8859-1"

The only resource that I've ever found that actually works consistently is
to actually read the code itself.

This isn't a smart-assed RTFC comment, bcs I would knock you down to get a
PEAR book. I LOVE good documentation and I feel the lack of it takes away
from the quality of the application itself.

But after repeatedly reading sparse tutorials or just getting NADA-doc
dumps, I don't even watse my time anymore. There is good news when you go
this route, though. First of all, PHP isn't Perl; you can read it even if
you didn't write it. Secondly, there are often nice samples included with
the package and the code is very clean.

The package that finally took me over the edge was
HTML_QuickForm_Controller. If you use and love HTML_QucikForm, which I do,
and you make a lot of multi-page applications and wizards, which I do, this
is a magnificent package.

But can you get it to work?

First, google around a bit. Get nice and frustrated. Now, go to the source
and open the samples provided. You'll be up and running suprisingly quickly.

So, I can't WAIT to get a good PEAR book. But in the meantime, I block off a
chunk of time to read the code and any samples they may give me. In the end,
its still quicker than rolling it yourself. But it isn't as quick as a nice
reference would make it.


> I second that. The other night I literally had to go for a walk around the
> block to cool off after spending a couple hours getting nowhere trying to
> learn DB_DataObject. Searching "DB_DataObject PEAR tutorial" in Google was
> of no help either. Doing that mostly brought up mirrors of the same docs
> found at pear.php.net
> 
> Does anyone have good resources for this stuff?
> 
> E.
> 
> 
> 
> 
> ----- Original Message ----- 
> From: "David Mintz" <dmintz at davidmintz.org>
> To: "NYPHP Talk" <talk at lists.nyphp.org>
> Sent: Friday, March 05, 2004 9:44 AM
> Subject: [nycphp-talk] we need a PEAR book
> 
> 
> >
> > I look forward to a nice fat heavy book about PEAR, preferably one with
a
> > cute furry creature on the cover. When it's available I'll whip out my
> > credit card so fast it'll make your head spin. Even if it is out of date
> > the moment it hits the shelves.
> >
> > I just felt like sharing that as I go nucking futs in my quest to learn
to
> > use some of these packages. Thanks for letting me vent (-:
> >
> >
> > ---
> > David Mintz
> > http://davidmintz.org/
> >
> >         "Anybody else got a problem with Webistics?" -- Sopranos 24:17
> > _______________________________________________
> > 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

-- 
______________________________________________
Check out the latest SMS services @ http://www.linuxmail.org 
This allows you to send and receive SMS through your mailbox.

Powered by Outblaze

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

Message: 12
Date: Fri, 5 Mar 2004 12:00:36 -0500 
From: Chris Bielanski <Cbielanski at inta.org>
Subject: RE: [nycphp-talk] we need a PEAR book
To: 'NYPHP Talk' <talk at lists.nyphp.org>
Message-ID: <C0CDB9F5E81C234FBB42D84E7853125DC1B908 at intamail1.inta>
Content-Type: text/plain;	charset="iso-8859-1"

<pedant>
So with all this thrashing and cursing about the lack of docs, how come
nobody using (or learning to use) PEAR is signing on the the doc project?
</pedant>

> -----Original Message-----
> From: Dave Callaghan [mailto:dcallaghan at linuxmail.org]
> Sent: Friday, March 05, 2004 11:55 AM
> To: NYPHP Talk
> Subject: Re: [nycphp-talk] we need a PEAR book
> 
> 
> The only resource that I've ever found that actually works 
> consistently is to actually read the code itself.
> 
> This isn't a smart-assed RTFC comment, bcs I would knock you 
> down to get a PEAR book. I LOVE good documentation and I feel 
> the lack of it takes away from the quality of the application itself.
> 
> But after repeatedly reading sparse tutorials or just getting 
> NADA-doc dumps, I don't even watse my time anymore. There is 
> good news when you go this route, though. First of all, PHP 
> isn't Perl; you can read it even if you didn't write it. 
> Secondly, there are often nice samples included with the 
> package and the code is very clean.
> 
> The package that finally took me over the edge was 
> HTML_QuickForm_Controller. If you use and love 
> HTML_QucikForm, which I do, and you make a lot of multi-page 
> applications and wizards, which I do, this is a magnificent package.
> 
> But can you get it to work?
> 
> First, google around a bit. Get nice and frustrated. Now, go 
> to the source and open the samples provided. You'll be up and 
> running suprisingly quickly.
> 
> So, I can't WAIT to get a good PEAR book. But in the 
> meantime, I block off a chunk of time to read the code and 
> any samples they may give me. In the end, its still quicker 
> than rolling it yourself. But it isn't as quick as a nice 
> reference would make it.
> 
> 
> > I second that. The other night I literally had to go for a 
> walk around the
> > block to cool off after spending a couple hours getting 
> nowhere trying to
> > learn DB_DataObject. Searching "DB_DataObject PEAR 
> tutorial" in Google was
> > of no help either. Doing that mostly brought up mirrors of 
> the same docs
> > found at pear.php.net
> > 
> > Does anyone have good resources for this stuff?
> > 
> > E.
> > 
> > 
> > 
> > 
> > ----- Original Message ----- 
> > From: "David Mintz" <dmintz at davidmintz.org>
> > To: "NYPHP Talk" <talk at lists.nyphp.org>
> > Sent: Friday, March 05, 2004 9:44 AM
> > Subject: [nycphp-talk] we need a PEAR book
> > 
> > 
> > >
> > > I look forward to a nice fat heavy book about PEAR, 
> preferably one with a
> > > cute furry creature on the cover. When it's available 
> I'll whip out my
> > > credit card so fast it'll make your head spin. Even if it 
> is out of date
> > > the moment it hits the shelves.
> > >
> > > I just felt like sharing that as I go nucking futs in my 
> quest to learn to
> > > use some of these packages. Thanks for letting me vent (-:
> > >
> > >
> > > ---
> > > David Mintz
> > > http://davidmintz.org/
> > >
> > >         "Anybody else got a problem with Webistics?" -- 
> Sopranos 24:17
> > > _______________________________________________
> > > 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
> 
> -- 
> ______________________________________________
> Check out the latest SMS services @ http://www.linuxmail.org 
> This allows you to send and receive SMS through your mailbox.
> 
> Powered by Outblaze
> _______________________________________________
> 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


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


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