Afficher un message
Vieux 20/06/2008, 20h08   #5
Jerry Stuckle
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: sqlite/PHP under OS X

Tim Streater wrote:
> In article <g3g6ve$4iv$2@registered.motzarella.org>,
> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>
>> Tim Streater wrote:
>>> In article <g3g30i$ij4$1@registered.motzarella.org>,
>>> Jerry Stuckle <jstucklex@attglobal.net> wrote:
>>>
>>>> Tim Streater wrote:
>>>>> One PHP script contains just the phpinfo call. The other just has an
>>>>> sqlite_open call. Both in my home directory. I run both from a Terminal
>>>>> window by going:
>>>>>
>>>>> prompt> php somefile.php
>>>>>
>>>>> So - that's it.
>>>>>
>>>> OK, that's very strange then. How about pasting your failing code?
>>> Right, I just tried this on the MacPro at work with these scripts:
>>>
>>> <? phpinfo (); ?>
>>>
>>> and
>>>
>>> <? sqlite_open (); ?>
>>>
>>> Hard to get much simpler than that. :-)
>>>
>>> OK - on the MacPro, I get a complaint that sqlite_open expects at least
>>> one parameter. This would be as expected if things work.
>>>
>>> At home on my Mac Mini (both running 10.5.3) it appeared to behave
>>> differently (no such function). I'll e-mail the phpinfo output to myself
>>> at home and diff it with the output there, to see if there is any
>>> difference with the PHP setup.
>>>

>> I wonder if your Mac Mini didn't include sqlite to save space.
>>
>> Your approach seems to be the best one right now.

>
> Grrr. I turned on invisibles in TextWrangler and - lo! there was some
> shitty non-space character masquerading as a space. That's what comes of
> using vi to edit stuff.
>
> Sorry to have troubled you.
>


:-) Just glad you found it!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================

  Réponse avec citation
 
Page generated in 0,05840 seconds with 9 queries