Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'd like to restrict using PHP-CLI for a user. I mean on the same server, I want to use PHP-CLI with my account and I want no other user to access PHP-CLI interface. Or choose which user can use it.
Is this possible?
Many ways. A simple one:
chmod 754 /usr/bin/php
chgrp php /usr/bin/php
Then add only the person you want to that php group
Of course, apache or the web user should also be in that group too.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
I'm using isp config but all my larval stuff is in a public folder and iso config points to a web folder.
Does anyone know how I can go about changing this?
In ISPConfig:
1) Select the site
2) Choose options
3) In the Apache Directives box type the full path of your Document Root pointing to /public:
DocumentRoot "/the/absolute/path/of/the/laravel/directory/public"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Hi attached is the image showing MySQL Server is currently running and succesfully installed in Ubuntu 13.10, only problem is I cannot communicate with it via terminal so I can't create databases using terminal.
It say's mysql is not currently installed, so what am i missing?
below is that url that I used to install it.
https://serverfault.com/questions/516190/how-to-install-mysql-5-6-on-debian-7-wheezy
By default the current directory is not in your PATH, so it's not searched when you execute commands.
You can do any of the following:
Add /usr/local/mysql/bin to your path (probably best option)
From inside that directory, run ./mysql rather than mysql
Type /usr/local/mysql/bin/mysql instead of mysql
Create an alias
...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
Please tell me how to enable all these extension all at once. They are creating a lot of problem.
I want to enable all of them by just one click.
Thanks
Two ways:
1) check them all one by one
2) go to php.ini uncomment them.
3) or thrught ini_set() in php file
For first two you need to restart your apache server.
FoThey are all installed. You only have to check the ones you want, but there is no way you can do it in one click ...
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 8 years ago.
Improve this question
i used
echo exec("whoami");
and i got
authority\system
and in my httpd.conf
it says
User daemon
Group daemon
why is it not running on the right user ?
also i checked and created the user and restarted apache but still it's running under system
User and Group are ignored on non-POSIX systems. You need to modify the relevant service entry instead under Windows.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 6 years ago.
Improve this question
I need to backup automatically daily my database in mysql and all image files on the server.
Is there a way to backup these things and send it on my email address ?
You can write a bash script that contains gzip, mysqldump and mail commands and have it run daily via cron job.