MilesWeb
MilesWeb Hosting Forum

Please login or register.

Login with username, password and session length

 

News:

SMF - Just Installed!


Author Topic: Error accessing PHP and suEXEC from WHM  (Read 3907 times)

0 Members and 1 Guest are viewing this topic.

Offline Administrator

  • Chinmay Dingore
  • Administrator
  • Full Member
  • *****
  • Posts: 135
  • Karma: +1/-0
    • View Profile
    • MilesWeb Internet Services Pvt Ltd
Error accessing PHP and suEXEC from WHM
« on: January 29, 2014, 11:20:22 PM »
Hiya Members,

Today, I was trying to enable suPHP on one of our client's server and when trying to access Configure PHP and suEXEC from WHM as root, received an error as below.

Quote
Can't fork at /usr/local/cpanel/Cpanel/SafeRun/Simple.pm line 40.
   Cpanel::SafeRun::Simple::_saferun_r('ARRAY(0x286c630)', 0) called at /usr/local/cpanel/Cpanel/SafeRun/Simple.pm line 68
   Cpanel::SafeRun::Simple::saferun('/usr/local/cpanel/bin/rebuild_phpconf', '--available') called at whostmgr/bin/whostmgr2 line 12550
   main::phpandsuexecconf() called at whostmgr/bin/whostmgr2 line 1142

A quick cPanel update & restarting the service fixed it. The fix was not that tough compared to the error above  ;)

Quote
# /scripts/upcp --force
# service cpanel restart

Hope this helps to users who bump with this error.
MilesWeb.com - Your Hosting, Our Responsibility!
Unlimited Hosting Plans | Managed VPS with 20% Discount

MilesWeb Hosting Forum

Error accessing PHP and suEXEC from WHM
« on: January 29, 2014, 11:20:22 PM »