Can i have PHP folder only from XAMPP 1.7.4? - php

I am currently using:
- Windows XP
- XAMPP 1.6.8 with (PHP 5.2.6)
I just want to upgrade PHP from XAMPP.
So i just want to download "php" folder only and i don't want the whole bundle.
It is huge to download (My connection speed is so slow).
Where can i get like that?
(or) Can anyone please upload the zipped?
Note: I've tested with the native PHP (extracted from php-5.3.5-Win32-VC6-x86.zip) from http://windows.php.net/downloads/releases/archives
But didn't work out!
That's why i wanna test with the PHP inside XAMPP.

I have WAMP on XP, when i tried to install the new PHP only it installed perfectly but the WAMP did not started :(
So i'll advice you to go for the full bundle !

You can take the whole bundle through your Friend also, if ur net sped is slow hmmmmm

Related

Update PHP version on Windows 10 not using XAMPP etc

I currently have PHP installed on Windows 10 via AMPPS which seems to have stopped being updated. The latest version of PHP available from the AMPPS GUI is 7.1.
I want the latest version of PHP, but it is very hard to find out how to get it. I have found this page: https://windows.php.net/download/ but there doesn't seem to an any installer or suchlike, and I have no idea which option to download or what to do once I've downloaded it.
Isn't there some simple way to do this? I have composer installed if that helps.
Maybe something like composer upadte-php from powershell or something equally simple and user-friendly? Or maybe php --update.
If not, could someone please explain the process in simple steps. I certainly need the new version in my system path too.

Running PHP and MySQL with XAMPP in Ubuntu (laravel)

I'm quite new to Linux and still trying to adapt my self. I've setup my working environment all good, installed XAMPP, node, sublime, etc. But when I tried running a laravel app, the first thing that caught me was I couldn't run php.
I was confused because i had already installed XAMPP (which i thought would've done it all for me), but then I simply created a symlink in my /usr/bin to the /opt/lampp/bin/php and it all worked well (I'm not sure if that was all correct, but it worked).
Then when I tried opening the app in my browser, it couldn't find the sql driver, so I asked my self, what exactly am I doing wrong? XAMPP should have taken care of all those things (as its name suggests), but it didn't setup php and mysql as i thought it would.
Am I missing something here? Should I install MySQL driver and PHP apart from XAMPP? Because that makes no sense at all for me. I really need some basic guidance here about this whole thing, what makes it so different from Windows where I simply install XAMPP and start programming?
I need to understand that so I can have a better understanding of the system it self and fix these kind of problems my self in the future.
PS: I'm using Ubuntu 16.04 and instaled XAMPP with PHP 7.0, downloaded from official website.
Thanks everyone!
I never used xampp on linux myself so i dont know how does it work here but I can tell you what really got me good start at understanding of linux was installing whole LAMP stack myself. So i would recommend googling 'How To Install LAMP' and try to figure it out from countless tutorials.
Basically you install apache, then mysql and php, restart server and check if 'It works'.
try two things
In the folder /etc/php/php.ini
uncheck the line extension=pdo_mysql.so
or in the folder of lampp (/opt/lampp/etc/php.ini)
And to start Laravel you need start with ~/php artisan serve
in the browser localhost:8000

How to install php on windows 8.1 64-bit?

After studying html, css and Javascipt i have decided to study php.
But when i tried to do the first hello world example i found that its not working
<?php
echo "hello World";
?>
it shows like this:
After exploring a lot i found that i need to install php before studying it.
I explore a lot and couldn't find any sutable php for my windows 8.1 (64-bit).
I even installed xampp.
But failure
Please some one provide me link to download php for windows 8.1 (64-bit) and please guide me how can to install php and run it.
You should put your php files in c:/xampp/htdocs folder.
Then open your xampp control panel.
start apache and mysql application.
then open your browser goto http://localhost/yourphpfile.php.
Then you will get the output.
I think you should be following a good tutorial to learn php though.
Install Xampp on your windows
Open control panel of xampp
Run apache and Mysql
Inside the folder htdocs in C:\xampp create a new folder for your php work
Create Index.php file as the main file
Go to your favorite browser and search localhost/after the slash add your folders name so that you can go to that folder

Getting familiar with XAMPP

Iam not able to get familiar with XAMPP interface on Windows7 (Only prior experiencxe is with HTML,C,C++).
How to proceed to begin development work in PHP and MySQL and test developed contents using Apache Server.
Please help to understand its working flow.
Thanks in Advance.
First, find a good PHP book or tutorial to learn PHP. There are plenty out there, just Google or visit the PHP homepage.
As you follow the book or tutorial, save your .php files in the XAMPP htdocs folder. This will let you view your results using the XAMPP web server. For example, if you write a PHP script called test.php and save it in the htdocs folder, you can access it on your local XAMPP server via http://localhost/test.php.
XAMPP includes phpMyAdmin, which lets you manage the included MySQL database. You can learn more about phpMyAdmin here.
Be sure to read the XAMPP documentation so that you know how to start up Apache and MySQL and access phpMyAdmin.
XAMPP is only a service that provides a webserver, server side language (PHP), database and interface to connect to said interface. Once it is installed you are good to go, all you need to do is turn on Apache, then MySQL. All the rest of the installation requirements should be done automatically upon installation.
Maybe it is better to explain your particular issue...
I was beginning from Denwer. It was very easy to begin with him. He includes php, mysql, apache.
http://www.denwer.ru
You have to run the Apache server for php and the MySQL server for MySQL :D. You can run it by starting the XAMPP Control and than run them. Now you can go to the localhost http://localhost/
There are some instructions.
I hope it is useful.
Marcel
Do you really need XAMPP? Sumit, I also have Win7/x64 on one machine, where I installed
Apache 2.2.16 for 32bit Windows
PHP 5.3.2 (x32 Windows VC6 install binary)
Perl 5.12.1 32bit x86 from Activestate
MySQL 5.1 32bit x86 Windows installer)
I installed all-32-bit stuff (even if on 64bit Windows) because that guarantees you a much simpler life. You can handle or maintain every component individually, for including PHP or Perl into Apache, you just change a line or two in the Apache config file. There's no magic at all with all these programs. Install them by yourself and learn a lot in the process.

How to work with PHP on Windows XP?

I want to do a sample program in PHP on Windows XP.
Do I need any special software to get this to work?
I am afraid that I simply open notepad type the PHP program and save it with php extension. Then I open it with the browser as a HTML file. But it does not work.
Please help
Thanks in advance
However you decide to install a webserver and php (or just php and use it in the console like someone mentioned):
Check out the PHP Manual, especially the Getting Started section.
Apache (Very, very easy)
Check out the WampServer getting started presentation.
Download and install WampServer.
And you are ready to go.
Microsoft (Not tested this myself)
Check out PHP on Windows.
Download and install the Microsoft Web Platform Installer.
Let me know how that work out... (never tried it myself, since WampServer is so easy)
You need to have a web server with PHP installed on your PC to make this work.
I highly recommend installing wampserver on your computer. It is a Windows installer that will put PHP, MySQL and Apache in your computer and let you manage all the services and such very easily. If you have problems getting it to work, you can also try out XAMPP, although I've never used it myself.
Some answers containing the hint for using wamp.
You should better use the Zend Server Community Edition.
This is also free and can be downloaded here:
http://www.zend.com/de/community/zend-server-ce
This contains Apache, Mysql, PHP and some Zend related Tools.
Benefit: its much better preconfigured than wamp.
Another easy one to set up (though it takes extra config to support PHP5) is easyPHP
you can simply install PHP, and then run the program and redirect the output
php foo.php > output.html
and then use any browser to open up that html file.
Since you have IIS on the windows cd I would suggest you go to control panel, install/uninstall programs and click on windows components and install IIS. Then install ASP.NET 3.5 from www.asp.net and finally install Phalanger from http://www.php-compiler.net/
That will give you the benefit of both worlds, you can program in ASP.NET using PHP as the language, you can use only PHP if you prefer that or you can mix using ASP.NET/C# on some pages and PHP on other pages within the same application.
I use XAMPP, works out of the box with his installer and is more than enough for a simple developer windows environment.
The simplest way - use www.microsoft.com/web platform installer. get the whole stack to run PHP all from one place.
i would like to share that before starting PHP we have to set environment for that and then we can start working with PHP.
http://code.freefeast.info/php-tutorials/setting-up-the-environment-for-php-php-tutorial/

Categories