|
||||||
| Tutorials Programming Tutorials - Post your tutorials here! |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||||
|
After every linux installation, the first thing I always do is setup apache, mysql, and php. Under Ubuntu, if you take advantage of the synaptic package manager, setting up your LAMP server has never before been more simple.
First thing you want to do is update your repositories: Quote:
Quote:
Quote:
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
| Sponsored Links |
|
|
|
|||||
|
You may have to enable the php load file:
Code:
mv /etc/apache2/mods-available/php.load /etc/apache2/mods-enabled/
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
|
|||||
|
Do you have an entry similar to this in your httpd.conf:
Code:
<Files *.php> SetOutputFilter PHP SetInputFilter PHP LimitRequestBody 9524288 </Files> AddType application/x-httpd-php .php AddType application/x-httpd-php-source .phps Code:
LoadModule php5_module modules/libphp5.so
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
What is in php.load?
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages! |
|
|||||
|
When you use the method described above, all modules that are to be loaded are defined in their own file. The php.load file includes the stuff posted above. It's just rather than having it in the httpd.conf (apache2.conf) the apache configuration file has something like: LoadModule enabled-modules/*.load
__________________
CodeCall Blog | CodeCall Wiki | Shareware | Linux Forum | My Blog Chat with other CodeCall members on IRC; connect to irc.codecall.net and join #codecall |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| [C] Server doesn't send a message on mailslot | Alhazred | C and C++ | 3 | 08-13-2007 06:48 AM |
| Delphi Sockets : Simple client and server program | tosh5457 | Pascal/Delphi | 0 | 05-26-2007 12:00 PM |
| Global variables (SERVER) | Jaan | PHP Tutorials | 0 | 03-22-2007 10:43 PM |
| Tutorial: Proxy Servers | Lop | Tutorials | 7 | 01-02-2007 04:53 AM |
| game server mod | John | C and C++ | 8 | 08-20-2006 11:01 AM |
| WingedPanther | ........ | 2753.6 |
| Xav | ........ | 2704 |
| Brandon W | ........ | 1702.32 |
| John | ........ | 1207.73 |
| marwex89 | ........ | 1175.24 |
| morefood2001 | ........ | 966.05 |
| dcs | ........ | 655.75 |
| Steve.L | ........ | 475.59 |
| orjan | ........ | 418.58 |
| Aereshaa | ........ | 383.54 |