Php 5.3 Download

Рейтинг: 4.4/5.0 (1459 проголосовавших)

Категория: Windows: ASP, PHP, Perl, CGI


Anindya - s Blog - php-5

Posts Tagged ‘php-5.3.4’ PHP 5.3.4 x64 (64 Bit) for Windows

Posted on Wednesday, December 15, 2010 in Windows by Anindya

PHP 5.3.4 was released a few days ago (December 10, 2010). Last Sunday (December 12, 2010) while I was trying to compile some of the extensions that were requested in my previous post. I decided to check the php.net site to see if a new version of PHP was available and that’s when I saw that PHP 5.3.4 was out. I immediately stopped what I was doing and downloaded the PHP 5.3.4 source to compile it instead. I also decided to compile the requested extensions along with PHP 5.3.4. From the extensions that were requested, I was able to compile the snmp (php_snmp.dll), firebird 2.1 (php_interbase.dll and php_pdo_firebird.dll) and the pecl http 1.0.7 (php_http.dll) extensions. I have also compiled eAccelerator, APC 3.1.6 and Memcache 2.2.6 which I had previously compiled for PHP 5.3.3.

Anyway, as before, I have compiled both thread safe and non thread safe versions of PHP and the additional extensions. They were compiled with Visual C++ 2008 (VC 9) and can be used with my 64 bit Apache binaries .

VC9 x64 Thread Safe

Php 5.3 Download:

  • скачать
  • скачать
  • Другие статьи, обзоры программ, новости

    Install Apache PHP 5

    Which PHP 5.3.5 Version VC6 or VC9?

    When the Website Administrator first arrives at the Php Downloads page, he will be presented with an array of various suitable for Windows PHP builds to choose from. VC6, VC9, Thread Safe, Non Thread Safe? We will ask the questions so we know what these are and which combination to install. Regardless of your final choice, this tutorial will step you through the installation procedure for which ever pair you choose [note: version 5.3.5, is the last official release to offer both VC6 and VC9 Php compiled releases for download].

    The first question to resolve is "What is the difference between the VC6 and the VC9 downloads?" And your answer would be of little consequence in that the VC number is just a technical reference as to which version of Visual c++ was used to compile your PHP install package into it's final distributive state. However. the different pre-compiled HTTP Server Software for Windows (apache, iis) have been compiled using different c++ compilers. This then introduces differing technical requirements and creates the need to have the two separate compiler versions of Php available for download.

    So this number does identify which version you need to download to be applicable to your server type. i.e. iis or apache? They are not technically interchangeable and may require you to install a compatible runtime library to be properly functional if you plan to install Php for Microsoft's iis server (More data regarding VC9 and Apache has been introduced in our 5.3.6 guide).

    The readily available PHP Windows VC versions offered for download are both 32bit.

    VC9 builds are for the Microsoft IIS Server .

    VC9 downloads also require that one of the following suitable Microsoft C++ Runtime Libraries are installed for the operating system, either;

    • x86 [32bit] (vcredist_x86.exe) or
    • x64 [64bit] (vcredist_x64.exe).

    If you install PHP using the .msi installer method, the correct library files will be installed automatically for you. The .zip packages include an .msi installer which needs to be manually started to ensure these required files are installed on your system.

    There is an experimental VC9 x64 listed in the downloads page pulldown-list of downloads which is currently being tested, but is not production ready and therefore is not a general public release at this time. Bear in mind that if you do wish to use it, you may need to re-write or patch your code should it be officially released. View our resources page for VC8 x64 and VC9 x64 here if you require this download.

    VC6 builds are for the Apache HTTP Server

    The VC6 downloads require no further downloads for Runtime Library Support and are good to go as soon as you download the file. VC6 builds are for Apache or other third party Microsoft Windows compatible software (and/or extensions) that have not been compiled using Microsoft's VC9 compiler. It is of no current concern that official PHP VC6 support is due to conclude with the 5.3.x version releases [ note dated: Jan 2010 ].

    As this guide expands on our Apache 2.2 .msi installation on Windows, we will download the recommended VC6 build for our HTTP server and avoid any possibility of backward incompatibilities or library conflicts.

    (Some of you on this page might not know that Unix or Linux is vastly more stable and more powerful than Windows. Apache is a gateway into this powerful setup. If you have not done so recently, you should review how easy it is to install, setup and use a desktop system running a free version of Linux at some point in the near future.)

    PHP 5.3.5 Thread Safe or Non-Thread Safe?

    PHP 5.3.5 is available for download in either Thread Safe or Non-Thread Safe packages. This "what is?" question is generally second on the list for those about to download this server-side scripting software.

    Thread Safe Vs Non-Thread Safe is the subject of programming for mulitcore and multiprocessor systems where we can slice up one instruction into multi instructions. Each of these new slices is called a thread of execution that can execute concurrently. Thus they thrive in, and offer vastly superior processing speed under suitable anarchistic environments.

    However, depending on the skill (and I.Q.) of the coder, situations can arise. So, with speed as the sacrifice, thread safety seeks to reign in the anarchy to avoid situations such as Race Conditions (where different threads try to update the same global variable at the same time), Deadlock, Starvation etc. Most operating systems follow the Portable Operating System Interface for Unix (POSIX) standards which includes the subject of threading.

    Yes, but which thread type should we download?

    If you are using or wish to use PHP as an Apache Module under Windows, the only available option is the PHP Thread Safe download which technically speaking is also the correct choice. You would also ensure your chain of dependant programs and binaries you have Php use are threadsafe too by checking the appropriate documentation or forum boards for those programs or binaries. In this scenario, Apache will provide the correct MPM for threadsafety (more information is in our Apache 2.2.17 guide if needed).

    If using PHP independently to run your CGI requests from Apache, both Thread Safe and Non-Thread Safe options are available.

    So the final decision will be based on how you wish to setup your website. You may wish to review the differences between module and cgi set ups (appears later in the guide) before making a choice.

    And another factor is that setting up a system to test your scripts before uploading them to a different web site can influence your installation decision. It is recommended you use the same setup found on that server. But how can you know what PHP Thread type your server is using? A simple and easy way to do this is to use a simple script like the phpinfo.php script which can be found in the article Which is my Website, Apache Mod PHP or Apache CGI?. The resulting information will let you know if Thread Safety is enabled or disabled on that site. If disabled, use the NTS version. Of course, this script will only work if PHP is already setup for use on that server (and that your server's php.ini has not been modified to disallow the viewing of it's config. data).

    Verifying which ThreadSafety mode is in use with PHP info.

    And so we find that ThreadSafe is used mostly for those using PHP 5.3.5 as an Apache module and NonThreadSafe for those running PHP 5.3.5 as Apache CGI

    If you are free to choose which ever type you like, and are still unsure as to which is the best for your use, you may want to review the information found in the section named Apache CGI Vs Module (pg4) and is linked in our Install Guide Index .

    Download the software:

    An advantage of using the .msi installer method to configure PHP 5.3.5 is that it does a beautiful job of updating all php.ini settings as well as installing any run-time library files we might be missing. And depending on your final setup selection, you may not even need to edit the apache config file either. Best of all, we can restart the installer at any time to amend or expand on our installation (The .msi installer can also be simply configured to roll-out an install of php silently onto one or more computers). Also, because the PHP .msi installer is so effective in writing the php.ini, we are going to ignore the zip file download. The .zip file does not allow us the luxury of ignoring the php.ini file.

    To get your Thread Safe or Non-Thread Safe Windows php 5.3.5 installer software, it is best to go the source website. Selecting either link will open a new window or tab and will take you to the exact spot on the downloads page where you will be able to select the current version you require. The .msi files are simply called installer.

    (Note: These links are for achived php releases, if you want to download the newest release, use our newest guide - see Later Guide Versions list in the right hand column or use the list at the very top of this page. )

    Or search the achives your self for the corect .msi file to download:

    • official php website download: Thread Safe Section for the PHP 5.3.5 version (php-5.3.5-Win32-VC6-x86.msi ).
    • official php website download: Non Thread Safe Section for the PHP 5.3.5 version (php-5.3.5-nts-Win32-VC6-x86.msi ).

    In the next page of this PHP tutorial, the website administrator begins the software installation part of the journey and learns how to successfully setup and install the PHP Hypertext Preprocessor files using the windows install so as PHP 5.3.5 will be correctly integrated with Apache 2.2 on a Microsoft Operating System.

    After the install file is downloaded, you can continue with this instructional tutorial.

    Php 5.3 download

    phpMyAdmin Bringing MySQL to the web

    Many operating systems already include a phpMyAdmin package and will automatically keep it updated, however these versions are sometimes slightly outdated and therefore may be missing the latest features. Additionally, the configuration process varies widely by package and may not adhere to the official phpMyAdmin documentation. That being said, it is usually the quickest way to an updated installation. Please contact your OS vendor for more information. Some additional information is also available in our documentation. If you just want to try phpMyAdmin in a virtual machine, you might want to check the available software appliances which provide phpMyAdmin.

    If you do not find a suitable package or wish to install your own phpMyAdmin, you can download one of the following kits. Please note that each version has requirements for the minimum PHP and MySQL versions.

    Since July 2015 all phpMyAdmin releases are cryptographically signed by the releasing developer. You should verify that the signature matches the archive you have downloaded. Verification instructions are placed in our documentation in the Verifying phpMyAdmin releases chapter.

    How to Install PHP 5

    How to Install PHP 5.3 on Windows

    With all the excitement surrounding Firefox 3.5. it may have escaped your attention that PHP 5.3 has also been released. This is the most significant update since version 5.0 and several features that were originally scheduled for version 6.0 have been slipped into the build. You’ll be hearing about these on SitePoint soon but, first, we need to install PHP 5.3 on our Windows development systems.

    A Word of Warning…

    PHP 5.3 is new and you may experience some problems (see below ). If you already have a stable PHP environment, ensure you keep a backup of your current php folder and settings.

    Web Server Installation

    If you have not installed Apache, refer to How to Install Apache Web Server on Windows . Optionally, you can also install the MySQL database — refer to How to Install MySQL .

    PHP 5.3 Installation

    Windows PHP distributions are now available from a dedicated microsite at http://windows.php.net/download/. The choice is a little bewildering and the instructions are vague but, since we will be installing PHP as an Apache 2.2 module using the Apache Lounge build. so you should download the VC9 x86 Thread Safe Zip file.

    General note:

    Download the VC6 builds if you are using the standard Apache.org web server. The VC9 builds should be used for the Apache Lounge binaries or IIS.

    A Thread Safe version should be used if you install PHP as an Apache module. The Non Thread Safe version should be used if you install PHP as a CGI binary.

    You can now follow the instructions at How to Install PHP on Windows from step 2 onwards. Note that, in step 3, php.ini-recommended is now named php.ini-development ; you still need make a copy and rename it php.ini .

    If you have previously defined a working PHP configuration file, a tool such as WinMerge can help you compare and copy existing values to your new php.ini file.

    PHP 5.3 Error Reporting

    The first time you load your previously bug-free PHP application, you are likely to be confronted by reams of long-winded error messages. Don’t panic! PHP 5.3 introduces a number of new error directives which are enabled by default in the development php.ini configuration:

    • E_STRICT suggests improvements that ensure best interoperability and forward compatibility of your code, and
    • E_DEPRECATED warns you about code that will not work in future versions of PHP.

    Very useful. In my experience, the majority of messages report that a time zone has not been defined and assigning a return values using new by reference is deprecated.

    Unfortunately, applications can display so many minor errors they become impossible to use. You can disable the new error directives by setting the error_reporting value to "E_ALL &

    E_DEPRECATED" on line 514 of php.ini and restarting Apache.

    However, several web applications, including WordPress, define their own error_reporting settings and may continue to show messages. It will take a developers some time to upgrade their applications to full PHP 5.3 compatibility.

    Have you installed PHP 5.3 successfully? Have you experienced any major issues or problems with existing code?

    Php_ for PHP 5

    There are compiled extension available from http://downloads.php.net/pierre/

    Amongst those, you'll find :

    • php_memcache-cvs-20090703-5.3-VC6-x86.zip (2009-07-03 05:30 -0700)
    • php_memcache-cvs-20090703-5.3-VC9-x64.zip (2009-07-03 05:45 -0700)
    • php_memcache-cvs-20090703-5.3-VC9-x86.zip (2009-07-03 06:11 -0700)
    • php_memcache-cvs-20090703-5.3-nts-VC6-x86.zip (2009-07-03 05:29 -0700)
    • php_memcache-cvs-20090703-5.3-nts-VC9-x64.zip (2009-07-03 05:35 -0700)
    • php_memcache-cvs-20090703-5.3-nts-VC9-x86.zip (2009-07-03 06:07 -0700)

    Depending on the version of PHP 5.3 you are using, one of those might do ;-)

    If you don't know which one you should choose, take a look at the "Which version do I choose?" block on the left of http://windows.php.net/ (quoting) :

    If you are using PHP with Apache 1 or Apache2 from apache.org you need to use the VC6 versions of PHP

    If you are using PHP with IIS you should use the VC9 versions of PHP

    VC6 Versions are compiled with the legacy Visual Studio 6 compiler

    VC9 Versions are compiled with the Visual Studio 2008 compiler and have improvements in performance and stability. The VC9 versions require you to have the Microsoft 2008 C++ Runtime (x86) or the Microsoft 2008 C++ Runtime (x64) installed

    Do NOT use VC9 version with apache.org binaries

    Download PHP 5

    Download PHP 5.3.1 Antivirus information.

    We did not scan PHP 5.3.1 for viruses, adware, spyware or other type of malware. For your own protection it's recommended to have an updated antivirus installed on your computer when downloading and installing programs from freedownload123.

    freedownload123 lists downloads from various software publishers, so if you have a question regarding a particular software contact the publisher directly. The download links for PHP 5.3.1 are provided to you by freedownload123 without any warranties, representations or gurantees of any kind, so download at your own risk.


    The MySQL and PostgreSQL databasesThe PDFLib PDF libraryThe cURL library for various communications protocolsThe GD image creation library (with PNG, JPEG, PostScript Type 1 and TrueType font options).The expat XML parser and WDDX supportXSLT transformationsLDAP accessThe IMAP client libraryFTP client accessExif digital camera image metadata supportTransparent session id propagation (--enable-trans-sid) optionMcrypt encryption functionsSockets extension (experimental!)iODBC database supportXML-RPC support (back in after I had to remove it in a previous release)mhash supportGNU gettextXML-DOMPEARCLI Version

    Установка и настройка PHP 5: редактирование

    Установка PHP 5.3.10

    Статья описывает процесс установки и первоначальной настройки на локальном компьютере, работающим под операционной системой Windows XP, прекрасно зарекомендовавшей себя связки программ, используемых при создании, как крупных, так и средних веб-проектов: Apache, MySQL, PHP и phpMyAdmin.


    Сайт разработчика: http://www.php.net/

    Дистрибутив (VC9 x86 Thread Safe, Zip архив): http://windows.php.net/download/

    Заодно скачайте сразу и документацию на русском языке в формате .chm, она вам понадобится при изучении и работе: php_enhanced_ru.chm

    Распакуйте архив в желаемый каталог (изначально предлагается "C:\php"). Откройте конфигурационный файл содержащий рекомендуемые настройки - "php.ini-development" (находящийся в корне дистрибутива), переименуйте его в php.ini и произведите следующие изменения.

    Редакция php.ini:
    1. Найдите строку:

    post_max_size = 8M

    Увеличьте до 16 Мбайт максимальный размер данных принимаемых методом POST, изменив ее на:

    post_max_size = 16M
  • Найдите строку:

    ;include_path = ".;c:\php\includes"

    Раскомментируйте ее, убрав перед строкой символ точки с запятой.

    (Внимание исключение! Обратные косые черты при указании пути):

    include_path = ".;c:\php\includes"

    Создайте пустой каталог "C:\php\includes", для хранения подключаемых классов.
  • Найдите строку:

    extension_dir = "./"

    Установите значением данной директивы путь к папке с расширениями:

    extension_dir = "C:/php/ext"
  • Найдите строку:

    ;upload_tmp_dir =

    Раскомментируйте ее и укажите в значении следующий путь:

    upload_tmp_dir = "C:/php/upload"

    Создайте пустую папку "C:\php\upload", для хранения временных файлов загружаемых через HTTP.
  • Найдите строку:

    upload_max_filesize = 2M

    Увеличьте максимально допустимый размер загружаемых файлов до 16 Мбайт:

    upload_max_filesize = 16M
  • Подключите, расскомментировав, данные библиотеки расширений:






  • Найдите строку:

    ;date.timezone =

    Раскомментируйте и установите значением часовой пояс вашего местоположения (список часовых поясов можно найти в документации ):

    date.timezone = "Europe/Moscow"
  • Найдите строку:

    ;session.save_path = "/tmp"

    Раскомментируйте и установите значением данной директивы такой путь:

    session.save_path = "C:/php/tmp"

    Создайте пустую папку "C:\php\tmp" для хранения временных файлов сессий.

  • Сохраните изменения и закройте файл php.ini.

    Далее необходимо добавить каталог с установленным PHP интерпретатором в PATH операционной системы. Для чего пройдите по пути "Start" ("Пуск") -> "Control Panel" ("Панель управления") -> "System" ("Система"), откройте вкладку "Advanced" ("Дополнительно"), нажмите кнопку "Environment Variables" ("Переменные среды"), в разделе "System Variables" ("Системные переменные") сделайте двойной щелчок на строке "Path", добавьте в поле "Variable Value" ("Значение переменной"), к тому что там уже существует, путь к каталогу с установленным PHP, например, "C:\php" (без кавычек). Обратите внимание на то что символ точки с запятой разделяет пути. Чтобы внесенные изменения вступили в силу, перезагрузите операционную систему.

    Пример строки Path:

    %SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;C:\php;C:\Program Files\MySQL\MySQL Server 5.5\bin

    Установка и настройка PHP интерпретатора – завершена.

    Описание подключаемых библиотек:

    php_bz2.dll – С помощью данного расширения PHP сможет создавать и распаковывать архивы в формате bzip2.

    php_curl.dll – Очень важная и нужная библиотека, позволяющая соединяться и работать с серверами, с помощью огромного количества интернет-протоколов.

    php_gd2.dll – Ещё одна незаменимая библиотека, позволяющая работать с графикой. Вы думали на PHP можно только HTML странички генерировать? А вот и нет! С помощью PHP можно почти всё, в том числе и рисовать.

    php_mbstring.dll – Библиотека содержит функции для работы с много-байтными кодировками, к которым относятся кодировки восточных языков (японский, китайский, корейский), Юникод (UTF-8) и другие.

    php_mysql.dll – Имя библиотеки говорит само за себя - она необходима для работы с сервером MySQL.

    php_mysqli.dll – Данная библиотека является расширением предыдущей и содержит дополнительные функции PHP для работы с сервером MySQL версии 4.1.3 и выше.

    Данных библиотек должно хватить для полноценной работы PHP. Со временем, если появится такая необходимость, вы сможете подключить дополнительные библиотеки, но не стоит подключать их все сразу с мыслью, что кашу маслом не испортишь, в данном случае излишнее количество подключенных библиотек может заметно замедлить работу PHP.

    Обновление DENWER до php 5

    Обновление DENWER до php 5.4

    15 апреля 2014 г. Просмотров: 4982 RSS 2

    Работа с серверами

    В комплекте поставки вебсервера DENWER идет урезанная версия php 5.3 в комплект которой входят только основные модули. Зачастую этого не достаточно.

    Для обновления модулей php необходимо перейти на страницу http://windows.php.net/download/ и скачать потокобезопасную (thread safe) сборку php 5.4. В нашем случае скачался файл php-5.4.27-Win32-VC9-x86.zip.

    Теперь переходим в каталог, в который был установлен DENWR. Далее в паку usr, потом local, в которой есть каталог php5. В этом каталоге находятся бинарные файлы php.

    Их необходимо удалить, и скопировать туда файлы из скачанного архива. По завершению этой операции необходимо перезапустить denwer.

    После успешного перезапуска функция phpinfo() покажет следующий результат:

    В архиве нет файла php.ini, зато есть два других php.ini-development и php.ini-production. Любой из них можно переименовать в php.ini и еще необходимо проверить, что бы была расскомментирована директива extension_dir = "ext" иначе, будут проблемы с подключаемыми библиотеками.