ENABLE Shell_exec In Htaccess?

Mar 22, 2007

How do I enable shell_exec in an .htaccess file for one particular account, even thought it is disabled globally in php.ini ?

I am using php 4.4.6 / cpanel / centos

Also, what would the .htaccess look like for php5x?

View 5 Replies


ADVERTISEMENT

Enable ,htaccess

Oct 22, 2007

i disabled the .htaccess files when i installed the modsecurity with the following command

/usr/local/apache/bin/apxs -D DISABLE_HTACCESS_CONFIG -cia mod_security.c

now how can i recompile the modsecurity with .htaccess enabled?

View 1 Replies View Related

How Enable Htaccess On Apache?

Jun 2, 2009

Hi Htaccess not working in my server how Enable htaccess on Apache ?

View 14 Replies View Related

Enable Htaccess Plesk

Oct 23, 2009

i have installed Plesk in my VPS, Created Domain and tried to upload my files , All Ok but when upload .htaccess file , it disaper's .. i use filzilla ftp and there opition to force see hidden file , when do that , the file shows up .. but how to disable it from been hidden each time i upload it

View 1 Replies View Related

Enable .htaccess On Selected Sites On Server

Aug 1, 2008

now i disable .htaccess in all sites from

<Directory "/">
Options All
AllowOverride None
</Directory>

i need to enable .htaccess in only one site or two sites in server

how can i make that?

View 5 Replies View Related

Is Shell_exec Dangerous

Oct 23, 2009

My existing web host has disabled shell_exec and one of my php scripts requires it to work, so is shell_exec dangerous? Would you have it enabled on your servers or is it typical for it to be disabled?

View 4 Replies View Related

Shell_exec Shows Nobody

Mar 13, 2008

I am running into a few problems when it comes to using the above command. No it is not being blocked in the php.ini file. The issue has to do with permissions. On my old server everything worked fine until I moved over to this new server.

$who = shell_exec("whoami");
echo "$who"; 

When I run that commend on the old server I got that users username. Which, makes since as that means anything created via PHP would be owned by that user. In fact, every other host I know of was like that. But, on the new server when I run the commend it shows up as "nobody". How can I fix this so my commands will run properly for me and my users?

View 4 Replies View Related

Enabling Shell_exec() For Some User

Mar 26, 2008

to run one PHP script from crontab as root..

But my basic PHP has shell_exec disabled in php.ini and when trying to run script that use shell_exec even from root I get error that function is disabled.

Do you have any suggestion how can I overcome this and have ability to use this function when executing php script from console?

View 3 Replies View Related

Disable PHP Shell_exec And Readfile

May 16, 2008

To disable or not to disable shell_exec and readfile.

I haven't found any possible problems about enabling readfile but regarding shell_exec, I might be vulnerable to phpshell scripts though if the server is correcly configured (suPHP, suoshin, etc.), the risks are minimun.

View 14 Replies View Related

Warning: Shell_exec() Has Been Disabled For Security Reasons

Sep 15, 2007

I installed status2k on my server and i am encountering this error.

Quote:

Warning: shell_exec() has been disabled for security reasons in /home/oxyhosts/public_html/status/includes/functions.php on line 455

You can take a look at the errors on http://tinyurl.com/264tot

I even tried disabling shell_exec and exec from php.ini but that too didnt resolve the issue.

Is there a way i can get this thing to run without / with enabling shell_exec?

View 7 Replies View Related

Disable Functions :: Show_source, System, Shell_exec, Passthru, Exec ...

Jun 13, 2008

How to disable those functions on VPS with Lxadmin and CentOS 5
show_source, system, shell_exec, passthru, exec,
phpinfo, popen, proc_open, base64_decode, base64_encodem, proc_terminate

View 9 Replies View Related

How To Enable Mbstring

Jul 5, 2009

I want to enable mbstring. I googled and found --enable-mbstring is the key to turning it on but I don't know where to put this. In the php.ini?

View 14 Replies View Related

I Need To Enable Register_globals

Jan 11, 2009

i got hosting with cPanel Control panel i have some problem with this hosting because its "register_globals" disabled , i need to enable the "register_globals" on my hosting ,

View 10 Replies View Related

ClamAV - Should We Enable It?

Dec 6, 2007

I would like to ask whether should we use/enable the clamAV service on our VPS? I have read from several article, it said that ClamAV is pretty hungry on CPU/Memory resources.

I would like to know, do you use/enable the clamAV on your VPS? Or even don't have it installed on your VPS?

View 5 Replies View Related

How To Enable Csf On Start Up

Jul 1, 2009

I have a VPS server, i installed and configure csf, but wonder if i reboot my server the csf would close the connection, or wont work...

so i remmeber how but i really forget and cannot remmber how to enable the csf on the vps start up..

View 8 Replies View Related

Enable InnoDB

Jun 29, 2009

how to enable innodb

use this command in mysql ....

View 4 Replies View Related

How To Enable SSL 3.0 In WHM/cPanel

May 30, 2008

My becky email client don't work with SSL 3.0 (POP3s).

by the way, when use SSL 2.0, it still can't verify certificate. I install StartCOM Free SSL successfully with every services (vps.domain.com)

[url]

View 2 Replies View Related

How To Enable Pdo_mysql

Aug 17, 2008

How do I enable pdo_mysql on my cpanel server? Can I do it somewhere in WHM or do I need to go to command line?

View 7 Replies View Related

How Can I Enable Gettext In Php

Mar 26, 2008

i have a dedicated server with php4 and i have one client that needs to have gettext module enabled..

how can i enable it?

View 3 Replies View Related

Mod_Rewrite (Enable It)

Mar 23, 2008

I have a VPS and I need to enable mod_rewrite.

Here is my PHP Info: [url]

I read a tutorial but I just don't get it. I would appreciate if you could help me out.

I need it for my Wordpress blog.

View 14 Replies View Related

How To Enable Fsockopen

Jun 23, 2007

i use a script that needs fsockopen and curl to work. also i installed curl, but couldn't enable fsockopen. how i can do that? i'm using centos, php5, cpanel etc etc..

i looked php.ini, disable_functions is empty..

View 2 Replies View Related

How To Enable Iconv

Oct 7, 2007

how can i enable iconv (using .htaccess too)

View 3 Replies View Related

Enable Soap

Jul 20, 2007

Anyone know how to properly enable/compile SOAP service on a centos 4.5 / cpanel box?

View 2 Replies View Related

How To Enable These Functions

Aug 26, 2007

My site is running with php scripts It's work fire at bluehost but get some error when i move to new VPS .

Quote:

Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 171

Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 173

Warning: fputs(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 225

Warning: fclose(): supplied argument is not a valid stream resource in /home/xxx/public_html/home/admin/update_categories.php on line 227

I want to enable these functions fopen(),fputs(),fclose(),fputs(),fclose() but i don't know how to enable them .Could you tell me details

View 2 Replies View Related

Enable Hotlinking

Aug 5, 2007

I moved my website from one server to another just today and my site has a rank on another website. The ranking site lets me display my rank on my website through a hotlink to their site. When I moved my site to the new server, I can't see the image. On the old server, I could always see the image.

This is a strange issue since in Firefox, I see the image load and then it tells me the image is empty. But when I open the image's URL, I can see it just fine. I've reloaded the page over and over again, but I don't get anything. The same applies to IE.

What's even more strange is when I use a proxy, I can see the image just fine through my browser.

View 4 Replies View Related

Enable Phpinfo()

Mar 27, 2007

i give following error so how can i enable phpinfo()

Code:
warning : phpinfo() has been disabled for security reasons

View 6 Replies View Related

How To Enable Sse And Sse2 On My Computer

May 2, 2009

When I use mencoder,my computer shows both sse and sse2 are supported but disabled. How to enable them? Can anyone give me the command line on how to convert rmvb files to flv and other formats?

View 1 Replies View Related

Suexec Enable Or Disable

Mar 25, 2009

is it good or not and why we should enable or disable it in cpanel server or other server?

View 11 Replies View Related

How To Enable PHP Info On My Server

Apr 6, 2009

I am tried to make a file to tell me the php info of my server, but I get the following error.

Warning: phpinfo() has been disabled for security reasons

I have no idea how to enable or figure out why this is happening

I did disable some stuff in PHP configuration a while back because people were uploading c99 shells and whatnot on my box, so I'm not sure if that could be the issue.

I am running WHM/Cpanel on my server

View 4 Replies View Related

How To Enable Mod Rewrite In Webmin

Jun 26, 2009

Where do I enable mod rewrite in webmin? my wordpress permalinks doesn't seem to work with pretty links

View 5 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved