Jump to content

Recommended Posts

i have the newest versions of php, mysql and apache running on windows for learning purposes...

ive seen many post of people who have had the same issues i am...

 

when i try to access mysql using php nothing happens.

 

php and apache work fine together... mysql is also up and running fine...

 

ive tried variations of different code to login to mysql to do basic things..

but i get no error echoes or server errors.

 

everyone's solution so far that i have found is to install a packaged version of the 3 apps.

 

id like to figure this out without doing so.

 

Thanks in advance Jason M.

 

 

Link to comment
https://forums.phpfreaks.com/topic/73735-another-n00b-with-install-problems-heh/
Share on other sites

i have the newest versions of php, mysql and apache running on windows for learning purposes...

ive seen many post of people who have had the same issues i am...

 

when i try to access mysql using php nothing happens.

 

php and apache work fine together... mysql is also up and running fine...

 

ive tried variations of different code to login to mysql to do basic things..

but i get no error echoes or server errors.

 

everyone's solution so far that i have found is to install a packaged version of the 3 apps.

 

id like to figure this out without doing so.

 

Thanks in advance Jason M.

 

 

Turn a setting called display_errors On within the php.ini if you are getting blank screens. PHP will now show errors which will help you know what's wrong. When you modify the php.ini make sure you restart Apache

 

You're most probably get an error like "Call to undefined function: mysql_connect" when turn display_errors on. If you do please read this FAQ.

easiest things i can think off that you havent done is (im on the same setup fully running in vista):

 

Not Enabled the mysql extension

Not added the php folder to the path environment

 

 

other than that, im baffled. You will need to turn on "Display_errors" in the php.ini file

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.