How To Enable Fsockopen
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 Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Fsockopen Issue On Server
I need here a really help because there is in my opinion simple problem that can be solved. Here is example of simple script: Code: <?php if($_GET[u]){ echo "opening socket to {$_GET[u]} port 25<br/>"; flush(); $r=fsockopen($_GET[u],25,$errno,$errstr,30); echo "socket opened to {$_GET[u]} error $errno str $errstr"; } else if($_GET[d]){ echo "opening socket to {$_GET[d]} port 80<br/>"; $r=fsockopen($_GET[d],80,$errno,$errstr,30); echo "socket opened to {$_GET[d]} error $errno str $errstr"; } ?> One site hosted by totalchoicehosting display everything correct when i test it: ...
View Replies!
View Related
Warning: Fsockopen(): Unable To Connect To 127.0.0.1:25
Yesterday I had to install a renewed SSL Certificate. Managed to get it installed, in Plesk under domains/www_mydomain_com, but I also deleted the default SSL from the server/certificates area... So then I was getting an dns 500 error when browsingour site and I could not start httpd from within plesk. Went in through SSH and tried to start it from there and got and error stating it could not find the SSLCA cert it was looking for. So I edited my httpd.include file to point to my new certificate. Now http works, but my email has stopped? What gives how could the two be related! I can log into my webmail, compose message and when I send I get: Warning: fsockopen(): php_hostconnect: connect failed in /usr/share/psa-horde/pear/Net/Socket.php on line 108 Warning: fsockopen(): unable to connect to 127.0.0.1:25 in /usr/share/psa-horde/pear/Net/Socket.php on line 108 I have started and stopped psa, qmail. Rebooted the server. I tried the telnet localhost 25 but I get connection refused. Anytime I check qmail status it says stopped. Don't know if that is right or not. I know I am not recieving emails asI have sent many today through other accounts and they all come back undeliverable. We do run an online store as well so I am kinda nervous when our email goes down! Time to hire a server admin? I am running Plesk 7.5.4 on Red Hat 9 on a Virtual Dedicated Server with GoDaddy. Here is my "Component Info" from Plesk: bind 9.2.1-16 coldfusion-support 7.3-2.96.118 courier-imap 3.0.8-rh9.build75050824.12 frontpage 5.0.2.2634 httpd 2.0.40-21.17.legacy.1.swsoft mod_perl 1.99_07-5 mod_python 3.0.1-4 mysql 3.23.58-1.9 perl-Apache-ASP 2.57-rh9.build75050824.12 php 4.3.2-psa.rh9.1 psa 7.5.4-rh9.build75050824.12 psa-api-rpc 7.5.4-rh9.build75050930.11 psa-bu Component was not installed psa-horde 3.0.5-rh9.build75050824.12 psa-imp 4.0.3-rh9.build75050824.12 psa-logrotate 3.7-rh9.build75050824.12 psa-manual-custom-skin-guide 7.5.4-rh9.build75050824.12 psa-proftpd 1.2.10-rh9.build75050824.12 psa-qmail 1.03-rh9.build75050824.12 psa-qmail-rblsmtpd 0.70-rh9.build75050824.12 samba 2.2.7a-8.9.0.1.swsoft SSHTerm 0.2.2-rh9.build75050824.12 stunnel 4.04-3 webalizer 2.01_10-11
View Replies!
View Related
ClamAV - Should We Enable It?
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 Replies!
View Related
Mod_Rewrite (Enable It)
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 Replies!
View Related
Enable ,htaccess
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 Replies!
View Related
How To Enable These Functions
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 Replies!
View Related
Enable Hotlinking
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 Replies!
View Related
Enable Htaccess Plesk
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 Replies!
View Related
How To Enable Csf On Start Up
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 Replies!
View Related
How Enable Apache Status
how i can enable apache status like cPanel ! in directadmin before im enabled Location /httpd-status> SetHandler server-status </Location> but seems its not like cPanel ( dont show IP and where file now downloaded ... and more information) Server Version: Apache/2.2.3 (CentOS) Server Built: May 28 2009 12:50:07 Current Time: Wednesday, 10-Jun-2009 05:59:10 EDT Restart Time: Tuesday, 09-Jun-2009 13:39:08 EDT Parent Server Generation: 0 Server uptime: 16 hours 20 minutes 1 second 19 requests currently being processed, 13 idle workers Scoreboard Key: "_" Waiting for Connection, "S" Starting up, "R" Reading Request, "W" Sending Reply, "K" Keepalive (read), "D" DNS Lookup, "C" Closing connection, "L" Logging, "G" Gracefully finishing, "I" Idle cleanup of worker, "." Open slot with no current process PID Key: 4494 in state: W , 5241 in state: W , 3142 in state: _ 4318 in state: _ , 4319 in state: W , 5173 in state: _ 4175 in state: W , 5242 in state: W , 5174 in state: W ....
View Replies!
View Related
Is It Safe To Enable Exec()
I am trying to install gallery 2.3 and it requires exec() to be enabled for some functions. Is it safe to enable it in php.ini? In php.ini file I see this, disable_functions = symlink,shell_exec,exec,proc_close,proc_open,popen,system,dl,passthru,escapeshellarg,escapeshellcmd I have CentOS running on my VPS.
View Replies!
View Related
Enable/install Mb_string
I have this box with cpanel and centos 4. I need to enable/install mb_string i treid to put it in php.ini but it does not help so whats the simpliest way to install it? btw i dont wanna recompile php as i have ffmpeg installed and i don't wanna mess it up.
View Replies!
View Related
Enable Root For Mysql
I was wondering how to re-enable the root user for mysql? My webhost "disabled it by default" I am not very pleased with this, and if you are an owner of a webhost company reading this, please note that.
View Replies!
View Related
Enable Safe_mode For Particular Account
how i can disable safe mode for 1 account .... i have the fallowing info system : php 5.2.5 apche 2.2 suphp i have search in the httpd.conf and i found this Code: ServerName xxxx.com ServerAlias www.xxxx.com xxxxx.com DocumentRoot /home/xxxxx/public_html ServerAdmin webmaster@*********** UseCanonicalName Off TransferLog /usr/local/apache/domlogs/xxxx.com CustomLog /usr/local/apache/domlogs/xxxx.com-bytes_log "%{%s}t %I . %{%s$ ## User sansnom # Needed for Cpanel::ApacheConf UserDir disabled UserDir enabled xxxxxxx <IfModule mod_suphp.c> suPHP_UserGroup xxxxx xxxxx </IfModule> <IfModule concurrent_php.c> php4_admin_value open_basedir "/home/xxxx:/usr/lib/php:/usr/php4/lib$ php5_admin_value open_basedir "/home/xxxx:/usr/lib/php:/usr/local/li$ </IfModule> <IfModule !concurrent_php.c> <IfModule mod_php4.c> php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/php4/$ </IfModule> <IfModule mod_php5.c> php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/local$ </IfModule> <IfModule sapi_apache2.c> php_admin_value open_basedir "/home/xxxxx:/usr/lib/php:/usr/php4/$ </IfModule> </IfModule> <IfModule !mod_disable_suexec.c> SuexecUserGroup xxxxxx xxxxxx </IfModule> ScriptAlias /cgi-bin/ /home/xxxxxx/public_html/cgi-bin/ in wich part chould i add the commande line to disable the safe mode?
View Replies!
View Related
How To Enable PHP Info On My Server
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 Replies!
View Related
Enable Resume An Upload On Server?
I got a new server and at present it is not allowing resume of disconnected uploads. I remember on my last server I have to add a line on a config file to enable this but for the life of me I cannot remember. Like this one the server has proftpd.
View Replies!
View Related
How To Enable Load Balance Server
We have two dedicated server on that flash online arcade games website has hosted. Due to overload, server gets down server & hangs. So that we like to share the server load with two server. Please find below the details our server configuration. Processor : Intel 2.13 GHz Xeon Hard Disk : 250GB ATA: Control Panel : Cpanel (Installed on both server) Apache Version : Apache/2.0.63 PHP Version : 5.2.4 MySQL : 4.1.22 I have been updating the PHP files with RSYNC command for every 15 min. MySQL Database we have put in different server (So I think no need to update). how to share the server load with enabling the Load balance Server.
View Replies!
View Related
Enable Http Headers In Plesk
I have a problem with my site where users log in (vbulletin) and yet the script doesn't log them in. After some research i found out this happens due to http headers. I own a dedicated server which has plesk as the control panel, i do not know where to go and find the option to enable Http Headers.
View Replies!
View Related
Enable Root Password On Freebsd
How would I go about enabling the root user on a FreeBSD 6.1 system? I've got a dedicated colocated server (hardware, not virtual) and I can't for the life of me do anything with root. I can't "su", I can't "sudo", and I can't "passwd root". I've tried different shells, etc, but nothing works. I am the server admin, but I'm doing it remotely and I just can't figure this out. I know it's not, but I'm going to ask it for the sake of it being out there anyway: Is it possible that the server lacks a root user and that I'm unable to create one?
View Replies!
View Related
CentOS: Install/Enable Mod_Rewrite
I have been trying to get mod_rewrite to work on my CentOS server running the BQ. Now what i need is to be allowed to use .htaccess files to use mod rewrite to allow me to use SEO urls. Anyone know what needs to be done on CentOs, to be able to do it? I have done the only instruction on Centos about it: Quote: # vi /etc/httpd/conf/httpd.conf FIND SECTION BEGINNING <Directory "/var/www/html"> Options Indexes FollowSymLinks AND CHANGE AllowOverride None TO AllowOverride All Order allow,deny Allow from all </Directory> SAVE FILE AND THEN # service httpd restart Although i still get the "500 Internal Server Error" message.
View Replies!
View Related
[Apache2] Enable/disable Concurrent Connections
Currently I use WHM/cPanel latest on a few boxes, I have (at least to my knowledge) copied the exact compile settings between servers, yet some of my servers allow me to do concurrent file downloads (using DownThemAll or another "accelerator") whilst others only let me make 1 connection. These servers also don't show me the final filesize while downloading. So my question is, what did I set/unset to cause this to happen? It's been bugging me for a month or so now and no amount of recompiling has fixed the issue (aside from a clean install of the OS/cPanel). I can provide a list of modules and other config settings if required.
View Replies!
View Related
Migration From IMail 8.0 To Mail Enable / JMail
One of our client is switching servers and the old one had iMail 8.0 but he cant afford the same on his own dedicated server. We are planning to use either Mail Enable or JMail as the replacement. We have 450 mail accounts on iMail and we will have to migrate them as well. What do you recommend will be the easiest and better? JMail Professional Edition or Mail Enable Professional Edition?
View Replies!
View Related
|