: PHP not enabled by default on GoDaddy shared linux web hosting I recently made the mistake of starting a web hosting account with GoDaddy. Let me start by saying that any comments or answers
I recently made the mistake of starting a web hosting account with GoDaddy. Let me start by saying that any comments or answers that I should walk away from the money I spent with GoDaddy and go with someone else will be flagged. I have heard this countless times and do not wish to hear it again.
Perhaps I am naive but I thought that PHP was enabled by default on shared web hosting. Certainly PHP should be enabled, my account started with two webform mailer scripts, webformmailer.php and gdform.php. There also exists a php.ini file that cannot be modified or deleted. It seems to prevent certain things like registering globals and other security concerns on a shared hosting environment.
PHP is not enabled though. A simple test script spits back text, telling me the PHP handler doesn't exist or it is just not installed.
<?php phpinfo(); ?>
The above just returns text.
There was no .htaccess file so I decided to add one myself. It made no difference.
AddHandler application/x-httpd-php .php
Options +ExecCGI +FollowSymLinks
The php.ini file that they provided in my account is as follows:
register_globals = off
allow_url_fopen = off
expose_php = On
max_input_time = 60
variables_order = "EGPCS"
extension_dir = ./
upload_tmp_dir = /tmp
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
; Only uncomment zend optimizer lines if your application requires Zend Optimizer support
;[Zend]
;zend_optimizer.optimization_level=15
;zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimizer-3.3.3
;zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3
;zend_extension=/usr/local/Zend/lib/Optimizer-3.3.3/ZendExtensionManager.so
;zend_extension_ts=/usr/local/Zend/lib/Optimizer_TS-3.3.3/ZendExtensionManager_TS.so
; -- Be very careful to not to disable a function which might be needed!
; -- Uncomment the following lines to increase the security of your PHP site.
;disable_functions = "highlight_file,ini_alter,ini_restore,openlog,passthru,
; phpinfo, exec, system, dl, fsockopen, set_time_limit,
; popen, proc_open, proc_nice,shell_exec,show_source,symlink"
After contacting customer support they insist that there is nothing wrong with my account. I must be doing something very stupid here because I can't find any instance on the web where somebody experienced a similar problem with GoDaddy.
More posts by @Vandalay111
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2025 All Rights reserved.