Support » Installing WordPress » install problem under php 5.0.4: is_email function incorrectly returns false

  • Have installed WordPress many times under Apache 1.3 and PHP 4.x. Am now trying first install with new ISP using Apache 2 and PHP 5.0.4.

    http://72.3.228.58/phpinfo.php

    The install dies when trying to continue to the second step with the following error:

    “ERROR: the e-mail address isn’t correct”

    I figured out that this message comes from the is_email function, and implies that the contents of this field don’t match the basic pattern (something@something.something).

    But of course any email address I enter DOES match this pattern. And I added a line to step 2 that echos back $admin_email right before calling the function, so it appears to be testing the correct data.

    I pulled out the is_email function into a page of its own and tested it on my dev server (Apache 1.3, PHP 4) and it works as it should. Upload it to the production server and it fails.

    Are there any known problems with PHP 5.0.4 and installing WordPress? Are there any PHP5 config settings that could be influencing this? Can anyone running the same version of PHP confirm a successful install?

    Note that for fun I commented out the call to is_email and the install then failed in a different way, so this “feels” like a big-picture issue, but I thought I’d seek advice before proceeding further.

    Thanks for any insights!

    Addendum: the above issue was with the current release version (1.5.2) but I just also tested the 9-15-05 nightly build and it exhibits the same problem — and since the is_email function hasn’t changed, I guess that’s no surprise.

  • The topic ‘install problem under php 5.0.4: is_email function incorrectly returns false’ is closed to new replies.