mindwerks
December 20th, 2005, 09:50 AM
I'm very new to the Linux/Ubuntu world and wanted to change that by creating a small webserver that I can learn PHP on. But I seem to be having some slight problems.
After I installed Ubuntu I installed Apache2,PHP5, PHP-mysql and got that working fine (ran a couple of test scripts). Then I installed Mysql and it seemed to work fine. I was unable to create connections to Mysql from PHP though. I kept getting a fatal PHP error that according to google and various other sites meant that my Mysql extentions were not compiled into the PHP.
I thought PHP-mysql was used for that but figured that maybe since mysql wasn't installed when I installed PHP that it failed or isn't linked up right. In an attempt to remedy it I removed and reinstalled PHP5 and PHP5-mysql and now PHP doesn't work LOL. When I access the PHP pages it tries to download the script rather then execute it. I imagine the PHP service/daemon isn't started but I'm not really sure how to investigate that.
I used synaptec for all of the installs and removals...
Anyone have some hints for a noob. :)
After I installed Ubuntu I installed Apache2,PHP5, PHP-mysql and got that working fine (ran a couple of test scripts). Then I installed Mysql and it seemed to work fine. I was unable to create connections to Mysql from PHP though. I kept getting a fatal PHP error that according to google and various other sites meant that my Mysql extentions were not compiled into the PHP.
I thought PHP-mysql was used for that but figured that maybe since mysql wasn't installed when I installed PHP that it failed or isn't linked up right. In an attempt to remedy it I removed and reinstalled PHP5 and PHP5-mysql and now PHP doesn't work LOL. When I access the PHP pages it tries to download the script rather then execute it. I imagine the PHP service/daemon isn't started but I'm not really sure how to investigate that.
I used synaptec for all of the installs and removals...
Anyone have some hints for a noob. :)