I have just upgraded to PHP 5.2 from PHP 4. I am using Apache 2 with MYSQL.
Before the upgrade everything was working well. (Was able to connect to my MYSQL database from PHP interface. However, now with the same PHP codes, I am not able to connect to the MYSQL database instead I am getting errors such as:
Fatal error: Call to undefined function mysql_connect() in C:\Program Files\Apache Group\Apache2\htdocs\viewusers.php on line 7
Line 7 is: $dbc = mysql_connect ('localhost') OR die ('Could not connect to mysql: ' .mysql_error() );
However, this was working fine before the upgrade. WHAT DO I NEED TO DO.
How can I also recompiled PHP?
THANKS YOU VERY MUCH
--
Thank you very much.
Abdou Karim Jallow
- Prev by Date: Is there some magic in building php for arm?
- Next by Date: Problems with Apache and PHP
- Previous by thread: Is there some magic in building php for arm?
- Next by thread: Problems with Apache and PHP
- Index(es):