[phpa] Re: Debug version for startup/no phpa files problem

  • From: Mark Thompson - Mailing Lists <mark-lists@xxxxxxxxxxxxxxx>
  • To: phpa@xxxxxxxxxxxxx
  • Date: Mon, 28 Jan 2002 14:17:39 -0800

I checked the glibc version based on your command and I got 2.1.3 so that's 
not the problem.

When I installed the debug version and did an httpd restart, I get:

[root httpd]# /usr/sbin/httpd restart
[ [debug] Skip startup
chiliasp: module started, version 3.5.2.31

I'm assuming that the Skip startup is from the debug version since I've 
never gotten that before.

Then, I look at /var/log/httpd/error and I get:

[ [debug] Shutdown in pid 30432 ppid 1 euid 0
[ [debug] Startup was skipped so ignoring shutdown
[ [debug] Startup in pid 30432 ppid 1 euid 0
[ [debug] cache startup
[ [debug] Done startup

If I go to a site that has the key there, I get nothing in the error log 
for that access.  If I go to a site that doesn't have a key then I get the 
standard message about needing a key:

[warn] No PHPA registration key given for webmail.webstylists.com. PHPA is 
NOT enabled.

You also asked for php.ini settings and relevant vhost settings so here 
they are:

PHP.INI:

; 

; 
PHP-Accelerator 

;

zend_extension="/usr/lib/php_accelerator-1.2_php-4.0.6_linux-glibc2.1.3/php_accelerator_debug.so"

(I ended up coping it to the same directory) but kept your filename and 
permissions.

HTTPD.CONF

<VirtualHost 216.12.208.9>
ServerName www.thetrolls.com
ServerAdmin site28
DocumentRoot /home/sites/site28/web
ServerAlias www.thetrolls.com thetrolls.com
RewriteEngine on
RewriteCond %{HTTP_HOST}                !^216.12.208.9(:80)?$
RewriteCond %{HTTP_HOST}                !^www.thetrolls.com(:80)?$
RewriteRule ^/(.*)                      http://www.thetrolls.com/$1 [L,R]
RewriteOptions inherit
AliasMatch ^/~([^/]+)(/(.*))? /home/sites/site28/users/$1/web/$3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddHandler cgi-wrapper .cgi
AddHandler cgi-wrapper .pl
# php settings
php_value phpa.registration_key 9fc344d38be02a3704c1d27a69a68036
# also enable phpa if set to off in the php.ini
php_value phpa on
</VirtualHost>

If there's anything else you need to help me figure this out, let me know.

Thanks,

Mark

At 1/28/2002 01:43 PM, you wrote:



>If you're having problems enabling phpa, even when the registration key
>seems to be ok, then please feel free to try the appropriate debug version
>and send me the debug output. Please gzip it if it's huge but it probably
>won't be.
>
>If an shm cache has been created then it must be flushed first, but it
>should be removed automatically when you stop apache before switching to the
>debug version.
>
>The debug output goes to the apache errors log. Trying just one page should
>be sufficient.
>
>If you could also send the php.ini settings and the entries from any
>relevant virtual hosts section then that should help too.
>
>The debug dowbloads are:
>
>http://www.php-accelerator.co.uk/debug_downloads/php_accelerator_debug-1.2_php-4.0.6_linux-glibc2.1.3.tgz
>
>http://www.php-accelerator.co.uk/debug_downloads/php_accelerator_debug-1.2_php-4.0.6_linux-glibc2.2.tgz
>
>http://www.php-accelerator.co.uk/debug_downloads/php_accelerator_debug-1.2_php-4.0.7RC3_linux-glibc2.1.3.tgz
>
>http://www.php-accelerator.co.uk/debug_downloads/php_accelerator_debug-1.2_php-4.0.7RC3_linux-glibc2.2.tgz
>
>Each file is a complete install but with a debug .so
>
>Nick
>
>
>------------------------------------------------------------------------
>   www.php-accelerator.co.uk           Home of the free PHP Accelerator
>
>To post, send email to phpa@xxxxxxxxxxxxx
>To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe

/=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=\
| Mark W Thompson            | Fax Number: (810)816-5203    |
| Web Stylists               | http://www.webstylists.com/  |
| mark-lists@xxxxxxxxxxxxxxx | ICQ #: 245378                |
\=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=/

------------------------------------------------------------------------
  www.php-accelerator.co.uk           Home of the free PHP Accelerator

To post, send email to phpa@xxxxxxxxxxxxx
To unsubscribe, email phpa-request@xxxxxxxxxxxxx with subject unsubscribe


Other related posts: