Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I just started learning PHP through online videos, I have also installed notepad ++ but I am not able to installed XAMPP due to security concern as I am using the company-provided laptop,
is there any way to do practice and run my PHP program without install XAMPP
First of all, PHP is a standalone program:
PS C:\> php -r 'echo PHP_VERSION;'
7.4.5
XAMPP is just a third-party package that bundles together several famous programs written by other people. You can always get any of those programs (PHP included) from each of the official web sites.
If you mean you want to use PHP to build web applications but you aren't allowed to install a web server, you may have a couple of options:
Use PHP builtin server
Find out if your Windows edition includes IIS
If you mean that you aren't allowed to run any kind of third-party software, you're out of luck: PHP itself is software and it's third-party.
In any case: if your company is asking your to learn PHP, they should provide you with the necessary tools. If you're doing it on your own, know you're probably violating company rules anyway.
You need to have a local installed webserver. With XAMPP on your device you just have a nice tool for learning. Running a productive Application with critical data on it, would be not smart.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
I am working with a PHP web application that has a MS SQL back end. The development copy is hosted on a Windows server.
There will be a few developers joining me on the project, and I need some sort of source control so that (obviously) we don't over-write each other's work. But since a PHP/SQL project has to be run from the server, we can't each work with local copies and then push the updates to the server...we all have to be working on the server itself.
So I have three questions:
My initial thought was a simple check-in, check-out system, which should be ok for our small team of 3-4 programmers. So, what is (currently) a good program for that?
I also thought about each developer having his own folder in the wwwroot folder, his own full copy of the program, then pushing updates to a master copy, also on the same server. Is there a good program for doing that (file merging and conflict management)?
Which method do you think would be better?
Run servers all your local machines. There’s lots of ways of doing this. If you’re using Laravel, it has a server built in php artsian serve. PHP 7 also has its own server built in.
Use a version control system like Git. You can learn here
Do this as soon as you can!
Sadly however, this question is not a suitable Stack Overflow question, so will be likely be closed soon. Good luck!
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 6 years ago.
Improve this question
I want to develop a webpage and have it connected to SQL server to transport data in and out. I am certain that I will have to use PHP. The question is, do I need a specific platform for PHP or it can be done on any text edit like HTML,JAVA etc.
thanks
Rajat
You seem like quite a beginner, so I'll give you somewhere to start.
What do we need?
A webserver (Local or hosted somewhere)
A platform to receive and process HTTP requests - E.g. Apache / Nginx / etc
A web processing language - PHP / Django / etc
A SQL server e.g. MySQL
What should you do?
Download WAMPSERVER on your PC and learn the basics of how this all works. Your site won't be instantly viewable online, but you can learn how to code and you can deal with a local MySQL database with an apache and php backend.
You have to install wampserver for database setup and Netbeans IDE for editing the PHP code. Netbeans also helped If you are using java. You have to install JDK first for installing netbeans. If you don't want to install netbeans, SublimeText is best editor for PHP.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I just started a project in a company, they had it hosted on Google App Engine and the app was developed in Java. The thing is that this code was totally unreadable. So I've came to the conclusion that the best solution would be start it all over.
Because it is a Facebook App, one approach would be to stop using Java and start using their available PHP SDK. But, Google App Engine still doesn't work well with PHP, we can't install Frameworks like Yii without workarounds, etc.
So I think the best solution would be change the place that we are hosting the application. It needs to be a host for scalable PHP applications.
I've researched a little bit and found people talking about Pagoda and appfog.
Do you have any suggestions? What is the best solution considering: price, efficiency and also it needs to be easy to use. I don't have a lot of experiences managing servers, I usually have someone on the company that takes care of all of that for me.
My best advice would be to choose a standard Cloud provider like DigitalOcean, VPS.net or AWS. You get full access to the server to configure and install anything you like, and they often come with pre-built server images with PHP/MySQL/Apache already configured and ready to use.
Heroku has PHP support to https://devcenter.heroku.com/articles/getting-started-with-php and it's ideal for FB apps https://devcenter.heroku.com/articles/facebook
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I've developed an open source application in php and mysql. I'd like to give it to the end user to install on their computer and use from their browser without me having to host it for them. But the end users are non-developers so they're unlikely to have what it takes to run the application (php-apache local environment like a developer would) and I don't have the time right now to invest in learning the Windows or Mac SDKs to make a real windows or Mac application. Also most of those interested in it are friends or their friends.
The solution I'm considering is to package apache/mysql/php with the php app itself, and have the installer install them so the app could run from inside the www/htdocs folder. It's like an app that comes with its own server to run it.
Has anyone done this sort of thing before?
Do I need to build apache/php/mysql from source on windows to do this, or can I somehow use existing windows binaries and have my installer just install them and position my app in the right location?
I'm guessing that launching or closing the application could be done through starting/stopping apache, so how would I implement a start/stop to tie into the apache start/stop.
Any help or ideas on this would be appreciated.
Have a look at BitNami Stacks, should definately have want you need in terms of a WAMP setup
I'd like to give it to the end user to install on their computer and use from their browser without me having to host it for them. But the end users are non-developers so they're unlikely to have what it takes to run the application
Why not provide a hosted solution? Host it on your server and allow your friends to create instances in your server. Is there any reason you can't do that?
you should include the zip of xampp with the files you need for the app preloaded in the htdocs folder. you can have the users extract it to their c drive root and include some sort of README or instructions on how to start up apache and mysql. xampp includes a convenient little control panel for this purpose.
edit:
I personally use xampp all the time when I am traveling and can't be connected to my server for active development. it works wonderfully and is contained all in one folder. It also doesn't require any installation, you just unzip the package. one caveat: installing to anywhere but C:\xampp is annoying.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I'm looking to setup a lightweight, developer only web stack on Windows (and possible OSX). Ideally, I'd be working with Zend framework, MySQL. But I'm open to other APIs to facilitate creating RESTFul (or pseudo-Restful) web services.
I've seen some tools, like QuickPHP, but it might have been too lightweight as I couldn't get everything working that I wanted.
I'm not opposed to installing Apache and all that, but was just curious if there's some other tools I'm not seeing to get up to speed quickly.
Keep in mind that this is for local development only.
Thank you.
The thing is, you want your development environment to behave the same way as your production environment, so I would suggest installing whatever you are going to deploy to. I run a LAMP stack on my server, so I run WAMP on Windows for development. It is very easy to install and I don't notice it slowing down my laptop. You can also look at XAMPP, but after trying both, I prefer WAMP.
For my local OSX development I've used MAMP. I highly recommend it.
For Windows I'm sure you already know about a WAMP and I haven't used anything else.
I would look into XAMPP. But I prefer to install and configure Apache and PHP myself, and not use a pre-rolled solution.
If you want to go really lightweight, make sure that when you install WAMP or XAMPP, don't set the services to start automatically with Windows.
It is fairly easy to fire them up using the WAMP/XAMPP console when you want to develop your application, but it saves you from running them all the time and slowing down your boot time.
I used WAMP and XAMPP, but now I install separately on my VISTA machine Apache 2.2, PHP 5.3, MySQL 5.1.4 (and for writing code Notepad++; for handling photos GIMP for Windows).
It is not that difficult to install. Just read attentively on PHP download page, which version of the PHP Windows installer goes for Apache 2.2 (there is one for the IIS too).
All this soft is highly customizable. It makes sense to spend some time and get it right.