|
|||||||
| Server Management Apache, Windows, .htaccess, and more |
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
#46
|
|||
|
|||
|
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... |
|
#47
|
|||
|
|||
|
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.
|
|
#48
|
|||
|
|||
|
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. |
|
#49
|
|||
|
|||
|
So this issue is now resolved? If so can you mark the thread resolved (Thread Tools->Mark Thread Resolved)?
|
|
#50
|
|||
|
|||
|
no, the server still works on and off. one time it works the seconed it doesnt
|
|
#51
|
|||
|
|||
|
Is it all applications run on the server or a single one in particular that work off and on?
|
|
#52
|
|||
|
|||
|
php works fine until i use the mysql_connect function
|
|
#53
|
|||
|
|||
|
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? |
|
#54
|
|||
|
|||
|
what zip file...i didnt see you mentioned a zip file
|
|
#56
|
|||
|
|||
|
that is what i am useing
|
|
#57
|
|||
|
|||
|
You downloaded the zip file with all the extensions in it?
|
|
#58
|
|||
|
|||
|
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
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|