ERROR 500 with file .PHP5

blustic

Verified User
Joined
May 26, 2006
Messages
79
Location
France
I have an error 500 with file .php5

my options.conf :
default_php=4
php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=yes
apache_ver=1.3
dovecot=no

and in /configure/ap1/configure.php4 I replaced
--with-apxs2 \
by
--with-apxs \

How to regulate the problem of error 500 ?

PS: i am french :D excuse my english

edit: I use Debian 3.1
 
Last edited:
Make sure the file is owned by the user (not root) and it has chmod <755.
 
sd:/usr/local/directadmin/custombuild# ./build rewrite_confs
Using 193.34.16.xxx for your server IP
make[1]: entrant dans le répertoire « /usr/local/directadmin/custombuild/apache_1.3.37/src »
SSL Certificate Generation Utility (mkcert.sh)
Copyright (c) 1998-2000 Ralf S. Engelschall, All Rights Reserved.

Generating self-signed Snake Oil certificate [DUMMY]
______________________________________________________________________

RESULT: Server Certification Files

o conf/ssl.key/server.key
The PEM-encoded RSA private key file which you configure
with the 'SSLCertificateKeyFile' directive (automatically done
when you install via APACI). KEEP THIS FILE PRIVATE!

o conf/ssl.crt/server.crt
The PEM-encoded X.509 certificate file which you configure
with the 'SSLCertificateFile' directive (automatically done
when you install via APACI).

WARNING: Do not use this for real-life/production systems

make[1]: quittant le répertoire « /usr/local/directadmin/custombuild/apache_1.3.37/src »
Writing data to /etc/httpd/conf/extra/httpd-suphp.conf
Done.
sd:/usr/local/directadmin/custombuild#

But I always have an ERROR 500 :(
 
Do "service httpd restart" after it. (P.S. make sure that the directory is chmod <755 too).
 
Please email me your server details and I'll fix it in seconds ( martynas[at]e-vaizdas[dot]net).
 
PHP 5.2.3 changelog said:
  • Changed CGI install target to php-cgi and 'make install' to install CLI when CGI is selected. (Jani)

I'll fix it into custombuild soon.
 
My second server has an error 500 with file .php5 :confused:

Chmod of file is 755 and owner "admin"

What is the problem ? :(
 
Back
Top