Question/Doubt

SeLLeRoNe

Super Moderator
Joined
Oct 9, 2004
Messages
6,632
Location
A Coruña, Spain
Hi, if i upgrade php4 to php5 from custombuild with

php4_cli=no
php4_cgi=no
php5_cli=yes
php5_cgi=no

have i the possibility to return to php4 with

php4_cli=yes
php4_cgi=no
php5_cli=no
php5_cgi=no

is that right?

Another doubt, for php5 i need apache2?

Thanks for support
 
Thanks man, your are the best like always :)

Another question, what the main difference from apache 1.3 and apache2? i mean, should this upgrade create some problem to customers?

thanks
 
I'll let anyone with more information or knowledge add to this, but here are some differences I know of:

1) Apache 2.x works better on multi-core and multi-threaded processors.

2) Apache 2.x has more modules built in.

Anyone else?

Jeff
 
Yes, there is no risk at all (unless it's not installed correctly).
 
ive got this error

Restarting apache.
Stopping httpd:
Starting httpd: Syntax error on line 30 of /usr/local/directadmin/data/users/admin/httpd.conf:
Invalid command 'php_admin_flag', perhaps misspelled or defined by a module not included in the server configuration

ive to manually remove this line?

php_admin_flag engine ON

for each user?

thanks
 
new problem, i have this on virtual_host.conf

<VirtualHost |IP|:80>
ServerName webmail.|DOMAIN|
ServerAdmin |ADMIN|
DocumentRoot /var/www/html/webmail
CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes
CustomLog /var/log/httpd/domains/|DOMAIN|.log combined
ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log
</VirtualHost>
<VirtualHost |IP|:80>
ServerName phpmyadmin.|DOMAIN|
ServerAdmin |ADMIN|
DocumentRoot /var/www/html/phpMyAdmin
CustomLog /var/log/httpd/domains/|DOMAIN|.bytes bytes
CustomLog /var/log/httpd/domains/|DOMAIN|.log combined
ErrorLog /var/log/httpd/domains/|DOMAIN|.error.log
</VirtualHost>
<VirtualHost |IP|:80>
ServerName directadmin.|DOMAIN|
ProxyRequests Off
ProxyPass / http://localhost:2222/
ProxyPassReverse / http://localhost:2222/
</VirtualHost>


but now those templates are not working, do u know how i can fix?
 
ok now.. something wrong... with apache 2.2 and apache 2.0 (installed and tested both) box load go up to 12.00+... installing back apache 1.3 load is 0.70...

how is that possible and how i should check what wrong?

thanks
 
sorry, my fault this time, a customer was upgrading his phpbb and that script took much resources cause him database is big.

all normal, reinstalled apache 2.2 and everything working fine

regards
 
Back
Top