Quantcast

How to Edit php.ini on your GoDaddy.com Shared Hosting

Many people still confusing about editing the php.ini file on GoDaddy.com shared hosting environment. Actually it was easy to do that. For PHP 5 setting you just create php5.ini on your GoDaddy.com web root folder. Add entry to your php5.ini file and save it. GoDaddy.com will reflect the changes you have been made on the php5.ini file. This will be useful when you need to add something on your php.ini file, for example add new value on your include_path or something else that requires you to edit the php.ini file. I hope this simple information helps you.

If you have any difficulty, please send comment below or drop us e-mail to info@sony-ak.com.

Bookmark and Share

Related posts:

  1. Creating Custom 404 Error Page Not Found on GoDaddy.com Hosting using PHP
  2. How to Install Zend Framework?
  3. Changing Title Format on WordPress Page
  4. Sample Code of Login to Friendster using Curl on PHP
  5. Add Province Options in OrangeHRM for your Country

3 Comments

  1. Free Hosting says:

    Using the below methods you can have php setup exactly the way you need it. Free Hosting

  2. Greg says:

    Hello Sony,

    I have been successful with godaddy after switching to linux side. I believe my php5.ini though still has some of the windows settings. My problem is that my webpage is now trying to create users who log into sessions. I am also trying to allow them to upload files. Here are some errors I receive on my ‘user log-in’ page when it trys to session_start();

    Warning: session_start() [function.session-start]: open(D:\TEMP\PHP/sess_rs2lo95j8md54gft8thgh8eur7, O_RDWR) failed: No such file or directory (2) in /home/content/68/5689768/html/photoclub/photo_members/photo_login.php on line 3

    Warning: Unknown: open(D:\TEMP\PHP/sess_rs2lo95j8md54gft8thgh8eur7, O_RDWR) failed: No such file or directory (2) in Unknown on line 0

    Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (D:\TEMP\PHP) in Unknown on line 0

    I am thinking I have settings wrong for:

    session.save_path = “D:\TEMP\PHP”

    upload_tmp_dir = D:/TEMP/PHP

    default_mimetype = “text/html”

    ; UNIX: “/path1:/path2″ commented out
    ;include_path = “.:/php/includes” commented out

    extension_dir = “c:/wamp/bin/php/php5.3.0/ext/”

    I am not sure about the settings above and am certain many are wrong. I am not sure if I am supposed to create a new file on my root directory in GoDaddy and point to that for the tmp files? or how to set the paths for temp files with godaddy. Any help would be greatly appreciated.

    -Greg
    upload_tmp_dir = D:/TEMP/PHP

  3. But how do I find the php5.ini file?

Leave a Reply