Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hmdshariati

Pages: [1]
1
Information / Re: How to disable suPHP ?
« on: April 09, 2017, 08:06:23 AM »
Hello.

If you want using PHP as Apache's module, you can add it to your VirtualHost.
For example:

a) Copying your PHP module to the Apache's modules folder:
Code: [Select]
cp /usr/local/src/cwp/php-YOUR-VERSION/libs/libphp5.so /usr/local/apache/modules/
Edit your VirtualHost:
b) Disable suPHP
Code: [Select]
suPHP_Engine offc) add it to your VirtualHost:
Code: [Select]
<FilesMatch \.php$>
        LoadModule php5_module modules/libphp5.so
        SetHandler application/x-httpd-php
</FilesMatch>
d) and restart Apache:
Code: [Select]
service httpd restart

but there is not any php source in src!!?

Pages: [1]