How to run multiple php versions on singile server [closed] - php

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 6 years ago.
Improve this question
If php 7.0 is running on the server and should i have to run another php version on it none another than php brew . here my server is ubuntu
can anyone help me

You need to setup different version of PHP as fastcgi backend (with php-fpm). Run each as a separated php-fpm service with different port / socket. Then you can specify each site to use a different fastcgi backend in your Apache / Nginx settings.
You can have different PHP version on different site and still have them work in parallelly.

Yes, its possible to have two different versions in same server. But you can run one version at a time and can switch between two versions.
Please see this
https://askubuntu.com/questions/761713/how-can-i-downgrade-from-php-7-to-php-5-6-on-ubuntu-16-04

Related

Which on is better? php on iis or php on WAMP Server on windows server 2003(VDS) [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have a VDS(Virtual Dedicated Server) that Windows Server 2003 is installed on it. I want to use php and MySQL on my VDS. I have two options: 1-install wamp server as a web server or 2-install iis and then use php and MySQL on iis.
Which one do you suggest me to use?
Wamp is a great tool for development but it's not very secure and fast for production.
In my opinion, on Windows the best option is IIS, faster and more secure.
You can easily find some tests by searching on Internet :
https://groups.drupal.org/node/234373
I recommand wamp, more stable and efficient.

php development under iis. is it good choice? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am classic asp developer, now shifting to PHP, MySQL development. I am using windows OS for my development. I don't want shift on Linux ( this is personal choice , I don't want to get in debate of windows vs Linux ) .
I tried to install php and other stuff on IIS , I am slowly turning towards frameworks like Laravel.
So, is it good to use php under IIS than apache , what difference will it make if I dont use apache ..
EDIT
i just want know, will some feature will disabled under iis, and what will be difference for execution of php script under iis ,
There is no reason to use IIS with PHP. Apache is much easier to set up and much closer to any shared hosting environment you are likely to run your code on. I used to use IIS for my dev and it always drove me crazy.
I installed Apache on windows and I've never looked back.

It's possible to host php website with opencv? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I want to create a website that need OpenCV . and i want to know if its possible to host website in the web with OpenCV functions that i need in my website ??
if yes can you give me a simple tutorial ? because opencv need to be installed on Linux or windows but how to set up opencv on the host server ???
If you're asking are there any web hosts that will let you run OpenCV code, then yes. Most VPS hosts will let you install whatever software on the server you need, all you do is SSH into it, and if it's a Deb, platform per-say you may install anything you want with 'apt-get... '
For example, rackspace (http://www.rackspace.com/) is a vps host like what I've mentioned.

My php application with Xampp into a single exe or msi installer? [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
Xampp is a great product for newbie like us, it is very easy to install and configure. Today I am thinking of rolling up my php applications which I have it inside htdocs folder with the xampp installer. I know that Xampp has a zip package version too. And what I need to know now is that: is it possible and how to include my php application inside the xampp installer or exe for distribution? An example of what I want to achieve is timetracks (it has its own server and all the applications in one installer). Any suggestion is welcome.
You Should look into using server2go http://www.server2go-web.de/ i have used various times to package my PHP apps.

How to configure PHP engine with Apache 2.2.x? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 11 years ago.
Improve this question
i have installed Apache 2.2.x but when i turned to instal PHP V5.2.17 i didn't find the apache 2.2.x radio button in the web server setup step !! only the fast CGI,other CGI and don't install a web server radio buttons is appearing, what i can do ??
I suspect you're talking about windows. Lining up a proper build of apache, php module, etc is a bit of a pain, so unless it's for production, I suggest using WampServer or XAMPP.
Otherwise, the PHP modules are here if you really want to roll your own. Remember to match the PHP and Apache runtimes and word-size (32 or 64 bit).

Categories