Is Composer for server or local use? [closed] - php

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 9 years ago.
Improve this question
Is Composer designed to be installed on a web server or on a local computer?

It is designed for both.
You can use it in development (you will use composer update a lot then) and you can use it in production (you will install your dependencies with composer install then).
In development phrase, you define with which dependencies your project works. And in production, you make sure these dependencies are installed.

Related

Best Way to Develop a Composer Package [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 7 years ago.
Improve this question
I have a large project, I'm using git as VCS. Also, I have some modules that I'm able to use in other projects. I want to publish these packages on composer. I'm storing these packages in the vendor directory. I'm not pushing the vendor directory to VCS.
My problem starts here, Some times I'm developing the project at the same time with the packages. So I need "composer update" etc... but this kind of command may overwrite my development package, or may cause some other problems.
I don't know which is the best way to handle both project and composer packages together.

Install nodejs with php exec [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 9 years ago.
Improve this question
I just bought a domain with some space, but my provider not supporting nodejs.
I searched a lot, how could I build it on the server, but of course, to make, I need so privileges, so now I'm stuck here.
How could I use nodejs (or other server side Javascript engine) to run javascript?
I have FTP access to the server, but nothing more.
I believe you just can't.
If your provider doesn't give privileges to do it you are stuck :(

phpredis + pconnect [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 10 years ago.
Improve this question
I am using phpredis on my php based website. The webserver I am using is a the simplest apache apt-get installation, no configuration involved, as this is only a development environment.
The issue I am facing is that basically, while using phpredis, there is no difference between "connect" and "pconnect" commands: they both create a new connection everytime, as I can see from the "info" command on redis-cli.
Now, I am pretty sure it is because of the apache configuration and the fact that it probably (most likely) is a multi-threaded env, therefore can't enstablish a single connection.
My question is basically for when I will turn into production: what would the best choice of a webserver be to avoid this problem? I remember using lighttpd with thousands of users and still get only a very few (like 2 or 3) connections on mongoDB.
Any ideas?
Thanks in advance.

how to uninstall compiled php [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 10 years ago.
Improve this question
I installed php with make install. Now I go to the directory I compiled my php and do make uninstall. It throws this error make: *** No rule to make target 'uninstall'. stop..
What is going on?
Centos6
PHP 5
If there is no 'uninstall' target, there isn't any automated way to uninstall and remove files.
If by luck you built your php in a 100% dedicated directory (/opt/your/php for example) then uninstalling may be as simple as removing this dedicated directory, as everything generated at build/compile time will be contained inside this directory.

How can I run XAMPP on startup in Windows? [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 am using Windows 7 and xampplite 1.7.3.
One of my research gives me idea that I need to start automatically the "APACHE2" on services.msc. But when I go to my services there is no Apache2 there, no apache service at all. Please help me how to start xampp automatically as my PC gets ON.
If you check the svc box on XAMPP control panel the service should start automaticly.

Categories