php-general Digest 24 Jan 2009 20:25:17 -0000 Issue 5920
Topics (messages 287062 through 287076):
Re: process creation
287062 by: Per Jessen
Re: Make New-Age Money Online with Google
287063 by: Ashley Sheridan
Re: PHP 5.2.8 fails to find libiconv
287064 by: Ro Achterberg
Php error
287065 by: mattias
287066 by: Per Jessen
287067 by: Carlos Medina
PHP webhosting - USA
287068 by: Martin Zvarík
287069 by: Tony Marston
287070 by: Martin Zvarík
287071 by: Alpár Török
287072 by: TG
287073 by: Stephen
287074 by: Daniel Brown
287075 by: Michael Kubler
Re: PHP webhosting - USA - conclusion
287076 by: Martin Zvarík
Administrivia:
To subscribe to the digest, e-mail:
[email protected]
To unsubscribe from the digest, e-mail:
[email protected]
To post to the list, e-mail:
[email protected]
----------------------------------------------------------------------
--- Begin Message ---
Török Alpár wrote:
> as i said it's hate here, and i might be wrong but consider the
> following :
>
> for($icount=0;$icount<11;$icount++)
> {
> $iPid = pcntl_fork();
> $iChildrenCount = 0;
> if ($iPid == 0)
> {
> // child
> echo ("child $icount\n");
> }
> else
> {
> // parrent
> }
> }
>
> this is essential what you do in your example? If so, this code does
> not start 10 children. It starts more.
Thats right - with the code above, each new child will continue creating
more processes. To get exactly 10 children running the same code:
if ($iPid == 0)
{
// child
echo ("child $icount\n");
// do childish stuff
// then exit
exit;
}
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
On Sat, 2009-01-24 at 10:14 +0200, Dora Elless wrote:
> That's why I am sending this email only to people I know and care
> about.
And they send to a mailing list. Come again?
Ash
www.ashleysheridan.co.uk
--- End Message ---
--- Begin Message ---
At 11:51 23-1-2009, Thodoris wrote:
>>Hi,
>>
>>I'm attempting to install PHP 5.2.8 on CentOS 5.2 x86_64. The glibc iconv
>>doesn't seem to function very well, leading to a bunch of failed tests when
>>running 'make test' (see below). After a bit of Googling I stumbled upon
>>http://nl2.php.net/manual/en/intro.iconv.php which suggests to install
>>libiconv instead of relying on glibc's iconv, when things go wrong.
>>
>>My configure line reads as follows:
>>
>>./configure --prefix=/chroot/apache2/php
>>--with-apxs2=/chroot/apache2/bin/apxs --disable-cgi --with-zlib
>>--with-gettext --enable-sockets --with-xmlrpc --with-xsl
>>--with-config-file-path=/php/etc --with-mcrypt --enable-mbregex --with-gd
>>--with-mime-magic=/usr/share/mime/magic --enable-mbstring=all --with-openssl
>>--with-mysql=/chroot/mysql --with-curl=/usr/lib64 --enable-zip
>>--with-freetype-dir=/usr/lib64 --with-png-dir --with-jpeg-dir
>>--with-libdir=lib64 --with-gnu-ld --with-iconv=/usr/local/lib
>>
>>which yields the following result:
>>
>>--------
>>checking for iconv support... yes
>>configure: error: Please reinstall the iconv library.
>>--------
>>
>>Configure runs fine when I omit the path in the --with-iconv directive, but
>>that will use glibc's iconv, which results in the following failed tests when
>>running make check:
>>
>>--------
>>Bug #16069 (ICONV transliteration failure) [ext/iconv/tests/bug16069.phpt]
>>iconv stream filter [ext/iconv/tests/iconv_stream_filter.phpt]
>>Test session_decode() function : variation
>>[ext/session/tests/session_decode_variation3.phpt]
>>Test session_encode() function : variation
>>[ext/session/tests/session_encode_variation8.phpt]
>>Test tempnam() function: usage variations - permissions(0000 to 0777) of dir
>>[ext/standard/tests/file/tempnam_variation4.phpt]
>>htmlentities() test 2 (setlocale / fr_FR.ISO-8859-15)
>>[ext/standard/tests/strings/htmlentities02.phpt] (warn: possibly braindead
>>libc)
>>htmlentities() test 4 (setlocale / ja_JP.EUC-JP)
>>[ext/standard/tests/strings/htmlentities04.phpt] (warn: possibly braindead
>>libc)
>>htmlentities() test 15 (setlocale / KOI8-R)
>>[ext/standard/tests/strings/htmlentities15.phpt] (warn: possibly braindead
>>libc)
>>--------
>>
>>Any thoughts/suggestions/ideas on how to solve this would be greatly
>>appreciated!
>>
>>Regards,
>>Ro
>>
>>
>>
>Although this not strictly a PHP question you could try to update first.
>
>#yum update
>
>Just in case something went wrong
>
>--
>Thodoris
How is this not a PHP question? Other programs have no trouble finding, linking
with and using libiconv, and the failed tests are reported by PHP, on a fully
updated CentOS 5.2.
Any further insights would be very much appreciated, since I still haven't
found a solution to this problem. I'd like my production environments to be as
stable as possible.
Regards,
Ro
>--
>PHP General Mailing List (http://www.php.net/)
>To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
ERR_DB_NO_DB_PASS
What will this meen?
--- End Message ---
--- Begin Message ---
mattias wrote:
> ERR_DB_NO_DB_PASS
>What will this meen?
No database password has been set in config.
/Per Jessen, Zürich
--- End Message ---
--- Begin Message ---
mattias schrieb:
ERR_DB_NO_DB_PASS
What will this meen?
The Database is a foreign DB without passport
Carlos
--- End Message ---
--- Begin Message ---
Hi,
I currently host my site by Powweb, and I am WANT to change it - can you
guys recommend me something good?
Powweb's website looks awesome and it's the best marketing I think I had
saw! After a minute it makes you think there is NO better hosting - and
it's a LIE.
What happened to me?
- database connection were exceeded, I read many people had problems
with their phorums not working etc., the solution: I put a message to
the visitor that he has to wait (it was not frequent so I didn't care much)
- my client stopped receiving orders, he called me after a week
something is wrong. I found out that Powweb changed a MySQL settings,
which nobody informed me about - they restricted a JOIN limit max to 3,
the mysql_query SQL thus did not work and orders were not storing for 7
days!
- the suport is HORRIBLE - they don't give you email, but they have this
ONLINE support, meaning: you wait 10-20 minutes on queue, and then they
talk to you like a robots and usually tell you something you already know.
- now they automatically changed all my passwords so they can keep me
secure! what's cool is that I cannot change it back to what I have! Hey,
the chance of getting me hit by bus is higher than someone cracking my
15 letter password with numbers! Thank you powweb for keeping me secure.
Thanks for reading my story,
now, does someone know a better hosting alternative?
Martin
--- End Message ---
--- Begin Message ---
I have been using www.lypha.com for 5 years without experiencing any of
those problems.
--
Tony Marston
http://www.tonymarston.net
http://www.radicore.org
""Martin Zvarík"" <[email protected]> wrote in message
news:[email protected]...
> Hi,
>
> I currently host my site by Powweb, and I am WANT to change it - can you
> guys recommend me something good?
>
> Powweb's website looks awesome and it's the best marketing I think I had
> saw! After a minute it makes you think there is NO better hosting - and
> it's a LIE.
>
> What happened to me?
>
> - database connection were exceeded, I read many people had problems with
> their phorums not working etc., the solution: I put a message to the
> visitor that he has to wait (it was not frequent so I didn't care much)
>
> - my client stopped receiving orders, he called me after a week something
> is wrong. I found out that Powweb changed a MySQL settings, which nobody
> informed me about - they restricted a JOIN limit max to 3, the mysql_query
> SQL thus did not work and orders were not storing for 7 days!
>
> - the suport is HORRIBLE - they don't give you email, but they have this
> ONLINE support, meaning: you wait 10-20 minutes on queue, and then they
> talk to you like a robots and usually tell you something you already know.
>
> - now they automatically changed all my passwords so they can keep me
> secure! what's cool is that I cannot change it back to what I have! Hey,
> the chance of getting me hit by bus is higher than someone cracking my 15
> letter password with numbers! Thank you powweb for keeping me secure.
>
> Thanks for reading my story,
> now, does someone know a better hosting alternative?
>
> Martin
--- End Message ---
--- Begin Message ---
That's an awful looking website, but thanks for reply.
I am looking for rather a US hosting company.
Andrew Williams napsal(a):
go to www.willandy.co.uk <http://www.willandy.co.uk> best value for money
On Sat, Jan 24, 2009 at 3:03 PM, Martin Zvarík <[email protected]
<mailto:[email protected]>> wrote:
Hi,
I currently host my site by Powweb, and I am WANT to change it -
can you guys recommend me something good?
Powweb's website looks awesome and it's the best marketing I think
I had saw! After a minute it makes you think there is NO better
hosting - and it's a LIE.
What happened to me?
- database connection were exceeded, I read many people had
problems with their phorums not working etc., the solution: I put
a message to the visitor that he has to wait (it was not frequent
so I didn't care much)
- my client stopped receiving orders, he called me after a week
something is wrong. I found out that Powweb changed a MySQL
settings, which nobody informed me about - they restricted a JOIN
limit max to 3, the mysql_query SQL thus did not work and orders
were not storing for 7 days!
- the suport is HORRIBLE - they don't give you email, but they
have this ONLINE support, meaning: you wait 10-20 minutes on
queue, and then they talk to you like a robots and usually tell
you something you already know.
- now they automatically changed all my passwords so they can keep
me secure! what's cool is that I cannot change it back to what I
have! Hey, the chance of getting me hit by bus is higher than
someone cracking my 15 letter password with numbers! Thank you
powweb for keeping me secure.
Thanks for reading my story,
now, does someone know a better hosting alternative?
Martin
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I liked
http://www.slicehost.com/
very much, but might not be what you want.
2009/1/24 Martin Zvarík <[email protected]>
> Hi,
>
> I currently host my site by Powweb, and I am WANT to change it - can you
> guys recommend me something good?
>
> Powweb's website looks awesome and it's the best marketing I think I had
> saw! After a minute it makes you think there is NO better hosting - and it's
> a LIE.
>
> What happened to me?
>
> - database connection were exceeded, I read many people had problems with
> their phorums not working etc., the solution: I put a message to the visitor
> that he has to wait (it was not frequent so I didn't care much)
>
> - my client stopped receiving orders, he called me after a week something
> is wrong. I found out that Powweb changed a MySQL settings, which nobody
> informed me about - they restricted a JOIN limit max to 3, the mysql_query
> SQL thus did not work and orders were not storing for 7 days!
>
> - the suport is HORRIBLE - they don't give you email, but they have this
> ONLINE support, meaning: you wait 10-20 minutes on queue, and then they talk
> to you like a robots and usually tell you something you already know.
>
> - now they automatically changed all my passwords so they can keep me
> secure! what's cool is that I cannot change it back to what I have! Hey, the
> chance of getting me hit by bus is higher than someone cracking my 15 letter
> password with numbers! Thank you powweb for keeping me secure.
>
> Thanks for reading my story,
> now, does someone know a better hosting alternative?
>
> Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--
Alpar Torok
--- End Message ---
--- Begin Message ---
I've worked with a few different host providers in the course of my work. We
have clients on CrystalTech, GoDaddy, HostMonster/BlueHost, HostMySite, and
probably some others.
I've had my own hosting at DreamHost for years now and I love them. They have
their own homegrown control panel and one click installer, but they work great
and have lots of options. Also, they don't seem to include apps that are
crappy but popular. Most of the ones I've used that they have are all top
notch examples of their genre.
They communicate constantly via blog and RSS fees. Some people will say "they
have so many problems!" but I think the majority of this comes from the fact
that they do communicate so much.
I will say that they had two moderate to severe outages in the time I've had
them, but when I was keeping track of the minor hiccup type things, they never
seemed to last more than a couple minutes, if that.
One of our big sites is having issues with HostMonster right now with
mysterious CPU Exceeded/Slow MySQL queries errors, so if you're running a
fairly high traffic site, I'd recommend against them. Although their support
has been great, in general, but I can't recommend them if you have a good bit
of traffic.
I think HostMySite had good support too, if I recall. But again, I like
DreamHost's system better.
Anyway, just my 2cents. I'm sure there'll be a million other responses.
Good luck!
-TG
----- Original Message -----
From: Martin Zvarík <[email protected]>
To: [email protected]
Date: Sat, 24 Jan 2009 16:03:48 +0100
Subject: [PHP] PHP webhosting - USA
> Hi,
>
> I currently host my site by Powweb, and I am WANT to change it - can you
> guys recommend me something good?
>
> Powweb's website looks awesome and it's the best marketing I think I had
> saw! After a minute it makes you think there is NO better hosting - and
> it's a LIE.
>
> What happened to me?
>
> - database connection were exceeded, I read many people had problems
> with their phorums not working etc., the solution: I put a message to
> the visitor that he has to wait (it was not frequent so I didn't care much)
>
> - my client stopped receiving orders, he called me after a week
> something is wrong. I found out that Powweb changed a MySQL settings,
> which nobody informed me about - they restricted a JOIN limit max to 3,
> the mysql_query SQL thus did not work and orders were not storing for 7
> days!
>
> - the suport is HORRIBLE - they don't give you email, but they have this
> ONLINE support, meaning: you wait 10-20 minutes on queue, and then they
> talk to you like a robots and usually tell you something you already know.
>
> - now they automatically changed all my passwords so they can keep me
> secure! what's cool is that I cannot change it back to what I have! Hey,
> the chance of getting me hit by bus is higher than someone cracking my
> 15 letter password with numbers! Thank you powweb for keeping me secure.
>
> Thanks for reading my story,
> now, does someone know a better hosting alternative?
>
> Martin
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
--- End Message ---
--- Begin Message ---
Martin Zvarík wrote:
- my client stopped receiving orders, he called me after a week
something is wrong. I found out that Powweb changed a MySQL settings,
which nobody informed me about - they restricted a JOIN limit max to
3, the mysql_query SQL thus did not work and orders were not storing
for 7 days!
You are hosting a business website, that processes orders, on a shared
server?
That is very false economy.
You want a dedicated server that has only you as root.
Stephen
--- End Message ---
--- Begin Message ---
On Sat, Jan 24, 2009 at 10:03, Martin Zvarík <[email protected]> wrote:
> Hi,
>
> I currently host my site by Powweb, and I am WANT to change it - can you
> guys recommend me something good?
>
> Powweb's website looks awesome and it's the best marketing I think I had
> saw! After a minute it makes you think there is NO better hosting - and it's
> a LIE.
It's not necessarily a lie. The possibility always remains that
you were just on a "lemon" server --- one that may be experiencing
major technical difficulties, or which was not properly configured
from the get-go.
> What happened to me?
>
> - database connection were exceeded, I read many people had problems with
> their phorums not working etc., the solution: I put a message to the visitor
> that he has to wait (it was not frequent so I didn't care much)
This is a problem with a lot of hosts: maximizing profits by
overcrowding servers and overselling resources.
> - my client stopped receiving orders, he called me after a week something is
> wrong. I found out that Powweb changed a MySQL settings, which nobody
> informed me about - they restricted a JOIN limit max to 3, the mysql_query
> SQL thus did not work and orders were not storing for 7 days!
Changing settings like that should never be done without giving
folks advance notice, if even at all. That again comes down to
improper configuration, mismanagement, and overselling. However, if
you're sending advanced queries to the database, maybe you should
re-think your hosting solution: you should probably consider moving to
a dedicated server, if even just a budget server.
> - the suport is HORRIBLE - they don't give you email, but they have this
> ONLINE support, meaning: you wait 10-20 minutes on queue, and then they talk
> to you like a robots and usually tell you something you already know.
Here combines two major entities that can be compressed to a
singularity (a pun for those who enjoy physics): support availability
and proper server/network administration. Just like in programming
and web development - if you take the extra time to set things up
properly from the beginning, you can spend less time on bug fixes and
support, and more time focusing on advancing the script (or network).
> - now they automatically changed all my passwords so they can keep me
> secure! what's cool is that I cannot change it back to what I have! Hey, the
> chance of getting me hit by bus is higher than someone cracking my 15 letter
> password with numbers! Thank you powweb for keeping me secure.
It's Microsoftian Protection Tactics[TM] (MPT's) - protect the
users from themselves by treating them like technological toddlers.
"We appreciate the fact that you don't know what's good for you as
well as we do, so Big Brother will watch over you." Companies really
should only step in if the customer has asked for that assistance from
the beginning, or in dire emergencies (security breeches, etc.).
> Thanks for reading my story,
> now, does someone know a better hosting alternative?
Again, it sounds like you are technologically-apt and capable of
holding your own; with hints at multiple websites and financial
transactions taking place on at least one of them, you'd be
well-advised for security and availability purposes to look into
moving to a dedicated server. You'd have full control over it,
customizing it to meet your own needs, maximizing resource
availability to your sites, et cetera.
We sell shared hosting and dedicated servers (as well as
colocation services), and there are a few other companies that I would
also recommend based on their levels of service and support. You may
want to check them out:
http://www.liquidweb.com/
http://www.softlayer.com/
http://www.layeredtech.com/
http://www.fastservers.com/
Regardless of who you choose, or if you decide to stick with
PowWeb, best of luck. Don't let anyone else tell you how you should
run your websites.
--
</Daniel P. Brown>
[email protected] || [email protected]
http://www.parasane.net/ || http://www.pilotpig.net/
Unadvertised dedicated server deals, too low to print - email me to find out!
--- End Message ---
--- Begin Message ---
Hi,
If your a windows user, then ignore the text below.
Quantact.com are great. Great value, great support, I've been with them
for a few years now.
I guess the only downside is that while the bandwidth is great (both
quota and speed), and the hard drive access is fast, the memory usage is
usually much lower, although on the OpenVZ plans can burst up higher if
needed.
You get full root access (SSH), and I've installed Apache, PHP, MySQL,
Exim, and Mailman, and could do more if I wanted (FTP, DNS, SVN), except
I run most of the other services on other boxes.
The uptime is usually pretty great, although I've had two issues in
recent memory where something major has died (like the hard drive raid
array, or the motherboard), taking the server down for >1 hour, which
may not be acceptable if your doing financial transactions, but ask them
about the Xen hosting, which might have better data replication.
I know they have snapshot capabilities, although you need to stop the
server for a while to do that, so I just run a daily rsync onto a Linux
box at home. rSnapshot is great for that.
Running your own server may be a bit more work, but it's so much more
customisable. Don't have PERL? apt-get install it (assuming Debian or
Ubuntu), need to probe a server? Run nmap.
I have a script that emails me the compressed MySQL database, and also
have a PHP CLI script that I cronjob daily to send me the server stats,
membership details of various mailman mailing lists, amount of data
transferred, HDD space left, ram used, uptime, and current load, and all
sorts of things.
Michael Kubler
*G*rey *P*hoenix *P*roductions <http://www.greyphoenix.biz>
Daniel Brown wrote:
On Sat, Jan 24, 2009 at 10:03, Martin Zvarík <[email protected]> wrote:
Hi,
I currently host my site by Powweb, and I am WANT to change it - can you
guys recommend me something good?
Powweb's website looks awesome and it's the best marketing I think I had
saw! After a minute it makes you think there is NO better hosting - and it's
a LIE.
--- End Message ---
--- Begin Message ---
I should have said in the beginning it's a small website and I am not
looking for a dedicated server.
Howewer, I decided to move to Lypha.com
Thanks for all your fruitful* comments :)
Martin
PS: PHP mailgroup rulz
*) that was in dictionary
--- End Message ---