• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

How to suphp 0.6.1

Hi @ll

LoadModule suphp_module modules/mod_suphp.so

I've tried this. But then he couldn't find the module...

The download prompt is not a cache problem.
i have tested it at several computers but it is everytime the same.

i have rebuild my php but i get the same errors. is there a special configure parameter i have to add when i want to run php in plesk?

after my first php build i have wondered that i have to add these lines to each vhost.conf:

php_admin_flag engine on
php_admin_flag magic_quotes_gpc off
php_admin_flag safe_mode off
php_admin_value open_basedir "/var/www/vhosts/mydomain.com/httpdocs:/tmp:/usr/share/doc"

without these line i wont get php work. but with these lines some files are working, some not...
 
Originally posted by wkonline

The download prompt is not a cache problem.
i have tested it at several computers but it is everytime the same.

It may be a problem with your ISP's cache if it is running a proxy server. try the old alt ctr shift F3 to see if clears the problem. php either works or it doesn't unless you have some bizarre configuration set up.

i have rebuild my php but i get the same errors. is there a special configure parameter i have to add when i want to run php in plesk?

after my first php build i have wondered that i have to add these lines to each vhost.conf:

You really should not have to add these lines in your vhost.conf file as plesk deals with them in the httpd.include files for each virtual site. In fact your vhost.conf file can be empty and php should be working normally.at you make sure php is configured and working correctly with plesk. Worse case is uninstall and then reinstall the plesk version.

If you want to upgrade your php I would suggest using arts rpms at http://www.atomicrocketturtle.com
 
I don't know what to do. The suPHP.conf file says

[handlers]
;Handler for php-scripts
x-httpd-php=php:/usr/bin/php

it seems, that suPHP works with PHP CLI, but the FAQ on suphp.org says, I have to install PHP as cgi. My question is, can I use suPHP with the CLI version of PHP? I've tried to compile PHP 4.4.4 with --enable-cgi and --enable-fastcgi option, but I don't find the CGI file under sapi/cgi dir!? So I think, I have to use the CLI, but how?
(I use plesk 8 with OSS Suse 10)

Nico
 
Back
Top