Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







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:
Warning: Fsockopen() [function.fsockopen]: Unable To Connect To Localhost
Cannot send mail via php mail send

Warning: fsockopen() [function.fsockopen]: unable to connect to localhost:25 in /home/user/public_html/smtpmail/class.smtp.php on line 105

How do I correct this? I'm using Cpanel with php 4.4.8, apache 2.2, mod suphp

View Replies!   View Related
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
Fsockopen Failed At Port 25 - Connection Refused
We have a script that run for more day without problem Script connect to port 25

Now we get this:

Warning: fsockopen() [function.fsockopen]: unable to connect to my.domain.com:25 in /home/mydom/public_html/backend/go.php on line 47
Connection refused (111)

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
Cpanel Opening Custom Ports For Outgoing Access For PHP Fsockopen And Curl
How do you open custom ports for fetching content from a url via a non-standard port, ex [url]:32626 ... (url has 32626 opoen)

View Replies!   View Related
How To Enable Mbstring
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 Replies!   View Related
I Need To Enable Register_globals
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 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
Enable InnoDB
how to enable innodb

use this command in mysql ....

View Replies!   View Related
How To Enable Pdo_mysql
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 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 Iconv
how can i enable iconv (using .htaccess too)

View Replies!   View Related
Enable Soap
Anyone know how to properly enable/compile SOAP service on a centos 4.5 / cpanel box?

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 Phpinfo()
i give following error so how can i enable phpinfo()

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

View Replies!   View Related
How Enable Htaccess On Apache?
Hi Htaccess not working in my server how Enable htaccess on Apache ?

View Replies!   View Related
ENABLE Shell_exec In Htaccess?
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 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
Suexec Enable Or Disable
is it good or not and why we should enable or disable it in cpanel server or other server?

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
How To Enable Phpsafe Mode
how to change phpsafe mode into "off" in cpanel hosting account since Whole server setting is "on" in phpsafe mode? I need for chage it to "off" as reguler cpanel user.

View Replies!   View Related
How Can I Enable Gettext In Php
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 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
Lighthttpd How To Enable Modrewrite
I am installing phplinkdirectory in lighthttpd, keep having problems with Mod Rewrite, everytime, I enable Mod Rewrite, 404 errors come out. What should I do?

View Replies!   View Related
How To Enable Sse And Sse2 On My Computer
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 Replies!   View Related
GeekStorage Won't Enable Xcache.var_size
I recently received an email from GeekStorage support telling me that they just won't enable xcache.var_size on their shared hosting server.

If you're going to host a vBulletin board on GeekStorage, forget it -- XCache datastore won't work there

View Replies!   View Related
How To Enable/disable Mail() Function
how to know if mail() function is enabled or disabled on my server? how to enable/disable it?

can it be done via server control panel or is there a shell command for it?

one more thing, where to get/edit the SMTP data for my server?

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
How To Enable Mod Rewrite In Webmin
Where do I enable mod rewrite in webmin? my wordpress permalinks doesn't seem to work with pretty links

View Replies!   View Related
How To Enable SSL 3.0 In WHM/cPanel
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 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
Enable The Disabled Functions For An Account
i have disbaled many functions in php.ini settings ! for security!

but i need to use some of the functions for my billing System!

how can i enable all the functions just for an account? or a directory!

View Replies!   View Related
FTP Disabled By Firewall, How To Enable?
i have share account ssh my friends, but my friend had been disable ftp by firewall. how to reopen sevices ftp and remove rules disable ftp.

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 APC On MediaTemple GridServer
Does anyone know how to install and enable APC on the Grid?

View Replies!   View Related
Enable Resume Download On Server
When using a download manager to download stuff from server, download manager detects server unable to support resume and parallel downloads, is there a way to set the server to allow it?

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 Mp3 Encoding In Ffmpeg
I have installed lame and configured ffmpeg using --enable-libmp3lame

but while converting it gives error unknown encoder mp3

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
How To Enable Directory Browsing Cpanel By Frontpage
how to enable directory browsing cpanel by front page

i have mod front page in apache and Install FrontPage Extensions to all site in server but i can't browser directory with front page how i can fix that?

View Replies!   View Related
Enable .htaccess On Selected Sites On Server
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 Replies!   View Related
Virtuozzo :: Enable Firewall, WHM/Cpanel Down
I entered Virtouzza, and sounded good to enable firewall, once i enable firewall, WHM/Cpanel was down.

and there isn't a button to disable it back.

View Replies!   View Related
Enable Anonymous Ftp Access For One Of My Domain
I am using Cpanel

And I want to enable anonymous ftp access for one of my domain

View Replies!   View Related
How To Enable And Install Php Soap Extension
I just get my server today. I have a scipt is require php soap extension. I don't what is teh step and how to install

My serrver is preinstall php 5. May I know how to enable and install php soap extension?

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
Copyright © 2005-08 www.BigResource.com, All rights reserved