Is it possible to set up a mysql-server so I can test my php-scripts with a database?
If possible, do I only need to install mysql or do I also need apache?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What do I need to configure? I installed mysql on my WinXP-machine, but when I try to connect to my database from the Internal Preview the next error returns is returned:
"PHP Fatal error: Call to undefined function mysql_connect() in test.php on line 3"
In my ini-file I found this option:
sql.safe_mode Off Off
Does that has anything to do with it?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Is it possible to set up a mysql-server so I can test my php-scripts with a database?
If possible, do I only need to install mysql or do I also need apache?
there is no problem to test scripts with mysql.
but...
you need a local mysql server - no apache (devphp2 had an included webserver).
What do I need to configure? I installed mysql on my WinXP-machine, but when I try to connect to my database from the Internal Preview the next error returns is returned:
"PHP Fatal error: Call to undefined function mysql_connect() in test.php on line 3"
In my ini-file I found this option:
sql.safe_mode Off Off
Does that has anything to do with it?
you need a line
extension=php_mysql.dll
in your php.ini without commentsign(;) before
sql.save_mode has nothing to do with mysql
please post also your test.php if this not helps to you.