www.webdeveloper.com
Recent Articles
  • Finding Slow Running Queries in ASE 15
  • A More Advanced Pie Chart for Analysis Services Data
  • Adobe AIR Programming Unleashed: Working with Windows
  • Performance Testing SQL Server 2008's Change Data Capture Functionality
  • The ABC's of PHP: Introduction to PHP
  • How to Migrate from BasicFiles to SecureFiles Storage
  • Why the Twitter Haters Are Wrong
  • User Personalization with PHP: Beginning the Application
  • Whats in an Oracle Schema?
  • Lighting Enhancement in Photoshop
  •  

    Go Back   WebDeveloper.com > Site Management > Server Management

    Server Management Apache, Windows, .htaccess, and more

    Reply
     
    Thread Tools Rate Thread Display Modes
      #46  
    Old 02-23-2010, 12:43 PM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    i did edit the php.ini file but nothing happend.
    so i read again the install.txt file and saw that in order to enable mysql you need the lidmysql ( or whatever the name is) file from previous versions. but it was already in the php folder so i just added the line >> loadfile lidmysql.dll
    to the httpd file
    but now it seems to work when it feels like it...
    Reply With Quote
      #47  
    Old 02-23-2010, 09:03 PM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    Enabling the module in your php.ini file and restarting your web server should've been all you needed to do. I've never used "loadfile lidmysql.dll" in my httpd file ever and my scripts almost all use a database.
    Reply With Quote
      #48  
    Old 02-26-2010, 02:59 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    Apparently I was wrong.
    I rechecked when mysql works. It works if first I run php 5.2.0 and right after I upgrade and run php 5.3.1
    I am absolutely sure of this since I used the phpinfo() function to check this.
    Reply With Quote
      #49  
    Old 02-26-2010, 07:32 AM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    So this issue is now resolved? If so can you mark the thread resolved (Thread Tools->Mark Thread Resolved)?
    Reply With Quote
      #50  
    Old 03-03-2010, 02:28 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    no, the server still works on and off. one time it works the seconed it doesnt
    Reply With Quote
      #51  
    Old 03-03-2010, 07:23 AM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    Is it all applications run on the server or a single one in particular that work off and on?
    Reply With Quote
      #52  
    Old 03-04-2010, 04:54 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    php works fine until i use the mysql_connect function
    Reply With Quote
      #53  
    Old 03-04-2010, 05:31 PM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    That sounds like it might be either incorrect usage of the function, an old module (did you download the zip file I suggested a few posts back that has the PHP src and all modules?), or an incorrect configuration.

    Are you able to connect to and use MySQL separately from PHP?
    Reply With Quote
      #54  
    Old 03-07-2010, 03:12 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    what zip file...i didnt see you mentioned a zip file
    Reply With Quote
      #55  
    Old 03-07-2010, 08:33 AM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    I could've swarn I advised you to download the "VC6 x86 Thread Safe" version from php.net and unzip the contents into your PHP directory. Maybe I was confused with another similar thread.
    Reply With Quote
      #56  
    Old 03-08-2010, 05:08 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    that is what i am useing
    Reply With Quote
      #57  
    Old 03-08-2010, 09:36 PM
    criterion9 criterion9 is offline
    B.S. CIS
     
    Join Date: Jan 2009
    Posts: 2,410
    You downloaded the zip file with all the extensions in it?
    Reply With Quote
      #58  
    Old 03-10-2010, 02:55 AM
    gkman gkman is offline
    Registered User
     
    Join Date: Feb 2010
    Posts: 31
    Yes. I think the problem is with windows that isn't loading something on startup though I don't know what it can be because I add php to windows path
    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 On
    HTML code is Off
    Forum Jump


    All times are GMT -5. The time now is 11:19 AM.



    Acceptable Use Policy

    Internet.com
    The Network for Technology Professionals

    Search:

    About Internet.com

    Legal Notices, Licensing, Permissions, Privacy Policy.
    Advertise | Newsletters | E-mail Offers

    Powered by vBulletin® Version 3.7.3
    Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.