0

I've been using PHP-5.4.3 for about a month now, and today, I decided to make a switch to PHP-5.5.5, I downloaded the source code, and placed it in C:/php (also renaming the folder php-5.5.5 to php) and I added server variables, as usual C:/php/ <-- but here I got stuck. Because, usually I appended the php.exe at the end, which was found inside the PHP folder so, I could be able to access PHP from the command line, or start the built-in server, but now, I can't find this file, and I can't find a way to start the server from the command line either.

Anyone help.

1 Answer 1

1

The php-5.5.5.tar.bz2 file contains source code that needs to be compiled to binaries before you can use it. Since you are using Windows, why not download the binary packages provided by PHP?

From the release announcement (emphasis mine):

PHP 5.5.5 has been released

16-Oct-2013

The PHP development team announces the immediate availability of PHP 5.5.5. This release fixes about twenty bugs against PHP 5.5.4, some of them regarding the build system. All PHP users are encouraged to upgrade to this new version.

For source downloads of PHP 5.5.5 please visit our downloads page, Windows binaries can be found on windows.php.net/download/. The list of changes is recorded in the ChangeLog.

See also http://php.net/windows for installation instructions.

8
  • I have donwloaded this package. I just don't know what to do with it. How do I run it, and how can I make it accessible from the terminal? Commented Oct 19, 2013 at 21:56
  • @Simon_eQ Terminal? What OS are you using? A Linux distribution? Or Windows? Try to read the manual pages on installation. Commented Oct 20, 2013 at 8:43
  • I am using windows. I downloaded just about everything, but I can't seem to start even the built-in php server. If you have any idea, pls help Commented Oct 20, 2013 at 9:10
  • @Simon_eQ php.net/manual/en/install.windows.manual.php Commented Oct 20, 2013 at 9:24
  • Yea, those are the instructions I followed, but I can't get somehow, what is wrong Commented Oct 20, 2013 at 9:46