And I don't have permission issues yet...

; Security options
allow_file_group_writeable=true
allow_file_others_writeable=true
allow_directory_group_writeable=true
allow_directory_others_writeable=true

wonder if this is the culprit? I have not tried to make them all false but
should I consider it?

Thanks,

Luis

On Wed, Nov 3, 2010 at 8:34 PM, [email protected] <[email protected]>wrote:

> Great I was able to solve it, and it seems to be executing now suphp as the
> /var/log/suphp/suphp.log is filling up
> I feel so good, after weeks of trying this it is so encouraging.
> I commented the line from my apache.conf
>
> # Enable suPHP
> #LoadModule suphp_module /usr/lib/apache2/modules/mod_suphp.so
> #AddType application/x-http-php5 .php
> suPHP_Engine on
> suPHP_AddHandler application/x-httpd-php .php
>
> What I have to say is:
>
> 1- ubuntu apache2 already loads the suphp_module by itself, i don't need to
> add the LoadModule line
> 2- commenting the line AddType ... php5 is what made the difference as it
> was in my opinion telling apache to interpret the php with the module php5
> which was already disabled
> 3- suPHP_Engine on was right and the place is perfect as I need it globally
> on and not just on one virtual host
> 4- suPHP_AddHandler application/x-httpd-php5 was turned into php alone as I
> think the php5 is related to the php5 module and I had disabled this,
> however, I have not tried this as an isolated change besides 2
>
> Other notes:
> - I have noticed that most of the frustration was due to the fact that I
> needed to shut down and restart chrome and I was not doing that, I was only
> cleaning the cache and that was not enough to see the changes
> - There was nothing that I needed to do in terms of cgi settings, not even
> one change
> - file to change configuration for suphp is /etc/suphp/suphp.conf
>  and not /etc/apache2/mods-available/suphp.conf as I was told
>
> I was badly treated on the IRC channels #httpd, #php, and #phpc
> sadly very proud people (not everybody) from bigger companies that are
> there to display their pomp. There are very great helpers though. They still
> hang in there from time to time.
>
>
> On Wed, Nov 3, 2010 at 7:47 PM, [email protected] <[email protected]>wrote:
>
>> My /etc/apache2/mods-enabled/suphp.conf reads:
>>
>> <IfModule mod_suphp.c>
>>         AddType application/x-httpd-suphp .php .php3 .php4 .php5 .phtml
>>         suPHP_AddHandler application/x-httpd-suphp
>>
>>     <Directory />
>>         suPHP_Engine on
>>     </Directory>
>>
>>     # By default, disable suPHP for debian packaged web applications as
>> files
>>     # are owned by root and cannot be executed by suPHP because of
>> min_uid.
>>     <Directory /usr/share>
>>         suPHP_Engine off
>>     </Directory>
>>
>> # # Use a specific php config file (a dir which contains a php.ini file)
>> #       suPHP_ConfigPath /etc/php4/cgi/suphp/
>> # # Tells mod_suphp NOT to handle requests with the type <mime-type>.
>> #       suPHP_RemoveHandler <mime-type>
>> </IfModule>
>>
>> So that line about the AddType application and suPHP_AddHandler were all
>> along there...
>>
>> Since I am getting a download for every page that I look that is php it
>> seems that the new setup does not read .htaccess and therefore does not
>> parse any php, I wonder what could also be wrong in my apache2.conf and
>> site.con under sites-available...
>>
>> Any hint where to look?
>>
>> On Tue, Nov 2, 2010 at 11:42 PM, Luis Cordova <[email protected]> wrote:
>>
>>> Aki:
>>> now you confuse me.
>>> When I install suphp I used Applications>>Ubuntu Software Center>> and
>>> typed suphp, and then I installed those packages, if I remember correctly
>>> they were already there (but I don't quite remember). In any case, that is
>>> what I have been using all along. And when I do apt-get I think I get the
>>> same modules you are talking about. So I am not sure if you are more newbie
>>> than I am or if I am mistaken or if you are talking of something else.
>>>
>>> I will now proceed following the instructions I get from corrideat
>>>
>>> On Tue, Nov 2, 2010 at 3:43 AM, Aki Tuomi <[email protected]>wrote:
>>>
>>>> You are using Ubuntu, why not utilize:
>>>>
>>>> libapache2-mod-suphp - Apache2 module to run php scripts with the owner
>>>> permissions
>>>>
>>>> which would set it up for you...
>>>>
>>>> Aki Tuomi
>>>>
>>>> -----BEGIN PGP SIGNATURE-----
>>>> Version: GnuPG v1.4.9 (GNU/Linux)
>>>>
>>>> iEYEARECAAYFAkzPzyAACgkQahHbMDrZuj4MxQCglnsWbWYdiLblRRP2Www2EnRz
>>>> o4QAnRb0Q8TNwFXzh13FNNZsv6IWRcIw
>>>> =/4lI
>>>> -----END PGP SIGNATURE-----
>>>>
>>>>
>>>
>>
>
_______________________________________________
suPHP mailing list
[email protected]
https://lists.marsching.com/mailman/listinfo/suphp

Reply via email to