{"id":138,"date":"2009-11-19T19:25:16","date_gmt":"2009-11-19T19:25:16","guid":{"rendered":"http:\/\/hosting-marketers.com\/news\/?p=138"},"modified":"2010-03-22T13:49:02","modified_gmt":"2010-03-22T13:49:02","slug":"register_globals-on-servers-with-suexec","status":"publish","type":"post","link":"https:\/\/hosting-marketers.com\/news\/2009\/11\/19\/register_globals-on-servers-with-suexec\/","title":{"rendered":"register_globals on servers with SuExec"},"content":{"rendered":"<p>First of all allowing register_globals on, on a server is real stupid, it is a security risk that no hosting company should accept, but sometimes for old scripts it is necessary to have it on, in this case should be enabled on the customer account on the .htaccess file or if the server is running with SuExec support then on the php.ini file.<\/p>\n<p><span style=\"font-family: Verdana,Arial,Helvetica; font-size: x-small;\">Usually entering the line:<\/span><\/p>\n<p><em>register_globals<\/em>=on<\/p>\n<p><span style=\"font-family: Verdana,Arial,Helvetica; font-size: x-small;\">to the php.ini on the public_html should work, but on some servers we have noticed that this is not working. Unfortunately we do not know the exact reason for this issue, but we have another method to enable this.<\/span><\/p>\n<p><span>First create a file called php5.cgi with 755 permissions and add the following in it.<br \/>\n<\/span><\/p>\n<p>#!\/bin\/sh<br \/>\nexec \/usr\/local\/cpanel\/cgi-sys\/php5 -c \/home\/account-username\/public_html\/php.ini<\/p>\n<p>(change the user names, and copy the php.ini file in to the public_html)<br \/>\nThen add the following lines in the .htaccess file.<\/p>\n<p>Options All -Indexes<br \/>\nAddHandler application\/x-httpd-php5 .php<br \/>\nAction application\/x-httpd-php5 \/php5.cgi<\/p>\n<!-- AddThis Advanced Settings generic via filter on the_content --><!-- AddThis Share Buttons generic via filter on the_content -->","protected":false},"excerpt":{"rendered":"<p>First of all allowing register_globals on, on a server is real stupid, it is a security risk that no hosting company should accept, but sometimes for old scripts it is necessary to have it on, in this case should be enabled on the customer account on the .htaccess file or if the server is running [&hellip;]<!-- AddThis Advanced Settings generic via filter on get_the_excerpt --><!-- AddThis Share Buttons generic via filter on get_the_excerpt --><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[2],"tags":[135],"class_list":["post-138","post","type-post","status-publish","format-standard","hentry","category-hosting-marketers-news","tag-register_globals"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p9Yxzd-2e","jetpack-related-posts":[{"id":220,"url":"https:\/\/hosting-marketers.com\/news\/2011\/06\/07\/using-ffmpeg-to-create-a-single-thumbnail-image-from-a-red5-recorded-flv-file\/","url_meta":{"origin":138,"position":0},"title":"Using ffmpeg to create a single thumbnail image from a red5 recorded flv file","author":"Admin","date":"June 7, 2011","format":false,"excerpt":"Below is a simple php code to manipulate with ffmpeg and create a thumbnail image from a recorded flv file. Assuming that we used oflaDemo to record the video and we want the image to be the frame on the 4th second of the video: <?php \/\/Set video flv path\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":663,"url":"https:\/\/hosting-marketers.com\/news\/2018\/03\/27\/how-to-run-python-scripts\/","url_meta":{"origin":138,"position":1},"title":"How to run Python scripts","author":"Admin","date":"March 27, 2018","format":false,"excerpt":"How to run Python scripts If you wish to run Python scripts in your hosting account, you can create and edit them in two ways: either in cPanel or via SSH. To create and edit Python script in cPanel use the following steps:\u00c2\u00a0 1. Log in to your\u00c2\u00a0cPanel: 2. Go\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":539,"url":"https:\/\/hosting-marketers.com\/news\/2015\/09\/01\/node-js-some-information\/","url_meta":{"origin":138,"position":2},"title":"Node.js some information","author":"Admin","date":"September 1, 2015","format":false,"excerpt":"As third-party software, Hosting Marketers does not support node.js beyond installation. All our servers have node.js installed, but you need to configure it on your account, for that we need to know which port you using for the node, and you will need to create cron job and a bash\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":162,"url":"https:\/\/hosting-marketers.com\/news\/2010\/02\/13\/how-to-install-the-latest-ffmpeg-mplayer-mencoder-ffmpeg-php-on-centos-server\/","url_meta":{"origin":138,"position":3},"title":"How To Install FFmpeg, Mplayer, Mencoder, FFmpeg-PHP on a CentOS server","author":"Admin","date":"February 13, 2010","format":false,"excerpt":"I tried first to use the installer of ScriptMantra but for some reason there were errors sometimes the Liba52, sometimes the Mplayer were not installed, so I just gave up and used the autoinstaller just to remove all traces of ffmpeg on the server, then I used the yum to\u2026","rel":"","context":"In &quot;Hosting Marketers News&quot;","block_context":{"text":"Hosting Marketers News","link":"https:\/\/hosting-marketers.com\/news\/category\/hosting-marketers-news\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":1353,"url":"https:\/\/hosting-marketers.com\/news\/2025\/02\/24\/how-to-secure-your-wordpress-and-laravel-sites-on-a-hosting-marketers-shared-accounts\/","url_meta":{"origin":138,"position":4},"title":"How to Secure Your WordPress and Laravel Sites on a Hosting Marketers Shared Accounts","author":"Admin","date":"February 24, 2025","format":false,"excerpt":"Website security is critical for protecting your data, preventing hacks, and ensuring your site runs smoothly. While your hosting provider has CSF Firewall to protect the server from external threats, securing your WordPress or Laravel site is your responsibility. Many hacks happen because of poor security practices\u2014such as outdated plugins,\u2026","rel":"","context":"In &quot;security&quot;","block_context":{"text":"security","link":"https:\/\/hosting-marketers.com\/news\/category\/security\/"},"img":{"alt_text":"How to Secure Your WordPress and Laravel Sites on a Hosting Server with CSF Firewall","src":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/hosting-marketers.com\/news\/wp-content\/uploads\/2025\/02\/security.jpg?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":429,"url":"https:\/\/hosting-marketers.com\/news\/2013\/12\/18\/time-zone-how-to-change-it-on-shared-cpanel-servers\/","url_meta":{"origin":138,"position":5},"title":"Time Zone, how to change it on shared cpanel servers","author":"Admin","date":"December 18, 2013","format":false,"excerpt":"You cannot change it, not on a shared server, but it is possible to change it for your account by editing the PHP script or adding a line to the .htaccess file. You can change the time zone being displayed with a PHP script. (Unfortunately, I cannot tell you where\u2026","rel":"","context":"In &quot;php time zones&quot;","block_context":{"text":"php time zones","link":"https:\/\/hosting-marketers.com\/news\/category\/php-time-zones\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/138","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/comments?post=138"}],"version-history":[{"count":3,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/138\/revisions"}],"predecessor-version":[{"id":140,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/posts\/138\/revisions\/140"}],"wp:attachment":[{"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/media?parent=138"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/categories?post=138"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hosting-marketers.com\/news\/wp-json\/wp\/v2\/tags?post=138"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}