Php Mail Unable To Connect To Mail.userdomain.com:25
Warning: fsockopen() [function.fsockopen]: unable to connect to mail.userdomain.com:25 (Connection timed out) in /home/user/public_html/_inc/class.smtp5.php on line 122
Message could not be sent. Mailer Error: Language string failed to load: connect_host
Using php 5 with phpsuexec enabled.
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Unable To Send Mail
I'm using a basic PHP script on my website, but it will not send mail out. I know the script works, I use it on my other websites (which I do not host). Now I have setup a Windows 2000 Server running IIS 5. What do I need installed (if anything) to be able to send mail from the sever?
View Replies!
View Related
Unable To Receive Mail From One Domain
I'm having a problem, I can't receive any e-mail from a certain domain (ace.ag in this case, for example from test@ace.ag ). They sey they receive no bounced mail or anything, seems like working normally. In the DNS reprot it seems connection to their mail server (mail.ace.ag) fails: [url] I'm using: WHM 10.8.0 cPanel 10.9.0-R10737 CentOS 4.5 i68 Exim 4 I have RBL filtering setup as explained here: [url] what to check on my server or what to tell the ace.ag owners?
View Replies!
View Related
Telnet Can't Connect To Mail Server
I can't telnet to mail server. when I try # telnet mail.domain.com 25 Trying xxx.xxx.xx.xx... telnet: connect to address xxx.xxx.xx.xx: Connection refused telnet: Unable to connect to remote host: Connection refused but when it's # telnet localhost 25 Trying 127.0.0.1... Connected to localhost.localdomain (127.0.0.1). Escape character is '^]'. 220 mail.domain.com ESMTP it connects. I don't have a firewall
View Replies!
View Related
Mail Server Taking Too Much Time To Connect
For some reason, one of the servers can't connect to my mail server. Whenever a user tries to send email from that server to my server, the message won't go through and I see the following in the logs (var/log/exim/mainlog): 2007-02-13 23:56:06 SMTP connection from (***.ca) [***.***.***.***] lost while reading message data (header) this problem occurs only with this ***.ca mail server (as far as I know). In fact, trying dnsreport.com tool on any of my server domains, I am getting the error message "ERROR: I could not complete a connection to any of your mailservers! ******.com: Timed out [Last data sent: RCPT TO: ] If this is a timeout problem, note that the DNS report only waits about 40 seconds for responses, so your mail *may* work fine in this case but you will need to use testing tools specifically designed for such situations to be certain.
View Replies!
View Related
Exim: Unable To Send Mail W/ New Users
I installed exim and have been able to successfully use it as an smtp server. My test setup was as follows: email client uses smtp.MYSERVER.com, my login, and password The email is successfully forwarded to the appropriate recipient. However, when I create a new user, and test it's email capabilities, it does not work. I get a 535 error: 535 Incorrect authentication data I have double checked the login and password, and I've tried this on multiple accounts. Is there an issue with how I'm creating the users? (useradd)
View Replies!
View Related
Spammers Trying To Connect To Mail Server & Filling Logs
I use cpanel. Is there any way to disallow connections to SEND mail FROM my server to specific IPs? (Similarly to how you can limit connections to sshd from certain IPs) I realize I cannot disable everything completely, as yahoo and the likes will have to connect to deliver mail. But no one of any use is going to try and connect to send mail, but a spammer. No one has gotten in and abused it as of yet (knock on wood), but SMTP is being restarted at random and I can only imagine that this is being caused by one of these scumbags probably ddos'ing me. It takes eons to browse these logs, even if they restart via logrotate periodically!
View Replies!
View Related
Smarter Mail - Spammers Targetting Mail Server Using Dynamic Ip's
We have been having some problems with one of our mail servers lately. Server is running Smarter Mail 4.x with declude. Some spammers have been targeting this particular to send spam through this server. This putting lot of load on the server because declude is processing the SPOOL in Smarter Mail and spool goes upto 2000-20000 during the day. We have been checking the headers and blocking the IP's continuously of these spam but these people are using dynamic ip's. And it doesn't seem like single spammer. Content is quite different. Blocking full ranges of certain IP Range helps though but then lot of legitimate mail is getting blocked as well. Is there any good suggestion or a serious mail server admin who can have a look and actually sort it. This is causing serious delays on our mail delivery through this mail server.
View Replies!
View Related
Mail Proxy: How To Stop CGI Mail Proxies
During last week, two of our clients' accounts got compromised (most probably due to weak passwords) and there was a CGI script installed which started sending emails to more than 200,000 email accounts. This email addresses were stored in a text file. By the time we noticed this activity, our server got black listed on major RBLs like Barracuda, SpamCop, Spamhaus etc and it took around 2 days to cleanup 3 days later, another account compromised with same *thing* and it really is pain in the arse now dealing with this and angry clients We've already implemented a policy to restrict users to send 100 messages/per hour/domain which is working, but it seems this *thing* bypass exim. I guess this Open Proxy Servers a Source of Spam is what i want to explain! So my question is, if I've understood this right, is it possible to stop scripts like this or can we enforce mailman to use exim all the time to send messages and stop direct-mailing?
View Replies!
View Related
Mail Server - Setup Virtual Mail Boxes
AMD Athlon54 X2 512Kx2 socket AM2 3800 slamd64-11.0 Just completed installing the captioned OS with everything installed except GAME. This is an experiment. slamd64 is now running on the box. I'm going to setup virtual mail boxes on this server, allowing my friends using the mail server sending and receiving mails. Please advise; 1) how to check whether sendmail is running and configured properly. 2) how to setup virtual mail boxes. Where can I find relevant tutorial.
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
Separate Mail Server- Deliver Mail To Hotmail
i'm thinking about building a separate mail server away from my cpanel/whm machine. that mail server will be located on a different IP address with "clean" record so that business email won't get deleted my strict rules of hotmail. can you please tell me, generally, about this "buidling separate mail server", i.e. what MTA, software, web-mail software, will it be worth? ,etc. Pointing me in the right direction will allow me to complete the project in the shortest time.
View Replies!
View Related
PHP Mail Not Being Delivered
A client has moved his site to a new server. No mail is being delivered from the web server. I'm assuming a mail package needs to be installed on the server. The PHP code is fine and worked on the previous server. I'm a noob when it comes to server management. What needs to be installed on the server so that the mail() function works?
View Replies!
View Related
PHP Mail() Exploit
I have been having trouble with my server lately sending out a lot of emails and I thought I had tracked it down to people taking advantage of some mailing lists which I took care of. What I ran into today is I have a business where I send out emails using a php script in our shopping cart. Well I got a lot of failure emails back that caught my attention. They have about 200 random email listings that are not in my database saying why they can't be delivered and then a copy of the actual newsletter that I just sent today. So is it possible that some where something is injecting this BCC field into the php mail()? If so, is there something that I can do to find this script? Box is set to poplock 20min, smtp auth on, firewall has been up for years, chkrootkit is clean.
View Replies!
View Related
SMTP/php Mail
I'm having an issue with php sending mail on my server...its not working! I have a windows 2000 server running IIS 5 along with PHP. Now I know my scripts in PHP are correct, but they aren't sending out mail. I cannot receive them anywhere. Is there something I have to configure in the PHP.ini file? Is SMTP setup by IIS5 or do I need to do anything?
View Replies!
View Related
Emailing Through SMTP, Not PHP Mail()
PHP manual says: Quote: Note: It is worth noting that the mail() function is not suitable for larger volumes of email in a loop. This function opens and closes an SMTP socket for each email, which is not very efficient. I have a VPS and cPanel. How can I get the SMTP host, user, pass and port?
View Replies!
View Related
Qmail, Php Mail , Hotmail
I have a vps with a site has phpbb2. Before one month I migrated to another vps host. In the old vps, the sending notfications such as reply new topic ( watch ), e-mail activations to new members notifications of the private messages were working very fine and each memeber which has valid e-mail will receiev these notifications from my forum. The old vps using sendmail. But the new one using qmail and it is will configured and the e-mail notifications are recieved which means that it is working except the ones who use hotmail accounts begin not recieve anything, the others e-mails are recieved well. The files are the same, excpet the old uses sendmail, the new vps uses qmail. After many days of searching how to solve this I decided to contact the support team. They replied to me that they should do to overcome hotmail receive email problem, reverse PTR record needs to be added and to add SPF records under my domain's DNS zone. They did and they told me to wait 24 hours, I waited for 4 days and it did not work. I went back to them and again they look closely to my qmail configurations and it is fine and working and also they made an hotmail account to test and send e-mail form my mail server and it had been accepted which means that my domain and my new IP is not blocked by hotmail. So their is nothing wrong excpet that email notifications from my phpbb it still won't go to members who have hotmail. Very strange if the hotmail hates php mail scripts like phpbb why before in the old vps was like, and now suddenly hates.
View Replies!
View Related
Not Able To Send Mail From PHP Form
We have windows 2003 with Mail-Enable mail server. We have PHP 4 and PHP 5 on the server too. From one of the PHP mail sending script we are not able to send the mails. currently we cannot see the logs for mail sending from PHP form in the mail-enable logs. Also when we trytelnet domain.com 25 it give the correct result. there is no connectivity between the php and mail-enable on the server. But mails are working fine from the webmail, but they are not working from the php. how to enable the logs for php mailing sending in mail logs so that we can see it. Also please tell us how we can configure PHP and mail-enable both together so that mails will work fine from PHP script.
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
Cpanel Can't Send Mail To External Mail
I have migrated my cpanel server from one to other server. After finishing migration. All email account can't send mail to external mail such as to "yahoo mail". Here, some log: ------------------------------------------- Return-path: <test@mydomain.com> Received: from localhost ([127.0.0.1] helo=mydomain.com) by server.hostname.com with esmtpa (Exim 4.69) (envelope-from <test@myadomain.com>) id 1N1wop-0004bE-ST for someone@yahoo.co.uk; Sun, 25 Oct 2009 09:43:11 +0300 Received: from XXX.161.156.165 ([125.161.156.165]) (SquirrelMail authenticated user test@myadomain.com) by mydomain.com with HTTP; Sun, 25 Oct 2009 09:43:11 +0300 (MSK) Message-ID: <14566.XXX.161.156.165.1256452991.squirrel@domain> Date: Sun, 25 Oct 2009 09:43:11 +0300 (MSK) Subject: Test mail From: test@myadomain.com To: someone@yahoo.co.uk User-Agent: SquirrelMail/1.4.13 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal just test -------- Domain and mail account are edited.
View Replies!
View Related
Mail Server / Can't Send Or Receive Mail
In webmail, when a person trys to send an email they get this error: Message not sent. Server replied: Requested action aborted: error in processing 451 Temporary local problem - please try later We have tried all the mail processing apps on Webmail (horde/squirrel/roundcube) and all of them seem to do the same thing. We have restart exim and that doesn't do anything either. I tried searching Google, but I didn't find too much luck there.
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
CoreHoster :: Unable To Connect
I am unable to connect to corehoster at all again -- I have been having issues since I opened my alpha master reseller account Any reseller account I create cant create cleints.. I am even unable to enter tickets or send email to them since they are unreachable Nick S refuses to refund my account . Any one else having issues with core hoster
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
Web Host Block Php Mail... Alternatives?
I send out almost 50 emails a day from a PHP program on my web site. My web host wrote an email complaining to me. Should I: a) take their advice (and if so, do I need an SMTP server and how do I get one set up?) b) change web hosts? Here is the email from them: Hi there, Thank you for contacting us. Please note that the script is being abused via a web browser to send out mail. Please refrain to use the PHP mail() function as it is deprecated and vulnerable to abuse. We could possibly suggest that you take a look at using SwiftMailer which is well documented and supported. We have commented out all of the mail() function calls on your site.
View Replies!
View Related
PHP (Mail) Marked As Spam Yahoo/Msn
i have a issue on my WHM/Cpanel Linux Server. I have hosted few vbulletin and IPB forums. Problem is that, when someone REGISTERS the CONFIRMATION email is sent to JUNK/SPAM in Hotmail and Yahoo email boxes. I have noted that The Confirmation emails sent from many other servers are NOT MARKED as spam by Yahoo and Hotmail email accounts. But the mails sent from My servers are marked as SPAM by default. I have pasted the headers below: Here are headers Mails sent from this server works fine. Received-SPF: pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) client-ip=209.62.16.134; Authentication-Results: mx.google.com; spf=pass (google.com: domain of webmaster@vbulletin.org designates 209.62.16.134 as permitted sender) smtp.mail=webmaster@vbulletin.org Mails sent from this server are sent to SPAM folder by default: Received-SPF: neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) client-ip=66.90.101.249; Authentication-Results: mx.google.com; spf=neutral (google.com: 66.90.101.249 is neither permitted nor denied by domain of zahidon_4u@yahoo.com) smtp.mail=zahidon_4u@yahoo.com One thing i am sure is there is something that needs to be fixed in WHM. Some option but i am not sure of that.
View Replies!
View Related
UK Users Unable To Connect To One Of My Websites
I've been getting a lot of complaints today on my forum that users cannot view their websites which are subdomains on a seperate domain that I own. It makes no sense why they would have access to the forums which is on the same dedicated server, using the same IP, and with the same nameservers as the site they cannot access. This issue started last night out of nowhere. Where should I even start looking? It appears to only be with overseas users since none of the US and Canadian users have any issues with either domains or their subdomains.
View Replies!
View Related
Unable To Connect Localhost(10061)
I am stuck in re-installing mysql server..... Everything I have removed even mysql service give reboot the machine but still not able to complete the installation. At the end I receive error " Can't connect to Mysql server with LocalHost (10061) By the way if port 3306 is not enabled in firewall can this issue be occurred because of this?
View Replies!
View Related
20% Of People Unable To Connect To My Site
I just switched to a new server last month and Im having a problem where a lot of my members and even some of my mods are unable to connect to my website. They are just getting a page cannot be displayed error. The website is ftascene(dot)com. Is everyone here able to connect to the site, and any idea why not everyone would be able to connect?
View Replies!
View Related
Unable To Connect With Wireless Router
I have not been able to connect to my server via browser, ftp or email since my server had a OS reload & security package installed. If I disconnect and remove my wireless router I can access the server directly from the modem. When the Linksys WRT54G is connected I can go anywhere on the net with no problems, except my server. Is there something they might have done at the server to block wireless router access? I get a timed out message when I ping any of the IP's on the server with the wireless router connected. Linksys has been of no help and I have talked with Clearwire who owns my modem.
View Replies!
View Related
Change Default Sender Address Using Php Mail() / Sendmail
I'm wondering if anyone else has experience with this, or if it's something easy that I'm overlooking. I am on a VPS service (CentOS Linux) and I want my php mail function emails to send from a specified address. I've already manipulated the headers, so the emails do appear to come from the specified addres, but on mobile devices it comes up as nobody@server1.mydomain.com format. I would like this to read something like no-reply@mydomain.com know which configuration files can change this default address?
View Replies!
View Related
Direct Admin: Php Mail() Only Sends Email To Certain Domains
I am currently setting up my server, and are experiencing some problems. Some of the mails sendt with the php mail() func, ends up in the mail queue in DA, and I get the following error log in DA: 2009-06-04 20:36:02 Received from <> R=1MCHnG-0005uQ-9v U=mail P=local S=1344 T="Mail delivery failed: returning message to sender" 2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address 2009-06-04 20:36:02 routing failed for admin@vmnd001.local <admin@munnbind.net> F=<>: Unrouteable address *** Frozen (delivery error message) This only happens with some email domains though. If I set the recipient to my yahoo mail, it works as a sharm, but when I set my other email (<<removed>>) as recipient, i get the error log above.
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
Unable To Connect Via SSH With Centos5 X64
I have been struggling with a couple of new servers that we want to run Centos 5 on. For a second assume that is our desire so going back to 4.x isn't an option yet. Now while I mention Centos 5, the problem seems to be with PAM and x64. When trying to login to the server via ssh, the login succeds but then immediately kicks the user out. I have tried this with root and another user created. I have set the UsePam option to no to try to resolve this in sshd_config. On the H-Sphere forum I found this reference: [url] " if i try to connect with ssh and i enter the right password i get an error and ssh closes the connection. The answer already was in the ticket you opened: Quote: That is known bug dealt with PAM authentication. The bug was fixed for i386 systems long time ago. But it was not fixed for x86_64 architecture. We build FreeVPS kernel new version 1.5-13.1 for x86_64 architecture to fix the problem. We also installed the kernel into the box IP 64.71.227.16. Please reboot the box with the new FreeVPS kernel version: 2.6.9-freevps-1.5-13.1smp. Let us know the result." Does anyone know how to resolve this? A reinstall of PAM was attempted by a well known sysadmin here but to no avail.
View Replies!
View Related
Unable To Connect To Local Httpd Server.
When i go to my website or any page under the domain it's just white. Blank nothing, nada. "Failed to receive status information from Apache. Unable to connect to local httpd server." This error message appears when i click on "apache status". Is this because of the network issue? Or is it because of something I did myself? I did a google search and came up on some solution, I did them and nothing.
View Replies!
View Related
Exim Mail Server :: Your Outgoing SMTP E-mail Server Has Reported An Internal Error ...
I getting this error when our clients are sending mail from outlook but they are able to send mail from webmail. we are using exim mail server and whm . i can't understand where is problem , anybody can help me ? Sending' reported error (0x800CCC6A) : 'Your outgoing (SMTP) e-mail server has reported an internal error. If you continue to receive this message, contact your server administrator or Internet service provider (ISP). The server responded: 451 Please try again later.
View Replies!
View Related
Cpsrvd Failed @ ... Failure Reason: Unable To Connect To Port 2086
I have tried everything I know (I know not much) I have rebooted it multiple times. I have terminated lots of account and now I have only 2 or three accounts. I have removed all the fishy scripts. Done everything I can. But it just becomes un responsive within a minute of re booting. Its a Pentium 4 Single Core server. 1GB Ram and 160GB harddisk with cpane+WHM. I get error cpsrvd failed @ Thu Dec 11 19:50:43 2008. A restart was attempted automagically. Failure Reason: Unable to connect to port 2086 I cannot even connect to server because within minutes the server hangs.
View Replies!
View Related
MySQL Cannot Connect To Database Via PHP
I got this weird problem with my VPS which has MySQL 4.1.22 running on it. Everything works fine for sometime and then out of a sudden, it stop recognizing the mysql users and refused to allow my PHP scripts to access the database. It seems that I needed to restart mySQL server to resolve the issue. Then out of the blues, the same problem occurs. I am running Cpanel on a VPS and there isn't any overloading as the database access is pretty light on my 512mb VPS. I contacted my web host about the issue and it seems like all they do is to restart the mySQL. This cannot be a solution as it happens at least once or twice a day depending on how soon I could catch the problem. All the time this problem occurs, the MYSQL Server is still active and working. I can even access it through PHPMyAdmin but not through the scripts. I just added an hourly crontab so as to restart the MySQL server as a stop gap.
View Replies!
View Related
Unable To Make Changes To Php.ini
i'm trying to configure PHP, as I really need to turn magic quotes off and raise the memory limit. i don't want to use .htaccess - too many sites I got plesk 8.2.1, php5.1 well, to make it short, I ran 'phpinfo()' to see where php.ini was: etc/php.ini I change that, restart httpd, nothing happens. restart the server, nothing still. my changes are not applied when I run 'phpinfo()' again. i try 'locate php.ini' from the terminal, there are a few! /usr/local/psa/admin/conf/php.ini /usr/local/psa/admin/conf/php.ini.def /usr/local/sitebuilder/php.ini /etc/php.ini /etc/php.ini. /etc/php.ini.saved_by_psa /etc/php.ini.rpmsave ... plus some in the opt folder (that should be just the cache, uh?) the problem is that I tried to open all of them, to see where the hell php was getting the settings from, but none of them seem to reflect php's settings. meaning, I don't know what file I can use to configure PHP. all of them, for instance, say 'memory_limit: 32M', but php is set at 8M, and phpinfo() tells me memory_limit 8M. any idea why this might be happening? does Plesk have some tool to configure PHP that makes PHP ignore my changes?
View Replies!
View Related
Unable To Get Php-gd Working With 64 Bit CentOS 5
I am having major problems getting php-gd working properly in my LAMP environment. I am running 64 bit CentOS and PHP 5.2.6. I am trying to get gd working with PHP. Here are my currently installed packages related to gd: rpm -qa | grep gd gdb-6.5-25.el5_1.1 gdbm-1.8.0-26.2.1 php-gd-5.1.6-20.el5 gd-2.0.33-9.4.el5_1.1 sysklogd-1.4.1-40.el5 gd-2.0.33-9.4.el5_1.1 I have copied the gd.so from /usr/lib64/php/modules to the "extension location" specified in my php.ini and I have enabled the gd extension. But when I restart apache I get this error in the error log: PHP Warning: PHP Startup: gd: Unable to initialize module Module compiled with module API=20050922, debug=0, thread-safety=0 PHP compiled with module API=20060613, debug=0, thread-safety=0 These options need to ma tch in Unknown on line 0 And when I look at phpinfo(), gd does not show up.
View Replies!
View Related
PHP Unable To Move_uploaded_file From Shared Web Space
The error message is: Warning: move_uploaded_file (../stock/images/1178697404.jpg): failed to open stream: Permission denied in D:webshalesowenmotormart.comhtmlcontrolimage.php on line 67 Warning: move_uploaded_file(): Unable to move 'D:PHPuploadtempphpFDC6.tmp' to '../stock/images/1178697404.jpg' in D:webshalesowenmotormart.comhtmlcontrolimage.php on line 67 The frustration level: 100/100 (I've been working on this for 12 hours now, hence this post) The problem as I see it: The windows server receives the post into a temp space to which I don't have permission to access in order to move the file into the image directory. The request: Any work-around? The ISP (Easyspace) are "sympathetic” and I'm being really restrained here!
View Replies!
View Related
Mail.example.com
I noticed my host has my whm dns zone file as mail cname example.com example.com mx example.com now i wonder if this is correct. First of all what is the point in creating the mail subdomain? Currently mail.example.com resolves to the main doain leaving me open to duplicate content problems if someone linked to me like that to cause trouble. And secondly is it even needed at all since the mx record is already shown as example.com. Further should the mx record be the ip rather than the domain?
View Replies!
View Related
|