Solved

Modify php.ini in shared web hosting

Posted on 2008-10-30
7
992 Views
Last Modified: 2013-12-14
i have a shared web hosting of godaddy.com,i my website i have a code for open d_base file. it works on my local machine when i uncomment 'php_dbase' extension in my local php.ini file.

but it not works on my shared web hosting? how to modify php.ini file in shared web hosting? please help.
0
Comment
Question by:sudanshu
  • 4
  • 2
7 Comments
 
LVL 29

Expert Comment

by:fosiul01
ID: 22839693
omm if its shared hosting
i dont think , you would be able to modify php.ini

you need to speak with your vendor , and have to ask
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 22839698
do you have access to php.ini ?? ( I doubt, because shared hosting does not allow user to change php.ini)
0
 

Expert Comment

by:dec0y
ID: 22839815
The simple answer is to call godaddy's customer support and request the changes, almost all webhosts allow changes to the php.ini file. Also, if you haven't already, check your hosting control panel for a way to modify the php.ini file - many control panels allow you to do this.
0
Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

 

Author Comment

by:sudanshu
ID: 22839929
I have access to php.ini file, there is a php.ini file in the root directory of my website (i am attaching it in txt format, please have a look),

I made some changes and added 'extension=php_dbase.so' to it, but this did not worked....

Please tell me how to enable the Dbase module, so that my website can work.

php.txt
0
 
LVL 29

Expert Comment

by:fosiul01
ID: 22839963
php_dbase.so , you need this extenstion to be installed on the server

is this file is in /ext directory ??

do you have access to /ext directory ???
0
 

Author Comment

by:sudanshu
ID: 22840141
no, i cannot access /ext directory ?
---------

i am receiving the error "Fatal error: Call to undefined function dbase_open() in /home/content/d/e/e/deepsingh/html/mysite/my_upload.php on line 121"

Please help





0
 
LVL 29

Accepted Solution

by:
fosiul01 earned 500 total points
ID: 22840168
yes, problem is, you have added extenstion of php_dbase.so

but this php_dbase.so is not in extenstion direcotry

so you will have to install this php_dbase.so in your server ( i guess its linux server)

but do you have access to installa anything ?? i guess no

then you will have to speak with hosting company on this issue
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question