July 15, 2009 at 3:34 pm · Filed under cPanel
Got this error with cpanel?
Domain example.com has exceeded the max emails per hour (200) allowed. Message discarded.
The fix is simple… Read the rest of this entry »
Permalink
July 17, 2008 at 12:27 pm · Filed under Apache, PHP, Sysadmin, cPanel
Today a user on one of my web servers asked me why .phps files would only download and not show the highlighted PHP code as expected.
This is usually done by adding the following to your “httpd.conf”…
AddType ‘application/x-httpd-php-source’ .phps
We use the cPanel web hosting control panel and to improve security cPanel recommend using suPHP, which allows PHP scripts to run as a user rather than “nobody”.
This means that adding the above line to “httpd.conf” does not work with suPHP.
So what can be done?
Read the rest of this entry »
Permalink
February 29, 2008 at 11:36 am · Filed under PHP, cPanel
I have a situation where there’s two scripts.
- The main core of the code which is PHP based.
- A perl script which is called by the mail server for parsing incoming mail.
Both of these scripts require database access to the same database.
Read the rest of this entry »
Permalink
October 9, 2007 at 1:13 am · Filed under Linux, cPanel
There seems to be limited details of how this is done. It’s fairly simple to be honest, but I felt it could save somebody some time if it was documented.
In case you were wondering IonCube is a PHP encoder, usually used to stop people stealing your PHP code when you distribute it. Consequently to run the encoded PHP you require a “loader”, which will run it correctly.
Read the rest of this entry »
Permalink
June 11, 2007 at 3:40 pm · Filed under Linux, Software, cPanel
If you run cPanel servers, then you may at some point experience this issue.
The problem is when you attempt to visit “http://server.example.com/cpanel” and you get the following message or similar:
The requested URL /cpanel was not found on this server.
The requested URL /whm was not found on this server.
Read the rest of this entry »
Permalink