On 3/8/02 3:37, "Per Rundblom" <[EMAIL PROTECTED]> wrote:

> It says:
> "
> ls: illegal option -- h
> usage: ls [-1ACFLRSTWacdfgiklnoqrstux] [file ...]
> "
> 
> And without the "h" it says: "No match"
> 
> / per
> 
> 
> On fredag, mars 8, 2002, at 12:37 , Colin Rasor wrote:
> 
>> On 3/7/02 15:10, "Per Rundblom" <[EMAIL PROTECTED]> wrote:
>> Assuming that your mod tree is under lib/apache/1.3/
>> Do a ls -lah|egrep -I *mod_php.info
>> Then read the info file it will most likely contain line that will help
>> you
>> load the module as a DSO.
>> 
>>  One thing to remember apache will give a syntax Error if after
>> LoadModule
>> their is a ":'
>> 
>> 
>> --Colin.ansel.Rasor
>> 
>> 
>>> Hi
>>> Could some one give me a hint about how a load the php-module
>>> under apache!? I have installed them bouth with fink, but a cant
>>> find the correct php-lib to add in /sw/etc/httpd/httpd.conf file?
>>> 
>>> As far as I understand it should look somewhat like this:
>>> 
>>> LoadModule libphp4_module     lib/apache/1.3/libphp4.so
>>> ...and...
>>> AddModule mod_libphp4.c
>>> 
>>> The problem is that the files arent there. How do i get them to
>>> the right directory. Do I have to configure php in some way??
>>> 
>>> / per - confused right now...
>>> 
>>> 
>>> _______________________________________________
>>> Fink-users mailing list
>>> [EMAIL PROTECTED]
>>> https://lists.sourceforge.net/lists/listinfo/fink-users
>>> 
>>> 
>>> 
>> 
>> 
>> 
> 
> 
> 
> 
 So essentially what you are saying is that the *php4.so is in that
directory but their is not a 500mod_php4.info file explaining the syntax for
the php module.
 
 If this is the case it is ok.
 Verify that the php*.so is in that directory and then put the
"Load Module path/to/your/shared/module/php4*.so"
 php4*.so above should = the exact path to the shared object file you just
verified.
Then make sure these lines are in your apache httpd.conf file
"AddType application/x-httpd-php .php"
"AddType application/x-httpd-php-source .phps"
 This is essentially like a AddHandler for apache telling it to use the php
parser for files that end in ".php"
 
Do a apachectl configtest then a apachectl restart if it doesn�t start check
your log. 
Try to get info from a <?php phpinfo(); ?> file in your document root. Just
make sure this file ends in .php so that the parser will do the work for
your.



If none of this works send the output of these two commands to a web page
where we can look at your configuration file.
"cat /etc/httpd/httpd.conf | egrep -i '(LoadModule|php|user|group)' "
"ls -l lib/apache/1.3/|egrep -I php"








_______________________________________________
Fink-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to