-
Hi,
Have been reading Kevin's mySQL and PHP articles and decided to try installing mysql and php on a red hat linux 6.0 server.
When I tried to configure where to install mysql, I recieved the error that the C++ compiler was not working and it errored out.
Really new to linux so any help will be appreciated.
Thanks,
Dan
-
You'll need to install the development RPM's for Linux, which include the GCC compiler and various libraries. Let me know if you need help with this!
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!
-
Thanks Kevin, that worked.
Sorry it took so long to get back with an answer, but this is a spare time project. Now I have a new problem http://www.SitePoint.com/forums/confused.gif
When trying to install php 3 (cause my host uses v 3), everything looks like it goes right, (no errors) but it doesn't create the /usr/local/php folder during the make process. When I run make install, I don't get any errors.
Any ideas?
Dan
-
Umm... ok.
First of all, if you host already provides PHP3, why are you installing it yourself?
As for why the /usr/local/php folder isn't being created... Did you specify the --prefix=/usr/local/php option for the ./configure script before running the make as described in my article?
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!
-
actualy, the linux box is in a private intranet that i want to use as a development platform, but if i develop a script, i want to be able to upload it to my web host and have it run correct. Why? who knows...same reason I have an NT box running iis4 complete with a DNS server that resolves ip addresses to domain names. Use a .cxm instead of .com, but still a fully qualified domain name.
Yes, i ran the ./configure just like in your article. Installed it complete from scratch twice with the same results. Has me puzzled. Probably doing something wrong, just haven't figured out what it is yet.
-
Does the Apache module get installed? i.e. if you complete the installation by updating your httpd.conf file and then try to load a .php file, does PHP work (or at least give you an error message)?
------------------
-Kevin Yank.
http://www.SitePoint.com/
Helping Small Business Grow Online!
-