PHP/Apache Questions - php

I am a beginner web developer looking to create a website using PHP, MySQl, and Apache. Windows 10 is downloaded on my laptop. Which version of PHP and which version of Apache should I download? I already have MySQL installed. Any advice would be greatly appreciated!

I will suggest you use WampServer.
WampServer is a Windows web development environment. It allows you to
create web applications with Apache2, PHP and a MySQL database.
Alongside, PhpMyAdmin allows you to manage easily your databases.
Pls download from official site.

Related

PHP development without xampp

I have machine on which I lack admin privileges. I was not able to install xampp server on it. So I tried portable version of xampp. But I was getting error while starting Apache server and MySQL. The log file is not getting created.
Also many tutorials online use NetBeans which is also I am not able to install due lack of admin privileges.
I have postgres and apache tomcat working on my machine, which I used for Java Spring development. I also have eclipse installed on my machine. So I was thinking if I can manually configure eclipse, postgres, tomcat to develop php without installing xampp or netbeans.
Is it possible? If yes how do I do it? Is there any tutorial / link / webpage explaining the same?
If you can install jetbrains PhpStorm it has a built in server but due to lack of privileges i think it is not posiible though, so here are two links i have for you, hope you will able to find an answer..
https://www.eclipse.org/articles/article.php?file=Article-EclipseDbWebapps/index.html
https://www.enterprisedb.com/postgres-tutorials/how-connect-postgres-database-using-eclipse-and-netbeans
if you use php framework like laravel, cakephp etc.
Those have own development server to run application.
and for the database you can use sqlite database.
that not require xampp server

How can I Configure two servers (IIS and WAMP) in same system

In my system I have configured IIS 7.0 for hosting asp.net website. Now I want work also in PHP. So for that I have installed WAMP server in my same machine. But when Iam trying to access the PHP code it is reading only IIS. Do anyone has solution for this? Or can we host/deploy PHP code in IIS?
do not use IIS and WAMP at same time
instead use PHP Manager for IIS
It can be easily downloaded and installed by 'web platform Installer'
Download Web Platform installer
here

is it posible php and asp.net share the same server?

I have have installed a software that came along with an ASP.NET
hosted in UltiDev Web Server Explorer a web application manager, its
database is .mdb, and I want to add some pages to it using PHP for an
additional features. And UltiDev can run only asp.net and I have no
time for now to study ASP. is there any other web application manager
that can run php and ISS together sharing the same .mdb database? I am
not interested in IIS right now.
yes you can run PHP server on IIS but reverse is not so easy.
Goto this link and install this web platform installer. then you can access and manage your PHP files
http://php.iis.net/
you can easily manager like Apache server
You can install PHP to run alongside an IIS installation with the Microsoft WebMatrix tool.
http://www.microsoft.com/web/webmatrix/
On a sidenote, Helicon has a selection of PHP/Ruby/etc applications that can be easily deployed to an IIS installation via WebMatrix.
http://www.helicontech.com/zoo/gallery/

installing Wordpress on live Windows server?

We have a web server which already has some asp.net web applications running on it. Recently management has decided to convert our website to WordPress so I need to install Wordpress on Windows web server.
I am not a WordPress guy, can you please guide me what things I will need to install and what would be easiest way for that. I m wondering do I need to install MYSQL, Php, Apachi along with Wordpress ? How you see using MS Web Matrix to do word press installation on server which already has some live applications.
I highly appreciate your time, help and guidance.
Try WampServer
It is an open source development stack for Windows that includes Apache, MySQL, and PHP.

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.

Categories