On 18/08/2010, Bob McConnell <rvm@xxxxxxxxx> wrote: > From: e-letter > >> On 18/08/2010, chris h <chris404@xxxxxxxxx> wrote: >>> On Wed, Aug 18, 2010 at 7:10 AM, e-letter <inpost@xxxxxxxxx> wrote: >>> >>>> On 18/08/2010, chris h <chris404@xxxxxxxxx> wrote: >>>> > What are the actual file permissions when you run ls -o? >>>> > >>>> root >>>> >>> >>> What's the entire output of ls -o? >>> >> [root@localhost html]# ls -o * >> -rwxr-xr-x 1 root 182 2010-08-18 11:33 test.php* >> >> addon-modules: >> total 4 >> lrwxrwxrwx 1 root 51 2010-01-11 22:03 apache-mod_svn_view-0.1.0 -> >> ../../../../usr/share/doc/apache-mod_svn_view-0.1.0 >> lrwxrwxrwx 1 root 52 2010-01-11 22:03 apache-mod_transform-0.6.0 -> >> ../../../../usr/share/doc/apache-mod_transform-0.6.0 >> -rw-r--r-- 1 root 115 2007-09-07 21:47 HOWTO_get_modules.html >> >>> >>>> > >>>> > Do you know if PHP is installed as an apache mod or cgi? Also you > might >>>> > check what user apache is running as. >>>> > >>>> No. How to verify? >>>> >>>> > possibly... >>>> > $ vi /etc/apache2/envvars >>>> > >>>> No apache2 on my computer, only '/usr/lib/apache' which contains > only .so >>>> files. >>>> >>> >>> there's no /etc/apache either? >>> >> No > > Some distributions have really screwed up the locations of various > applications. This is compounded by the decision to rename the Apache 2 > directories to httpd. Look for /etc/httpd, /home/httpd or > /usr/lib/httpd. If worse comes to worst, try > In '/etc/httpd/conf' there is an empty directory 'addon-modules'. In /usr/lib/apache-extramodules there is 'mod_php5.so'. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php