View previous topic :: View next topic |
Author |
Message |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Jan 05, 2005 2:14 am Post subject: Installing PHP on Linux [I Gave Up] |
|
|
Edit: Im through with Linux , I don't recommend it for NewB's lol.
Last edited by TRUSTAbyss on Sat Jan 08, 2005 9:30 am; edited 2 times in total |
|
Back to top |
|
 |
aprelium-beta -
Joined: 24 Jun 2004 Posts: 383
|
Posted: Wed Jan 05, 2005 11:51 am Post subject: Re: Installing PHP on Linux... |
|
|
TRUSTpunk wrote: | I just wanted to let everyone know that I searched the forums for help on
installing PHP on Mandrake or any Linux , I need help installing it. :(
I don't have a C compiler for my linux so compiling is not an option , if
any of you can create a RPM or an already PHP package in a zip file I
would very much appreciate it , I got this far , im not giving up now. |
All modern Linux distributions have RPM support.
On the command line, type: rpm and hit return. If you don't get an error stating that the command is wrong or bad, this means that RPM works fine for you.
Next, you'll have to be logged as root to install the packages you want (PHP and/or GCC). Most of them usually ship in the Linux distribution CD but you can also find packages on RPM sites such as http://www.rpmfind.net . _________________ Beta Testing Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Wed Jan 05, 2005 11:17 pm Post subject: |
|
|
Edit: Data no longer available. Linux is gone...
Last edited by TRUSTAbyss on Sat Jan 08, 2005 9:31 am; edited 1 time in total |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Wed Jan 05, 2005 11:33 pm Post subject: |
|
|
Several points - firstly, you should already have a C compiler installed unless you specifically told the installer not to install any developer packages. GCC is pretty standard on all distributions and I'd be very suprised if it was installed by default.
2nd - unfortunately you've made it harder on yourself by installing Mandrake. Before you can access the additional downloads on the Mandrake site you are required to join the users club. You would be able to find a Mandrake specific RPM for PHP there. However, again, PHP is now pretty standard and I would be suprised to find it wasn't available on the CDs you downloaded.
3rd - The same as some programs in Windows depend on .dll files, you will find files in Linux also have dependencies - as you have found out in your screenshot. You need these available before PHP will work, regardless of if you compile PHP from source or grab an RPM for it. Once again, I would be suprised if this wasn't available somewhere on your CD.
I would suggest starting over again with either Debian or Red Hat as you will find the distribution system easier to use as a beginner. |
|
Back to top |
|
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Jan 06, 2005 9:43 am Post subject: |
|
|
Edit: Data no longer available. Linux is gone...
Last edited by TRUSTAbyss on Sat Jan 08, 2005 9:31 am; edited 1 time in total |
|
Back to top |
|
 |
Anonymoose -
Joined: 09 Sep 2003 Posts: 2192
|
Posted: Thu Jan 06, 2005 1:51 pm Post subject: |
|
|
Once again, without the dependencies it *will not run* regardless of if someone gives you a precompiled copy, you download an RPM or you compile it yourself. The CC error sounds like you chose not to install any development tools when you ran through Mandrake installer? Did you change any options or just do a default install?
You should be able to install all the dependencies via RPM, then PHP. |
|
Back to top |
|
 |
Arctic -
Joined: 24 Sep 2004 Posts: 560
|
Posted: Thu Jan 06, 2005 2:59 pm Post subject: |
|
|
What was the link to that Apache vs. Abyss thing? I want to see that... |
|
Back to top |
 |
 |
TRUSTAbyss -
Joined: 29 Oct 2003 Posts: 3752 Location: USA, GA
|
Posted: Thu Jan 06, 2005 10:49 pm Post subject: |
|
|
I gave up on Linux due to some jerks ripping me off at a local computer
store , they installed Linux with the most small amount of programs and
they knew that I needed a compiler , these people are going down :)
Here's the link to the Rip off Computer store
http://www.augustacomputers.com
I reported them to the Better Business Bureau hoping I get a refund :( |
|
Back to top |
|
 |
|