To register for an Internet.com membership to receive newsletters and white papers, use the Register button ABOVE.
To participate in the message forums BELOW, click here
PHPBuilder.com  
 

 

Go Back   PHPBuilder.com > Misc Help > Windows Help

Windows Help Help with the Windows operating system

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-30-2000, 09:58 PM   #1
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Unable to load mssql extensions

I just formatted and reinstalled everything. I am running PWS and PHP4--it was running fine before I formatted but now when I run a webpage, PHP says it cannot load the mssql dll extension. I dont understand, everything is in the exact same spot. The PHP ini file-details are the same, the install path of PHP is the same and the webserver install path is the same--its all the same... whats up?
Anon is offline   Reply With Quote
Old 07-30-2000, 10:15 PM   #2
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Unable to load mssql extensions

Never mind...

I think I had a corrupt dll. I just extracted a new copy of mssql and rebooted. Seems ok now..

Anon is offline   Reply With Quote
Old 07-30-2000, 11:42 PM   #3
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
Would you like to help me?

I use the database of MSSQL on the server.But I don't know how to initialize the php.ini. When I run the php ,the compute often tell me that there is a parse error .
Please email to me about how you initialize the php.ini. Thanks a lot!
Anon is offline   Reply With Quote
Old 08-01-2000, 12:23 AM   #4
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Would you like to help me?

Please suppply more info. A parse error means there is something wrong with your php code, not necessarily the php ini file.

If you create a php document and call the phpinfo() function, it will read the ini file.

If you cannot do that, you need to troubleshoot the installation of PHP.

If you can call the phpinfo() function from a php file, then php is installed.

Check your code for a parse error.

I have these questions for you:
1) what webserver and what version?
2) what OS?
3) what version of PHP, if version 4, are you running in isappi mode or cgi?

You need to code with something that shows you line numbers. If you write your code with notepad, thats ok until you get a parse error on line 310 :)

Get a code editor that shows the line number, then go to the line number where the parse error was and then correct it.

I am not sure I can help because I am not sure how much coding experience you have.

Make a text file, place this code in it:

<?php

phpinfo();

?>

Save as info.php in servers document root, and then call it with your web browser. If it does not work, PHP is not running, check the instalation info, its pretty good.

If the info file works, look for the mssql section. If it is not there, go back to php.ini and uncomment the extension for mssql in the extensions list.

You may have to reboot. Then try again.

I hope this is a little bit helpful.

Rob
Anon is offline   Reply With Quote
Old 08-01-2000, 05:35 AM   #5
Anon
Senior Member
 
Join Date: Jun 2000
Posts: 65,386
RE: Would you like to help me?

First thanks for your letter.
According to your advice I have find the problem .It is because that my php.ini is wrong. And there are also some problems in the dll php.After I delete the dll under the dos system and copy the latest version the php can work.
Thanks a lot for your advice.
Anon is offline   Reply With Quote
Old 06-26-2006, 09:41 PM   #6
bubatalazi
Junior Member
 
Join Date: Jun 2006
Posts: 1
MSSQL trouble with PHP

Hi, I've also had a lot of troubles to make the PHP work OK with MSSQL. I wrote this short tutorial for the purpose. Hope it helps
bubatalazi is offline   Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 02:25 AM.






Acceptable Use Policy

internet.comMediabistrojusttechjobs.comGraphics.com

WebMediaBrands Corporate Info


Advertise | Newsletters | Feedback | Submit News

Legal Notices | Licensing | Permissions | Privacy Policy


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.