UK WEB HOSTING FORUM FOR DISCUSSION ON WEB HOSTING SERVICE AND SUPPORT
LINUX HOSTING WINDOWS HOSTING PACKAGES SHOPPING CART OSCOMMERCE ZEN CART AGORA
ECOMMERCE HOSTING ASP MSSQL FRONTPAGE HOSTING PHP MYSQL HOSTING DISCUSSION FORUM
CPANEL RESELLER HOSTING DEDICATED SERVER VPS HOSTING PLESK VIRTUOZZO
Quick Search
Your forum announcement here!

  UK Web Hosting | Dedicated Server Windows and Linux VPS Forum > Web Hosting and Domains > PHP Hosting

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 29-06-2008, 18:27
new member
 
Join Date: Nov 2006
Posts: 5
Default PHP_uname() Error message

Hi,

I'm having an issue with Joomla and PHP_uname() as this is disabled on my hosting server.

The problem stems from issues I have installing components in Joomla and also uploading .zip files. When I try to install a component or upload a .zip I get the following error:

php_uname() has been disabled for security reasons in includes/pcl/pclzip.lib.php on line 4964

However, upon further investigation, this seems to be a common problem and the solution is for me to move to an unsecure server. I opened a ticket and spoke to Tech Support who listed all the PHP functions which are disabled on my hosting server and PHP_uname is listed on there.

I know that Joomla has its fair share of security issues, but I was wondering if anyone can tell me what the risks are in moving to an unsecure server. Does it leave me more open to attack?

I have searched this forum and a few people have had the same issue and have moved to an insecure server to solve the problem. I have also tried to find a workaround where I can just disable php_uname or replace it with something else with little success. If I can't find any workaround then I will have to migrate to an unsecure server.

Would moving to an unsecure server compromise the SSL certificate and/or leave me more vulnerable as I have an online shopping cart? or is the SSL completely unrelated?

Any information would be greatly appreciated.

Thanks

Larry
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 29-06-2008, 21:57
Member
 
Join Date: Feb 2008
Posts: 31
Default

If you're prepared to edit some PHP files there is a workaround.

1. This comes from Tyrael on another site:
Quote:
I had the similar problem with mediawiki, I had to edit my files and add a few lines, where the script checks the critical functions (posix_uname, php_uname, dl, exec) presents in the suhosin blacklist, and if they do, then not let the functions run, because thats kills the mediawiki script.

So I suggest you, to do the same.
Find the lines, where your script invoke this functions, and edit this lines.
The php_uname is not really important functions, so if you comment it out, your script will working correctly, imho.
2. The files which use PHP_uname are listed here - just find php_uname and click on it and you get
  • /administrator/includes/pcl/pclzip.lib.php -> line 4964
  • /modules/mod_stats.php -> line 26
  • /administrator/components/com_admin/admin.admin.html.php -> line 111

WARNING: Although I have some experience with PHP I have no idea about the security aspects of Joomla. For that you need to seek the guidance of eUKHost.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 05-08-2008, 11:35
Banned
 
Join Date: Aug 2008
Posts: 7
Default

The error_reporting() function sets the error_reporting directive at runtime. PHP has many levels of errors, using this function sets that level for the duration (runtime) of your script.

Last edited by Ben; 06-08-2008 at 07:37. Reason: spam links
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT. The time now is 05:57.

 

Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
LinkBacks Enabled by Web Hosting 3.1.0
Copyright © 2001-2008, eUKhost.com. All rights reserved.

 
Site Map

VPS Hosting
VPS Hosting plans

Dedicated Server Hosting
Dedicated Server plans

Business Web Hosting
100% uptime Hosting

Cpanel Hosting
cPanel Shared Hosting

Reseller Hosting
Reseller Web Hosting

Windows Hosting
Windows Shared Hosting

Windows VPS

Windows VPS Hosting

Semi Dedicated Servers
Semi-Dedicated Hosting

Dedicated Server Mirroring
Dedicated Server Mirroring

Webhosting Knowledgebase
Frequently asked Questions

Web Hosting Blog
eUKhost Blog

Web Hosting Support
Support Helpdesk

UK Data Center
eUKhost Datacenter

Web Hosting Forum
eUKhost Forum

Support Tutorials
Online Flash Tutorials

Offsite Back-up Plans
Remote Backup Service

Customer Testimonials
eUK Customer Testimonials


knowledgebase articles

eUKhost.com Services

Pre-Sales Questions
Pre-sales FAQ's

Domain Names
Domain registration FAQ's

cPanel Hosting
cPanel Hosting FAQ's

Windows Web Hosting
Plesk Control Panel

Reseller Hosting
Reseller Hosting FAQ's

VPS Hosting
Virtual Private Server

Semi-Dedicated Servers
Semi-Dedicated FAQ's

Dedicated Servers
Dedicated Server Hosting


popular blog categories


Web Hosting
Website Hosting articles

UK Web Hosting
UK Hosting articles

Dedicated Server Hosting
Dedicated Server guidelines

VPS Hosting
VPS hosting articles

cPanel Hosting
cPanel Hosting articles

Linux Operating System
Linux Operating techniques

Windows Web Hosting
Windows plesk articles

Web Hosting
Web Hosting Service