Post your PHP code!
Printable View
Post your PHP code!
Your MySql section in phpinfo() should look something like this:
Code:mysql
MySQL Support enabled
Active Persistent Links 0
Active Links 0
Client API version 3.23.49
MYSQL_MODULE_TYPE builtin
MYSQL_SOCKET /var/lib/mysql/mysql.sock
MYSQL_INCLUDE no value
MYSQL_LIBS no value
but why then would i recieve an error when i execute the code you provided on the tutorial thread?
If MySql is enabled and it is showing in phpinfo, then it means there is a problem with the code. If you copy and paste the code I will be happy to check it for you.
haha.. i never considered a problem with the code *laff*
wait.. where would the mySQL section in phpinfo(); output be located?
Try looking. Is it there?Quote:
Originally Posted by visualAd
well, that specifically doesn't seem to be showing up.... i've checked everything you mentioned beforehand though.. is there something else it could be?
Where EXACLTLY is php_mysql.dll? The EXACT PATH. Post It.
Where EXACLTLY is libmysql.dll? The EXACT PATH. Post It.
C:\php\ext\php_mysql.dll
C:\WINDOWS\libmySQL.dll
i shouldn't be doing this at this hour :ehh: :o
And what does the extension_dir setting say in php.ini. Please post it. :)
extension_dir = "C:\PHP\ext"
..etc..
extension=php_mysql.dll
What is the path of you php.ini file? Please could you post the lin in your phpinfo which says: Configuration File (php.ini) Path
C:\php\php.ini
Do both those paths match?Quote:
Originally Posted by tomcatexodus
Can you not bump threads that quickly. ThanksQuote:
Originally Posted by tomcatexodus
which paths are you wanting me to compare?
Well where is your php.ini and where's the path set to?
i.e. mine used to be in c:\windows\php.ini
Your paths have to agree
I don't think you have enabled your extension. Go to you php.ini file and look for the line:
If the first character on that line is a semi colon ;, you need to REMOVE it, otherwise the entire line will be ignored. If this doesn't work, rename your PHP.ini with a .txt extension and upload it here. I'll take a look.Code:extension = php_mysql.dll
and..Code:; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\PHP\ext"
in the \ext folder, exists the file php_mysql.dllCode:; extension=modulename.extension
;
; For example, on Windows:
;
extension=php_mysql.dll
;
i've gotta be missing something very very stupid, or something so minute :ehh:
Could you upload your php.ini file?
got it
so yea... no idea on what the issue is...
Delete the line you have for extension = php_mysql.dll and uncomment the other below. Notice how the one below has no whitespace this should be ignored, butit may be what is causing the problem.
great tutorial!
Also, If your a user and dont want to go to the hassle of having to configure everything yourself,
Use WAMP-Server, It installs everything you need for a quick enviremont,And its very userfriendly!
Good luck!
i am getting the following error during the Apache Install:
Code:Internal Error 2902 ixoFileCopy
I fixed it. I downloaded and installed the previous version, so now it works.