Help to configure PHP 5...............
Posted: Sat Mar 21, 2009 6:31 am
Hey Guys, This is my first post in this Forum..
Frankly speaking I am Java programmer, who had done lots of coding in JSP, Servlets, swings, java beans.... etc..
And now I am newbie to PHP programming i haven't done PHP earlier.
To start learning I installed PHP 5.2.8 , Apache 2.2X, MySQL 5.1 on my windows XP MAchine..
I did lots of googling to configure php on apache 2.2 ( editing httpd.conf ,php.ini etc)
I suceeded in configuring basic PHP pages. But when I tried to use mySQL it gaved me error: mySQL_Connect() undefined function call... and so on. I understood that server is not able to find MySQl function library. SO i tried lots of solution given on net. like uncommenting some statements, adding new statements in configuration file.. my every try was bridge under the water... So to solve this i installed foxserver which bundles mySQL, php, appache with it .. you dont need to configure anything.. i succeded in doing database programming...
But as a Techie i was not satisfied as it uses order version PHP 4.2 , mySQL 3.2 bundled with foxserver....
So guys any of you who have worked on PHP 5, mySQl 5.1 and Apache 2.2 and know how to configure it successfully, please do reply.....
Waiting for reply...
Thanks in Advance.............
Frankly speaking I am Java programmer, who had done lots of coding in JSP, Servlets, swings, java beans.... etc..
And now I am newbie to PHP programming i haven't done PHP earlier.
To start learning I installed PHP 5.2.8 , Apache 2.2X, MySQL 5.1 on my windows XP MAchine..
I did lots of googling to configure php on apache 2.2 ( editing httpd.conf ,php.ini etc)
I suceeded in configuring basic PHP pages. But when I tried to use mySQL it gaved me error: mySQL_Connect() undefined function call... and so on. I understood that server is not able to find MySQl function library. SO i tried lots of solution given on net. like uncommenting some statements, adding new statements in configuration file.. my every try was bridge under the water... So to solve this i installed foxserver which bundles mySQL, php, appache with it .. you dont need to configure anything.. i succeded in doing database programming...
But as a Techie i was not satisfied as it uses order version PHP 4.2 , mySQL 3.2 bundled with foxserver....
So guys any of you who have worked on PHP 5, mySQl 5.1 and Apache 2.2 and know how to configure it successfully, please do reply.....
Waiting for reply...
Thanks in Advance.............