Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Shawn McKenzie
On 04/10/2012 12:25 PM, George R Smith wrote: > Matijin and Shawn, > > I added to /etc/php5/apache2/php.ini the line > extension_dir = "/usr/lib/php5/20090626+lfs" > > but when I run qm_ext_build I still get > You need to create the php extensions directory: > /usr/lib/php5/20090626+lfs no > > c

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Matijn Woudt
On Tue, Apr 10, 2012 at 8:06 PM, Shawn McKenzie wrote: > On 04/10/2012 12:25 PM, George R Smith wrote: >> Matijin and Shawn, >> >> I added to /etc/php5/apache2/php.ini the line >> extension_dir = "/usr/lib/php5/20090626+lfs" >> >> but when I run qm_ext_build I still get >> You need to create the p

Re: [PHP] php books

2012-04-10 Thread Govinda
> Revisiting said dead horse, it's interesting there is no clear consensus of > opinion about what is the best book to use to learn php. Generally, you get > several people chiming in talking about the website. Now the website is the > bomb indeed, BUT IT'S NOT A BOUND BOOK! So that's a terrifi

[PHP] strftime silliness

2012-04-10 Thread Tim Streater
I want to format a date/time using a 12 hour representation of the time part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time format specifier is the lower-case L. But, this gives me a leading space in the case that the hour is less than 12. I don't want this space. Anyone kno

[PHP] Re: strftime silliness

2012-04-10 Thread Tim Streater
On Apr 10th, 2012 at 10:40pm, Tim Streater wrote: > I want to format a date/time using a 12 hour representation of the time part. > I can do this with, say, "%d %b %Y %l:%M %p", where the first time format > specifier is the lower-case L. But, this gives me a leading space in the case > that the

Re: [PHP] strftime silliness

2012-04-10 Thread Geoff Shang
On Wed, 10 Apr 2012, Tim Streater wrote: I want to format a date/time using a 12 hour representation of the time part. I can do this with, say, "%d %b %Y %l:%M %p", where the first time format specifier is the lower-case L. But, this gives me a leading space in the case that the hour is less t

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I ran the executable installer. I have no recollection of having opportunity to configure it. On 4/10/2012 12:08 AM, Tommy Pham wrote: On Mon, Apr 9, 2012 at 7:05 PM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly i

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
It means it does nothing. I have a small server in the computer that works fine. I also installed python in this box- and it worked perfectly without having to do anything to the server. Php on the other hand merely occupies disk space. Aside:Holy cow, you know nothing about windows?!? Consid

Re: [PHP] php in windows

2012-04-10 Thread Kirk Bailey
I have a web server, and it works fine with python. On 4/10/2012 7:03 AM, Matijn Woudt wrote: On Tue, Apr 10, 2012 at 4:05 AM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? It does work, you just didn'

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
I am not running apache; I am running tinyweb, which is a cgi capable server. It does not need any special configuration to handle cgi, and worked out of the box with python. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I inst

Re: [PHP] php books

2012-04-10 Thread Kirk Bailey
A good tip, thank you. The php cookbook just arrived today, and this weekend I will be doing some cooking. On 4/10/2012 4:22 PM, Govinda wrote: Revisiting said dead horse, it's interesting there is no clear consensus of opinion about what is the best book to use to learn php. Generally, you g

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, I just installed 5.2.17 VC6X86. I have a simple test page, index.php; it spews the content code at me. On 4/10/2012 11:13 AM, Bogdan Ribic wrote: On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properl

Re: [PHP] Re: php in windows

2012-04-10 Thread Kirk Bailey
ok, there is a copy of index.php ion the cgibin, and this got WAY different results. It puked an error. "CGI script /cgi-bin/index.php returned nothing" NOW W.T.F., over? I think that it's time for some rack time. 'Night all. On 4/11/2012 12:50 AM, Kirk Bailey wrote: ok, I just installed 5.

Re: [PHP] php in windows

2012-04-10 Thread Tim Streater
On 10 Apr 2012 at 03:05, Kirk Bailey wrote: > The edition of php for windows I instaklled does not work. Which > flavor of windows php DOES work properly in windows? What does "does not work" mean? You need to say which OS, which PHP version, what happens, and what you expect to happen. Not th

Re: [PHP] php in windows

2012-04-10 Thread Matijn Woudt
On Tue, Apr 10, 2012 at 4:05 AM, Kirk Bailey wrote: > The edition of php for windows I instaklled does not work. Which flavor of > windows php DOES work properly in windows? > It does work, you just didn't take the time to read the manual on how to set it up. If you want to run webpages with it,

Re: [PHP] php in windows

2012-04-10 Thread Jay Blanchard
On 4/9/2012 9:05 PM, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? You need to give us more details than this. What version did you install? What do you mean by "does not work"? All flavors of PHP will

[PHP] Re: php in windows

2012-04-10 Thread Bogdan Ribic
On 4/10/2012 04:05, Kirk Bailey wrote: The edition of php for windows I instaklled does not work. Which flavor of windows php DOES work properly in windows? Trust me, it does work :) I'm running PHP 5.3.10 thread-safe, as apache module on apache 2.4.1 from apache lounge (not official apache b

[PHP] Re: Script failing on extension_dir

2012-04-10 Thread Shawn McKenzie
On 04/09/2012 03:16 PM, George R Smith wrote: > EXTDIR=`php -i 2> /dev/null | grep -i "extension_dir" | cut -d" " -f3` > > Error message follows, what does the no mean ? > get the directory where PHP extension are stored > > You need to

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread Matijn Woudt
On Tue, Apr 10, 2012 at 5:18 PM, Shawn McKenzie wrote: > On 04/09/2012 03:16 PM, George R Smith wrote: >> EXTDIR=`php -i 2> /dev/null | grep -i "extension_dir" | cut -d" " -f3` >> >> Error message follows, what does the no mean ? >> get the directory where PHP extension are stored >> =

Re: [PHP] Re: Script failing on extension_dir

2012-04-10 Thread George R Smith
Matijin and Shawn, I added to /etc/php5/apache2/php.ini the line extension_dir = "/usr/lib/php5/20090626+lfs" but when I run qm_ext_build I still get You need to create the php extensions directory: /usr/lib/php5/20090626+lfs no could the error be in the qm_ext_build script. Here is the section