[PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
I recently updated my Apache to 1.3.31 and when it was finished, none of
my PHP scripts are working correctly.  They seem to stop in the middle
of displaying a page.  On some pages, my footer doesn't come up, it just
quits before it gets there.  I got on the PHP website to get the
instructions for building PHP and followed them, but that didn't help.
Here is the configure line I used for PHP:

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Now nothing works right.  

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
913.762.8667
913.221.8241  PCS
[EMAIL PROTECTED]




RE: [PHP] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
I'm getting a segmentation fault in the Apache error log whenever I
access a page the doesn't finish.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]


-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 11:45 AM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP 4.3.6

Martin, Stanley G [Contractor for Sprint] wrote:
 I recently updated my Apache to 1.3.31 and when it was finished, none
of
 my PHP scripts are working correctly.  They seem to stop in the middle
 of displaying a page.  On some pages, my footer doesn't come up, it
just
 quits before it gets there.  I got on the PHP website to get the
 instructions for building PHP and followed them, but that didn't help.
 Here is the configure line I used for PHP:
 
 ./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs
 
 Now nothing works right.

Anything in you Apache error logs?  Do you have error reporting turned 
on in the php.ini?

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

-- 
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] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
OK. Here it is

[Thu May 20 11:52:41 2004] [notice] child pid 19615 exit signal
Segmentation fault (11)

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]


-Original Message-
From: raditha dissanayake [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 12:01 PM
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP 4.3.6

Martin, Stanley G [Contractor for Sprint] wrote:

I'm getting a segmentation fault in the Apache error log whenever I
access a page the doesn't finish.
  

Dear Contractor for Sprint,

What john meant was for you to share it (error message) with us.

Martin, Stanley G [Contractor for Sprint] wrote:
  

I recently updated my Apache to 1.3.31 and when it was finished, none


of
  

my PHP scripts are working correctly.  They seem to stop in the middle
of displaying a page.  On some pages, my footer doesn't come up, it


just
  

quits before it gets there.  I got on the PHP website to get the
instructions for building PHP and followed them, but that didn't help.
Here is the configure line I used for PHP:

./configure --with-mysql --with-apxs=/usr/local/apache/bin/apxs

Now nothing works right.



Anything in you Apache error logs?  Do you have error reporting turned 
on in the php.ini?

  



-- 
Raditha Dissanayake.
-
http://www.raditha.com/megaupload/upload.php
Sneak past the PHP file upload limits.

-- 
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] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
When I ran configure for PHP I tried to use the --with-apache and
pointed it to /usr/local/apache but it told me it couldn't find httpd.h
anywhere under there and it is there
(/usr/local/apache/include/httpd.h).  So, I ran it with
--with-apxs=/usr/local/apache/bin/apxs.  It creates the file libphp4.so
and I'm loading it in Apache (which I didn't have to change because it
was there before).  I did notice before the changes that when I executed
httpd -l to list loaded modules, PHP was listed and it's not now.  I
didn't have mod_so loaded before, but I loaded it this time.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
913.762.8667
913.221.8241  PCS
[EMAIL PROTECTED]


-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 1:05 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP 4.3.6

Martin, Stanley G [Contractor for Sprint] wrote:
 OK. Here it is
 
 [Thu May 20 11:52:41 2004] [notice] child pid 19615 exit signal
 Segmentation fault (11)

Was php4.3.6 compiled with the same options as your previous version? 
Just a guess here, but your scripts may be calling a function that 
existed in your old version, but isn't in your new version.  This would 
usually just throw an error, but stranger things have happened.  If this

is on *nix, you could strace Apache.

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

-- 
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] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
Yes. I used --enable-module=so.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
913.762.8667
913.221.8241  PCS
[EMAIL PROTECTED]


-Original Message-
From: John Nichel [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 1:21 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP 4.3.6

Martin, Stanley G [Contractor for Sprint] wrote:
 When I ran configure for PHP I tried to use the --with-apache and
 pointed it to /usr/local/apache but it told me it couldn't find
httpd.h
 anywhere under there and it is there
 (/usr/local/apache/include/httpd.h).  So, I ran it with
 --with-apxs=/usr/local/apache/bin/apxs.  It creates the file
libphp4.so
 and I'm loading it in Apache (which I didn't have to change because it
 was there before).  I did notice before the changes that when I
executed
 httpd -l to list loaded modules, PHP was listed and it's not now.  I
 didn't have mod_so loaded before, but I loaded it this time.

Was Apache configured with apxs?  I don't think you can load mod_so if 
it wasn't configured with it.

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

-- 
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] PHP 4.3.6

2004-05-20 Thread Martin, Stanley G [Contractor for Sprint]
I went back to PHP 4.3.1.  I still had the src directory from when I
installed it.  When I configured PHP 4.3.6 like this:

./configure --with-apache=/app_source/Apache/apache_1.3.31 --with-mysql

it's supposed to create libmodphp4.a library in
/app_source/Apache/apache_1.3.31/src/modules/php4, but it didn't. I went
to my old installation of Apache 1.3.27 and found the files there that
were generated when I installed PHP 4.3.1, so I copied those to my
Apache 1.3.31 source tree and recompiled Apache using :

./configure --activate-module=src/modules/php4/libphp4.a
--enable-module=so

I have everything back to normal now, but was wondering if this is a bug
in the 4.3.6 installation where it doesn't create the needed library
files.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]


-Original Message-
From: Aaron Gould [mailto:[EMAIL PROTECTED] 
Sent: Thursday, May 20, 2004 1:46 PM
To: Martin, Stanley G [Contractor for Sprint]
Cc: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP 4.3.6

Martin, Stanley G [Contractor for Sprint] wrote:

 -Original Message-
 From: John Nichel [mailto:[EMAIL PROTECTED] 
 Sent: Thursday, May 20, 2004 1:21 PM
 To: [EMAIL PROTECTED]
 Subject: Re: [PHP] PHP 4.3.6
 
 Martin, Stanley G [Contractor for Sprint] wrote:
 
When I ran configure for PHP I tried to use the --with-apache and
pointed it to /usr/local/apache but it told me it couldn't find
 httpd.h anywhere under there and it is there
(/usr/local/apache/include/httpd.h).  So, I ran it with
--with-apxs=/usr/local/apache/bin/apxs.  It creates the file

This is a guess... did you run a make clean between your first and 
second configure attempts?

-- 
Aaron Gould
Parts Canada - Web Developer

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



RE: [PHP] Regular Expression

2004-05-05 Thread Martin, Stanley G [Contractor for Sprint]
Here's a neat little tool I came across while taking an ASP.NET course
at a local college for creating regular expressions. I've used it with
my Perl/PHP scripting also. 

Regular Expression Designer
http://www.radsoftware.com.au/web/Default.aspx


Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]


-Original Message-
From: Tumurbaatar S. [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, May 05, 2004 12:26 AM
To: [EMAIL PROTECTED]
Subject: [PHP] Regular Expression

There's an input string like {str1,str2,...,strN}. I want to capture
all these strings and due to complexity of them I use a preg_match_all()
instead of simple split. A pattern for the matching strings is ready but
I cannot imagine how to specify that strings are separated by commas
and the last one is not followed by comma. For example, I'm afraid that
this pattern /^{(?:(pattern),)*|(pattern)?}$/ can match and capture
properly constructed input string, but, in addition, this matches if
the string end is ,}. Any ideas?

-- 
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] PHP Web Hosting

2004-04-20 Thread Martin, Stanley G [Contractor for Sprint]
This was the email I was looking for. I found my answer in this forum.
Come to find out, the owner of Domehost.com was in jail and it was/is a
one man operation. Too bad, everything they had was working great, just
couldn't get any minor support from them. Got my money's worth and now
it's time to move on.

Thanks for the link Justin.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]


-Original Message-
From: Justin Palmer [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 5:01 PM
To: [EMAIL PROTECTED]
Subject: RE: [PHP] PHP Web Hosting

I have used hostrocket.com and ipowerweb.com with good success.  I don't
think that it is my place per say to tell you who to host with, for I
don't want to give bad advise, if it does not work for you.  I do have a
resource that might be helpful. Here it is http://webhostingforums.com/

Regards,

Justin Palmer



-Original Message-
From: Russell P Jones [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 2:37 PM
To: Daniel Clark
Cc: [EMAIL PROTECTED]; Martin, Stanley G [Contractor for Sprint];
[EMAIL PROTECTED]
Subject: Re: [PHP] PHP Web Hosting


http://www.networkeleven.com

I have been using these folks for about a year and a half now. They have
done numerous custom builds for me and will do it within 15 minutes of
your request. Pretty amazing customer service.

Russ Jones

On Mon, 19 Apr 2004, Daniel Clark wrote:

 I'm using www.phpwebhosting.com


  On Mon, 2004-04-19 at 15:14, Martin, Stanley G [Contractor for 
  Sprint]
  wrote:
  Some time ago I put up a web site on Domehost.com.  Everything has 
  been working great and I had a couple questions for their Tech 
  Support but haven't received any feedback from them, they don't 
  answer their phones. Also, it is stated on their site that a 
  company called Wintek Computing took them over last year.  I can't 
  contact them either.  Does anyone know anything that may have 
  happened here?  I suspect I need to find another web hosting 
  company before my site just goes away.
 
  Stanley G. Martin
  System Administrator
  Sprint - EAS Business Intelligence [EMAIL PROTECTED]
  --

 --
 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

-- 
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



[PHP] PHP Web Hosting

2004-04-19 Thread Martin, Stanley G [Contractor for Sprint]
Some time ago I put up a web site on Domehost.com.  Everything has been
working great and I had a couple questions for their Tech Support but
haven't received any feedback from them, they don't answer their phones.
Also, it is stated on their site that a company called Wintek Computing
took them over last year.  I can't contact them either.  Does anyone
know anything that may have happened here?  I suspect I need to find
another web hosting company before my site just goes away.

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
[EMAIL PROTECTED]




RE: [PHP] PHP Web Hosting

2004-04-19 Thread Martin, Stanley G [Contractor for Sprint]
I've received a number of suggestions as to where I should go to for my
web hosting but it doesn't seem that anyone has any experience with
Domehost. This brings up another question; transferring my Domain name.
If I do move to another hosting site, can I take my domain name with me?

Stanley G. Martin
System Administrator
Sprint - EAS Business Intelligence 
913.762.8667
913.221.8241  PCS
[EMAIL PROTECTED]


-Original Message-
From: Richard Davey [mailto:[EMAIL PROTECTED] 
Sent: Monday, April 19, 2004 3:26 PM
To: [EMAIL PROTECTED]
Subject: Re: [PHP] PHP Web Hosting

Hello Stanley,

Monday, April 19, 2004, 8:14:25 PM, you wrote:

MSGCfS Some time ago I put up a web site on Domehost.com.  Everything
has been
MSGCfS working great and I had a couple questions for their Tech
Support but
MSGCfS haven't received any feedback from them, they don't answer their
phones.
MSGCfS Also, it is stated on their site that a company called Wintek
Computing
MSGCfS took them over last year.  I can't contact them either.  Does
anyone
MSGCfS know anything that may have happened here?  I suspect I need to
find
MSGCfS another web hosting company before my site just goes away.

Ditch them and go with Pair Networks (www.pair.com).
Easily the best out there, have used them since 1997!

-- 
Best regards,
 Richard Davey
 http://www.phpcommunity.org/wiki/296.html

-- 
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