change php.ini

Need help installing PHP, configuring a script, or configuring a server? Then come on in and post your questions! We'll try to help the best we can!

Moderator: General Moderators

Post Reply
sekhon
Forum Newbie
Posts: 3
Joined: Tue Aug 07, 2007 5:21 am

change php.ini

Post by sekhon »

Hi,
I have a problem that am not able to connect with mssql_connect() function to MSSql server.
Error is: undefined function mssql_connect().
On local this problem is get solved by uncomment extension=mssql_php.dll and extension=mssql_pdo_php.dll line by removing ";" in front of it.
::But how do i same on the online server?.
::If possible with coding or is [s]thr[/s] there any other way to do this [s]plz[/s] please let me know?
::If [s]thr[/s] there is a way to change .htaccess file to make this change or any better solution with .htaccess [s]plzz[/s] please..
::If [s]thr[/s] there ia a way to change the path for php.ini and we put our php.ini file in other folder and access that rather than php.ini on server.
[s]plz[/s] please ..
[s]Thanx[/s] thanks
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:11. Please use proper, complete spelling when posting in the forums. AOL Speak, leet speak and other abbreviated wording can confuse those that are trying to help you (or those that you are trying to help). Please keep in mind that there are many people from many countries that use our forums to read, post and learn. They do not always speak English as well as some of us, nor do they know these aberrant abbreviations. Therefore, use as few abbreviations as possible, especially when using such simple words.

Some examples of what not to do are ne1, any1 (anyone); u (you); ur (your or you're); 2 (to too); prolly (probably); afaik (as far as I know); etc.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:1. Select the correct board for your query. Take some time to read the guidelines in the sticky topic.
[url=http://forums.devnetwork.net/viewtopic.php?t=30037]Forum Rules[/url] Section 1.1 wrote:3. Do not make multiple, identical posts. This is viewed as spam and will be deleted.
User avatar
dethron
Forum Contributor
Posts: 370
Joined: Sat Apr 27, 2002 11:39 am
Location: Istanbul

Post by dethron »

if

you are using shared hosting this is tricky because not all of the hosting companies allow their users to modify php.ini by themselves. you can contact to your hosting company.

else

it is easy; you already know what to do....
User avatar
anjanesh
DevNet Resident
Posts: 1679
Joined: Sat Dec 06, 2003 9:52 pm
Location: Mumbai, India

Post by anjanesh »

Have you tried using dl ?
On local this problem is get solved by uncomment extension=mssql_php.dll and extension=mssql_pdo_php.dll line by removing ";" in front of it.
Only on Windows, on linux, you got to actually compile php again with command-line options
Post Reply