1
vote
1answer
42 views

How to change protected config files via web/php interface?

I'm looking for way to modify configuration file that resides below /etc directory via web (in particular case PHP) interface. While it's not a problem to read (if you set up file permissions ...
1
vote
1answer
196 views

Allow normal user to run PHP script as root using SUDO

How can I allow a normal user on Ubuntu to run php scripts? sudo php /path/to/script/script.php Basically the script needs to be run as root but the users does not have root privileges on their ...
0
votes
2answers
268 views

Launching FPM pool as superuser / reflecting root access

I'm building a NAS control application with PHP, that can be only accessed from the local network. I'll start it off with that PHP-FPM does not allow to launch it's pools with user root, and I have ...
-1
votes
2answers
92 views

Only Readable by Root

I'm installing SSL certificate on a VPS server. I need to make it only readable by the root. How can I do this?
2
votes
3answers
83 views

Setting the server to look for index.php file by default

I am a web developer and I've requested our Sys-Admin to setup a server for my team that will be used as a development environment. The PHP is running as a CGI. When i try to open http://myaddress/ I ...
0
votes
2answers
2k views

Apache/PHP root exploit

Because of insecure handling of uploaded files, an attacker was able to run php code on my server (CentOS 5.4) That issue has been fixed, but while he was connected he appears to have modified a file ...
0
votes
0answers
51 views

PHP not functioning outside vhosts directory - why?

I've got Apache 2.2 working, and my virtualhosts work within the following directories: C:/www (main Apache root) C:/www/vhosts (virtual hosts) However, I cannot get PHP files to function outside ...
0
votes
1answer
137 views

Plesk don't want to support PHP

i have new root server.Everything fine,but when i try to open the .php file,mozilla tell me to download that file. Example : http://88.198.63.211/index.php How to fix this? Best Regards, DK-System
0
votes
3answers
205 views

All password with '$' inside (phpmyadmin) won't work [UTF-8 problem]

i set up a dedicaced server with a tutorial. I set in PHP : mbstring.language=UTF-8 mbstring.internal_encoding=UTF-8 mbstring.http_input=UTF-8 mbstring.http_output=UTF-8 ...