Solved

Modify php.ini in shared web hosting

Posted on 2008-10-30
7
984 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
Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

 

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

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

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

When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
In this article, I am going to show you how to simulate a multi-site Lab environment on a single Hyper-V host. I use this method successfully in my own lab to simulate three fully routed global AD Sites on a Windows 10 Hyper-V host.
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

863 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

Need Help in Real-Time?

Connect with top rated Experts

26 Experts available now in Live!

Get 1:1 Help Now