NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
Adding .so file with .htaccess


Joined: 22 Dec 2006
Posts: 42
Reply with quote
I am using a .htaccess file to load the phpexpress-php-5.2.so file via the following lines in my .htaccess file:

php_value extension_dir /home/wwwicet/public_html/
php_value extension=phpexpress-php-5.2.so

and I am getting an internal server error.

Can anybody help?
View user's profileFind all posts by bholbrookSend private message


Joined: 22 Dec 2006
Posts: 42
Reply with quote
I figured it out.

I placed it in the default extensions directory and used the dl() function in php to load it.
View user's profileFind all posts by bholbrookSend private message
Site Admin

Joined: 13 Jul 2003
Posts: 7861
Reply with quote
you can't load phpexpress this way.
at least, its accelerator will not work.
as of loader for files encoded with nu-coder, you'll have to load phpexpress prior to the first encoded file is included and therefore you can't load it from an encoded file. In one of the next versions, we'll change this and will provide a way to load phpexpress from encded files too

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website


Joined: 22 Dec 2006
Posts: 42
Reply with quote
Yeah, my first file that I load is config.php and is not encoded thus enabling me to load it.
View user's profileFind all posts by bholbrookSend private message
Adding .so file with .htaccess
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic