Thread: Problems associated with removing packages from server

  1. #16
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by Nightowl View Post
    Have you installed libapache2-mod-php5, or did you just install the php5 package?
    Yes i have, i just did a seperate apt-get just to be sure, and it says already newest version installed. LIke way back to the begninging i had done an apt-get install apache2 php5 mysql-server phpmyadmin

    I just don't know whats the problem, cant figure it
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  2. #17
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    Is apache2 or apache1.3 running?
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  3. #18
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by Nightowl View Post
    Is apache2 or apache1.3 running?
    Ok sorry to sound so dumb, but how do i know if it's running, what command should i run? Shouldn't it have started once i did a sudo /etc/init.d/apache2 restart ? If yea, then it is i believe
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  4. #19
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    What I mean, is are you using apache version 2.x or 1.3.x?
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  5. #20
    Resu Deretsiger Nightowl's Avatar
    Join Date
    Nov 2008
    Location
    /dev/null
    Posts
    186
    My suggestions: (I have to sign off now)

    - reinstall all the packages after having purged them with apt-get remove --purge <packagenames>
    - Install a different version of the apache2 server (mpm-prefork, etc.)
    - Google it

    Hope this helps a little . . .
    Do as I say, not as I do . . .

    Experimentation is the essence of programming. Just remember to make a backup first.

    "I'm a firm believer that <SomeGod> gave us two ears and one mouth for a reason - we are supposed to listen, twice as much as we talk." - LEAF

    Questions posted by these guidelines are more likely to be answered.

    Debian GNU/Linux user, with the awesome window manager, the git version control system, and the cmake buildsystem generator.

  6. #21
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by Nightowl View Post
    What I mean, is are you using apache version 2.x or 1.3.x?
    Ok nightowl, thanks for the time, i think i might as well do a purge, and hopefully nothing else goes off :S, if thats teh case I'm starting over from scratch and to hell to trying to be the admin who tries to fix things from wher ehe is , lol


    On adn it's apache 2.x
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  7. #22
    Registered User
    Join Date
    Dec 2006
    Location
    Canada
    Posts
    3,229
    - reinstall all the packages after having purged them with apt-get remove --purge <packagenames>
    - Install a different version of the apache2 server (mpm-prefork, etc.)
    That I don't think is a good idea... it will pull a lot of packages with it.

    libapache2-mod-php5 is not the same as php5. php5 is the actual scripting engine, and libapache2-mod-php5 is the interface between Apache and PHP.

    try
    Code:
    apt-get install libapache2-mod-php5

  8. #23
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by cyberfish View Post
    That I don't think is a good idea... it will pull a lot of packages with it.
    Thats precisely why I'm contemplating on taking the packages off. I'm not sure what to do now :S

    try
    Code:
    apt-get install libapache2-mod-php5
    As for that I have done that also, and still it says the the newest version is already installed
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


  9. #24
    POeT GuY Matus's Avatar
    Join Date
    Feb 2008
    Location
    Bz
    Posts
    235
    Quote Originally Posted by cyberfish View Post
    That means your PHP is not working, so apache is just sending the source to the browser. Normally, PHP would run the script first, and output HTML, which apache then return to the browser.
    Mhm yep i get what u mean, I'm all new to this man, but i'm understanding little by little. I'm trying different things i find on google but all so far have been futile

    Btw u can try it out yourself by typing my ip etc and you'll exactly what i mean
    PoEms R InsPiRatiOns of LIfE ExpErienCes!!


Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Simple Client - Server problems (Async Sockets )
    By Cpp_Noob in forum Networking/Device Communication
    Replies: 4
    Last Post: 06-19-2009, 07:12 AM
  2. Commerical MMORPG Developer Opp
    By Th3Guy in forum Projects and Job Recruitment
    Replies: 19
    Last Post: 01-22-2007, 11:28 AM
  3. Visual Studio and FTP Server...
    By Grayson_Peddie in forum Networking/Device Communication
    Replies: 0
    Last Post: 09-03-2003, 12:31 PM
  4. Simple Server problems...
    By Unregistered in forum C++ Programming
    Replies: 0
    Last Post: 10-20-2001, 08:51 PM
  5. Socket Problems
    By (TNT) in forum Windows Programming
    Replies: 4
    Last Post: 08-18-2001, 06:59 AM