I solved a problem with PHP PHP Version 5.2.1 with mysql.
but my the way thank you for replies ronverdonk.
If any body interest reading thing problem please follow the instruction below.
Download the php-5.2.1-win32-installer.msi
Dowload the mysql server - very easy to install
Run the PHP 5.2.1 setup
Make sure select the entension for mysql.
the php.in should be like below....
User Profile
Collapse
-
the asapi.dll just the different way to connect to php.exe instead using cgi.exe so I don't think my code is matter.
I did do the display_errors = On but i recieve no error....Leave a comment:
-
When I switched to isapi I had this error on myscript.
Fatal error: Call to undefined function mysql_connect() in S:\xxxxx\xxx\te st.php on line 14
The cgi is doing fine on with the mysql, in fact I had a database and tested it, I can retrieve info from the database okay.
Again except the warning messageLeave a comment:
-
For the mysql with isapi seem like it doesn't communicate with the mysql.
I had the same set up of the php.ini for cgi and isapi.
I can use cgi with mysql okay but it just doesn't give my any warning for the SESSION and Variable.
If use cgi then I don't see any error message when I call the unavailable SESSION.
Normally if there is an unavailable SESSION the php should display something like
Notice:...Leave a comment:
-
-
IIS7 Vista ISAPI,CGI mysql , session, variable big prolem
1. Does anyone run ASAPI and mysql succesfully on Vista /IIS7?
2. Does anyone run CGI and display all SESSION errors on Vista /IIS7?
php ASAPI doesn't works with MYSQL.
And CGI doesn't show any SESSION error message.
PHP had so much bugs on windows vista.
I using php-5.2.1-Win32
<?php
if (!isset($_SESSI ON)) session_start() ;
unset($TEST);...Last edited by Darwiniv; Mar 13 '07, 08:08 AM. Reason: IIS7 Vista ASAPI,CGI mysql , session, variable big prolem
No activity results to display
Show More
Leave a comment: