Checking Installed Modules

  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I manually installed Apache, MySQL, phpmyadmin... meaning I didn't "sudo apt-get install lamp" I "sudo apt-get install apache"... so on and so forth. I then copy-pasted some install code in their and it installed things :lol:

I also like how WAMP tells me all the enabled modules that I can use... is there anyway I can do that here in my frontpage? The way I installed it left me with no frontpage (The page you see when you enter "127.0.0.1" or "localhost"). i created my own which lists all the directories and files... doesn't look pretty :lol:

Is there a way that I could make that happen? Thanks.
  • Anonymous
  • Bot
  • No Avatar
  • Posts: ?
  • Loc: Ozzuland
  • Status: Online

Post 3+ Months Ago

  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

I would go look at the code behind the front page of a WAMP setup and just copy it.

My guess is they use apache_get_modules
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

SpooF wrote:
I would go look at the code behind the front page of a WAMP setup and just copy it.

My guess is they use apache_get_modules

I don't have WAMP any more... Just got Ubuntu :)

Thanks for that function... I completely forgot about it.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Every "*.load" file you see here is an installed module.

Code: [ Select ]
joebert@sr1123wm:~$ ls /etc/apache2/mods-enabled/
alias.conf      autoindex.conf env.load     php5.load
alias.load      autoindex.load filter.load    rewrite.load
auth_basic.load    cgi.load    headers.load   setenvif.conf
authn_file.load    dav.load    mime.conf     setenvif.load
authz_default.load  dav_svn.conf  mime.load     status.conf
authz_groupfile.load dav_svn.load  negotiation.conf status.load
authz_host.load    dir.conf    negotiation.load
authz_user.load    dir.load    php5.conf
  1. joebert@sr1123wm:~$ ls /etc/apache2/mods-enabled/
  2. alias.conf      autoindex.conf env.load     php5.load
  3. alias.load      autoindex.load filter.load    rewrite.load
  4. auth_basic.load    cgi.load    headers.load   setenvif.conf
  5. authn_file.load    dav.load    mime.conf     setenvif.load
  6. authz_default.load  dav_svn.conf  mime.load     status.conf
  7. authz_groupfile.load dav_svn.load  negotiation.conf status.load
  8. authz_host.load    dir.conf    negotiation.load
  9. authz_user.load    dir.load    php5.conf
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Alright thanks :D I got it working with apache_get_modules();
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

Where can I get the GD module? Or whatever I need to be able to use CAPTCHA?
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

GD is part of PHP, check your php_info to see if its enabled.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

Code: [ Select ]
sudo apt-get install php5-gd


PHP extensions typically follow a "php5-*" pattern for their naming. If you want to see which ones are installed via apt or synaptic, you can use this

Code: [ Select ]
dpkg -l | grep 'php5-"


and be given output like this

Code: [ Select ]
ii php5-cli                 5.2.6.dfsg.1-3ubuntu4.6      command-line interpreter for the php5 script
ii php5-common                5.2.6.dfsg.1-3ubuntu4.6      Common files for packages built from the php
ii php5-curl                 5.2.6.dfsg.1-3ubuntu4.6      CURL module for php5
ii php5-gd                  5.2.6.dfsg.1-3ubuntu4.6      GD module for php5
ii php5-mcrypt                5.2.6-0ubuntu2          MCrypt module for php5
ii php5-mysql                5.2.6.dfsg.1-3ubuntu4.6      MySQL module for php5
ii php5-xcache                1.2.2-3              Fast, stable PHP opcode cacher
  1. ii php5-cli                 5.2.6.dfsg.1-3ubuntu4.6      command-line interpreter for the php5 script
  2. ii php5-common                5.2.6.dfsg.1-3ubuntu4.6      Common files for packages built from the php
  3. ii php5-curl                 5.2.6.dfsg.1-3ubuntu4.6      CURL module for php5
  4. ii php5-gd                  5.2.6.dfsg.1-3ubuntu4.6      GD module for php5
  5. ii php5-mcrypt                5.2.6-0ubuntu2          MCrypt module for php5
  6. ii php5-mysql                5.2.6.dfsg.1-3ubuntu4.6      MySQL module for php5
  7. ii php5-xcache                1.2.2-3              Fast, stable PHP opcode cacher
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

I got the following after running
Code: [ Select ]
dpkg -l | grep 'php5-'

Code: [ Select ]
rc php5-cgi               5.3.3-1ubuntu9.1                 server-side, HTML-embedded scripting language (CGI binary)
ii php5-cli               5.3.3-1ubuntu9.1                 command-line interpreter for the php5 scripting language
ii php5-common              5.3.3-1ubuntu9.1                 Common files for packages built from the php5 source
rc php5-curl               5.3.3-1ubuntu9.1                 CURL module for php5
ii php5-gd                5.3.3-1ubuntu9.1                 GD module for php5
ii php5-mcrypt              5.3.3-0ubuntu2                  MCrypt module for php5
ii php5-mysql              5.3.3-1ubuntu9.1                 MySQL module for php5
ii php5-xcache              1.3.0-7                      Fast, stable PHP opcode cacher
  1. rc php5-cgi               5.3.3-1ubuntu9.1                 server-side, HTML-embedded scripting language (CGI binary)
  2. ii php5-cli               5.3.3-1ubuntu9.1                 command-line interpreter for the php5 scripting language
  3. ii php5-common              5.3.3-1ubuntu9.1                 Common files for packages built from the php5 source
  4. rc php5-curl               5.3.3-1ubuntu9.1                 CURL module for php5
  5. ii php5-gd                5.3.3-1ubuntu9.1                 GD module for php5
  6. ii php5-mcrypt              5.3.3-0ubuntu2                  MCrypt module for php5
  7. ii php5-mysql              5.3.3-1ubuntu9.1                 MySQL module for php5
  8. ii php5-xcache              1.3.0-7                      Fast, stable PHP opcode cacher
  • SpooF
  • ٩๏̯͡๏۶
  • Bronze Member
  • User avatar
  • Posts: 3422
  • Loc: Richland, WA

Post 3+ Months Ago

Looks like you have GD running.
  • Bogey
  • Genius
  • Genius
  • Bogey
  • Posts: 8388
  • Loc: USA

Post 3+ Months Ago

What does 'rc' and 'ii' stand for?



I was able to fix my CAPTCHA generation problem by adding fonts to the fonts folder :D Didn't check in that folder before posting here so I didn't know that was the problem.
  • joebert
  • Fart Bubbles
  • Genius
  • User avatar
  • Posts: 13502
  • Loc: Florida

Post 3+ Months Ago

http://www.blindedbytech.com/2007/10/04 ... tus-codes/

Basically, ii means it's installed and ready to go. I believe rc means that it was installed in the past, but all that remains is configuration files.

Post Information

  • Total Posts in this topic: 12 posts
  • Users browsing this forum: No registered users and 58 guests
  • You cannot post new topics in this forum
  • You cannot reply to topics in this forum
  • You cannot edit your posts in this forum
  • You cannot delete your posts in this forum
  • You cannot post attachments in this forum
 
 

© 1998-2014. Ozzu® is a registered trademark of Unmelted, LLC.