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
ADVERTISEMENT
Mar 14, 2008
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 6 Replies
View Related
May 13, 2009
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 6 Replies
View Related
Jan 28, 2008
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 1 Replies
View Related
Mar 9, 2007
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 10 Replies
View Related
Nov 3, 2009
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 2 Replies
View Related
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
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
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
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
Jun 29, 2009
how to enable innodb
use this command in mysql ....
View 4 Replies
View Related
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
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
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
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
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
Oct 7, 2007
how can i enable iconv (using .htaccess too)
View 3 Replies
View Related
Jul 20, 2007
Anyone know how to properly enable/compile SOAP service on a centos 4.5 / cpanel box?
View 2 Replies
View Related
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
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
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
Jun 2, 2009
Hi Htaccess not working in my server how Enable htaccess on Apache ?
View 14 Replies
View Related
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
View Related
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
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
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
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
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
Jun 10, 2009
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 1 Replies
View Related
Jun 21, 2009
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 13 Replies
View Related
Nov 3, 2008
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 6 Replies
View Related