Disable Function
It possible to disable the disable function for all user expect one account for running few application i need shell_exec, passthru, exec these so for other account it possible to disable it?
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Disable Mail Function
I am starting to webhosting company in it I have included a package will be free and add supported and also I want to disable some functions like mail() ..........I mean I want to disable SMTP services anyone have idea how can I do that.
View Replies!
View Related
Function Checking
How can figure out which functions are active on my server? I have root access and the server is Linux. I want to know wheather the function "fsockopen" is open or not.
View Replies!
View Related
Function : Curl_init()
Fatal error: Call to undefined function: curl_init() in /home/user/public_html/news/include/function.php on line 1526 how to fix this.?? thanks NB: My server info Centos apache1 my php -v give : Code: php -v PHP 4.4.7 (cli) (built: Jul 27 2007 18:31:31) Copyright (c) 1997-2007 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies with the ionCube PHP Loader v3.1.31, Copyright (c) 2002-2007, by ionCube Ltd., and with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies with Suhosin v0.9.20, Copyright (c) 2002-2006, by Hardened-PHP Project with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies
View Replies!
View Related
Function.file-get-contents
I got this warning message from a script I was working on to read XML feeds. Warning: file_get_contents(url) [function.file-get-contents]: failed to open stream: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. in C:Apache2.2htdocs est5.php on line 8 but when i run the url itself, it works fine. i already set allow_url_fopen = On
View Replies!
View Related
Some Ajax Function Not Working
I got PHP working. But some of the Ajax functions it not working. For example: in wordpress admin, i can only use HTML mode to start a new post. I cant switch to VISUAL mode. And it was working before though. What option do i need to compile PHP with to make it work? Right now i have: Quote: './configure' '--prefix=/opt/lsws/lsphp4' '--with-litespeed' '--with-mysql' '--with-gd' '--enable-shmop' '--enable-track-vars' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-magic-quotes' '--enable-mbstring' '--without-pear' '--with-bz2' '--with-curl' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--enable-gd-native-ttf' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-png' '--with-pspell' '--with-expat-dir=/usr' '--with-pcre-regex=/usr' '--with-zlib'
View Replies!
View Related
Mail Function Not Work
the php mail function not work on my server! when I run this function not show any error too. for example I run this code: <?php echo "ok"; $to = 'myemail@mydomain.com'; $subject = 'the subject'; $message = 'hello'; $headers = 'From: test@domainname.com' . " " . 'Reply-To:test@test@domainname.com' . " " . 'X-Mailer: PHP/' . phpversion(); if(mail($to, $subject, $message, $headers)){ echo "sent"; }else{ echo "notsent"; } ?>
View Replies!
View Related
Function.include Error
Ive searched google and this forum for hours and have not found any solution to this below error on a site of mine. I am using php 5.2 Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/comosabe/public_html/footer.php on line 5
View Replies!
View Related
Server Slow After Using Mail Function
I used the mail function in php to send mails to my 25000 members in a loop.. After using it my server has gone very slow.. Load has increased a lot from 2 to around 20.. Major load is taken by sql and then httpd (both have increased).. I had restarted mysql and httpd.. even reinstalled apache but no help..
View Replies!
View Related
PHP Mail() Function Not Working
I have just changed servers and uploaded a mail() script which was working on my previous config but does not work on the new server config. What is stopping the emails from being delivered, is there something new in WHM that I need to do? Here are my WHM and cPanel details: WHM 11.11.0 cPanel 11.15.0-R18264 REDHAT 4 i686 on standard - WHM X v3.1.0
View Replies!
View Related
How Much Can Php's Mail Function Really Handle
I have mixed feelings on the mail() function in php. I've seen it send out amazing numbers of emails and yet I keep reading that it is prone to problems. I'm wondering if someone can put an approximation on what you could/would send out in say 60 seconds. I know that there are tonnes of variables, so i'll try and remove a few: - server hardware is typical of a cpanel/WHM shared hosting environment - running apache/linux - email is say 20kb HTML format - mail is sent in a php script loop, one by one; alternatively, mail() could be called in clusters of x emails - like send 5 emails at once - there are 400 recipients
View Replies!
View Related
PHP Mail() Function Stopped Working
I have a dedicated that suddenly stop php mail() function to work. Very strange because if I run php script with mail() function as root on command line all working fine. But If I run php script with mail() function in my browser so not work. Seems that only ROOT can run mail() function.
View Replies!
View Related
PHP Mail() Function Not Working With Lighttpd
I recently started using lighttpd + with PHP using Fast-CGI on a server hosting 14 blogs powered by WordPress, the server works great and this change reduced server load in about 50% which is nice for us, considering some of our blogs have a very high visitor traffic. Our only problem so far is that since we switched to lighttpd the PHP's mail() function is just not working. I have compiled and re-compiled PHP and Lighttpd without any effects. I have a test site still working with Apache and PHP scripts can send mail without problems. I've searched forums and Google for some kind of answer but none whatsoever maybe someone can give me pointers on how to solve this. Thanks a lot!! Server details: Lighttpd version: 1.4.15 PHP version: 4.4.4 Kernel: 2.6.9-42.0.3.ELsmp Server has cPanel/WHM installed PHP configure options: --prefix=/usr/local --with-xml --enable-bcmath --enable-calendar --with-curl --enable-exif --enable-ftp --with-gd --with-jpeg-dir=/usr/local --with-png-dir=/usr --with-xpm-dir=/usr/X11R6 --with-gettext --with-imap=/usr/local/imap-2004g --enable-mbstring --enable-mbstr-enc-trans --enable-mbregex --with-mcrypt --enable-magic-quotes --with-mysqli --with-mysql=/usr --with-openssl --enable-discard-path --with-pear --enable-sockets --enable-track-vars --with-ttf --with-freetype-dir=/usr --enable-gd-native-ttf --with-xmlrpc --with-zlib --with-kerberos --with-imap-ssl --enable-fastcgi --enable-force-redirect
View Replies!
View Related
Setting Up PHP Mail() Function On New Server
how to set up the mail () function in my PHP.ini on a Linux server. Is there a generic path that I need to use in order to allow the mail function to work in the scripts? We do have a mail server set up, the address of which being "mail.companyname.com" ... do I need to insert that into the ini file somwhere instead?
View Replies!
View Related
Configure Webserver So That The Php Scripts To Be Able To Use The Mail() Function
I just purchased a vps from rapidswitch, installed lamp, webmin, etc. All is working fine, with one exception. I can't send mail via mail() function. I have set the MX so that my email addresses are handled by google for domains so i can send and receive mails without problems. What i cant do, is for example to install a cms and make it send emails for the new registered users, etc. I have installed postfix via yum, and i've tried to configure it.. but i kind of give up after a few hours of trying. Someone could point me to the right direction on how to configure postfix for just this ? to be able to send mails via php. I don't care if it's postfix, qmail, etc.
View Replies!
View Related
Email Function Not Working (MS Window Server 2003)
We have a MS Window server 2003 with SP2, currently there is a website running, the webiste is desgined by using asp.net 2.0 c#. We reinstalled the window server 2003 last week, and we found the email functions not working any more(users in the website can't receive email each other). I have spent days and trying to figure out, but no luck, I have tried to reset the IIS settings, SMTP Virtual settings, and add/remove windows componets settings...
View Replies!
View Related
IIS7 And PHP5 : Call To Undefined Function Mysql_connect()
I've been struggling with IIS continuously. I simply cannot get things to work on it like it's supposed to. Right now...PHP is running fine...but MySQL won't work. I've been searching Google for the past 12hours trying to fix this, but it won't budge. In my "php.ini" file, I enabled the "php_mysql.dll" extension. I've also tried several other things, but nothing works.
View Replies!
View Related
Fantastico: Fatal Error: Call To Undefined Function Get_output() In...
I'm getting the following error when I'm trying to access Fantastico from cPanel: Fatal error: Call to undefined function get_output() in /tmp/cpanel_phpengine.1238461774.28418Q1lWZzC0r_ on line 971 I have safe_mode set to On and shell_exec function disabled. When allowing shell_exec and safe_mode Fantastico is working in this server. But I have many server where safe_mode set to On and shell_exec function is disabled and Fantastico is running just fine.
View Replies!
View Related
Transfering My Clients To A New Host But Maintaining Website Function And Integrity
I have 35 clients hosting on my dedicated server. I am going to be ending my service as a host provider, and I need to transfer all of my clients to a new host. Many of my clients sites were written 3-4 years ago in php while global vars was still off, and so many of the sites might not function correctly if I just pop them to a new host. My first solution would be to bypass the php .ini file with a public_html/ based ini that would override any newer server settings. Does anyone know of a good host that could take my clients? And also support the php version locally to the shared account? I need a host that is reliable, and honest. Am I going about this the right way? I am open to any suggestions or advice on this. I should probably add, all of my clients pay on an annual basis from $89-$140. None of my clients run video sites or any heavy media stuff.
View Replies!
View Related
Howto Convert Ini_set Function In Code To Php.ini Setting
I have a website that was running fine for a month or two until my host recently changed some settings on the server, and now it shows a bunch of errors. I contacted the host and they said > "To avoid the errors, please do not use disabled function. If you need such functionality, you can have your own php.ini on your root http folder containing only necessary option" Since I'm not a programer, I have no idea what they're talking about. So, I asked them how to do that, they're reply of course was> "Please consult with the script writer on how to convert ini_set function in your code to php.ini seting. As the script is not encrypted, you can do it with commenting all ini_set calls and write a substitute on php.ini (Create php.ini file in webroot folder)." I tried to contact the developer, but it appears he has gone MIA! So, now I am left with no clue how to fix the website, so I turn to you guys! The website is [url]. You can see the errors in the header, but I'll post them here as well>> "Warning: ini_set() has been disabled for security reasons in /home/buymydom/public_html/includes/global.php on line 3 Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/buymydom/public_html/includes/global.php:3) in /home/buymydom/public_html/includes/global.php on line 32 Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/buymydom/public_html/includes/global.php:3) in /home/buymydom/public_html/includes/global.php on line 32" My question is, How do I convert ini_set function in my code to php.ini?
View Replies!
View Related
[cPanel] Function Mail(); And Fowarders E-mail - Not Working
I have problem: 1. Function mail(); not working 2. osCommerce e-mail error: Code: Gid 32157 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail. 3. Fowarders working only on internal accounts e-mail fowarder@mydomain.com --> email@mydomain.com - working fowarder@mydomain.com --> my-emiail123@mail.pl - not working This is VPS cPanel (OpenVZ) on my dedicated server.
View Replies!
View Related
Why Disable Parse_ini_file
I've seen for securing PHP recommends putting parse_ini_file() in the disable_functions line in php.ini but I cannot find an exact reason why. This being disabled is causing an error message to appear on some of my users sites but I'm trying to find a clear cut reason why it is disabled.
View Replies!
View Related
Disable Clamav
How can I disable clamav on cpanel server and make sure that it's not running because when clamav is running the outlook is not working so I have to restart clamav every time.
View Replies!
View Related
Disable Logrotate
is it possible to disable log rotate? I can't seem to find the cron under my weeklys or dailys nor monthlys unless it's named "mad-db" but is there a way to make it say yearly? or just disable it all together? I say this because the script I use has a function already to clear the logs and when log rotate runs it kills all processes going by the script
View Replies!
View Related
Disable Auditd
I have disabled auditd Code: root@server48 [~]# chkconfig --list |grep audit root@server48 [~]# rpm -qa|grep audit audit-libs-1.7.7-6.el5_3.3 audit-libs-1.7.7-6.el5_3.3 audit-libs-python-1.7.7-6.el5_3.3 root@server48 [~]# lsmod |grep audit root@server48 [~]# root@server48 [~]# ps aux|grep audit root 532 0.0 0.0 0 0 ? S< May17 0:00 [kauditd] root 20690 0.0 0.0 61180 740 pts/0 R+ 06:12 0:00 grep audit root@server48 [~]# I still get audit on /var/log/messages Quote: May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.625:179651): user pid=19715 uid=0 auid=0 msg='PAM: accounting acct="root" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' May 24 06:10:01 server48 kernel: type=1101 audit(1243163401.716:179652): user pid=19716 uid=0 auid=0 msg='PAM: accounting acct="youtubet" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' May 24 06:10:02 server48 kernel: type=1101 audit(1243163402.087:179656): user pid=19719 uid=0 auid=0 msg='PAM: accounting acct="vidzboxc" : exe="/usr/sbin/crond" (hostname=?, addr=?, terminal=cron res=success)' How do i disable auditd completely?
View Replies!
View Related
How Do I Disable IPTables?
I installed APF/BFD a log time ago on my centos server and have had no problems up until now. Approx 3 days ago, the server was uncontactable by SSH/HTTP/FTP. So I ran a traceroute and the host confirmed the box was up with no problems. He disabled IPTables and I was allowed in. Anyway, overnight, the same thing has happenned again. I will have to SSH in from another IP however, my main question is how do I disable IPTables ? Or better still, how do I uninstall APF!
View Replies!
View Related
Disable Email
I got the problem with email running on my server. That mean, I using my domain email service with other server. Now I hosted a website for this domain on one other server. Note that the IP for domain and email domains are different (Using managed domain service) But I got the problem now when email sending from the server (using php email function ) with the website running that will confusing, not sending anymore. Don't know that you understand my case. But I want to stop email service for this domain on my server, all email just send and receive through other email server. How can I setup or configure it through SSH?
View Replies!
View Related
How To Disable This Message
I have placed .htaccess to block some ip, when the person ip matches, my server will gives this message "client denied by server configuration", got lots of them everday in my error log, how can I disable this message? I need other error log message but not this message, is there any way I can disable it? using centos and plesk.
View Replies!
View Related
How Do I Disable Apache
I have Apache 2.2 using cPanel 11 how do I disable apache I was sure it was using this cmd, /etc/httpd/conf/httpd.conf off When I try that I get permission denied and im logged in with root! I also tried this /etc/httpd/conf/httpd.conf chmod 777 permission denied again. Anyways, I need to disable Apache so LiteSpeed will work and I can dump Apache the unforgiven pos that will dos it recieves a request to visit a webpage. (That is over doing it, Apache is really good just if it gets hit it's down easy.)
View Replies!
View Related
Dr Web - How To Disable It
I can stop Dr Web from within Plesk Control panel, but every time server restarts - Dr Web is automatically started again. Any possible way to disable it from running? Also the same with Spam Assassin. I am running CentOS
View Replies!
View Related
Disable Clamd
we have a dedicated with 1 only customer that use server x mailing we would disable clamd because is not used in this situation we have disable, any day ago, from 'service manager' of WHM but now we see this under "today cpu usage": Top Process %CPU 67.5 /usr/sbin/clamd Top Process %CPU 44.0 /usr/bin/perl -w /usr/sbin/eximstats Top Process %CPU 25.9 /usr/sbin/clamd
View Replies!
View Related
|