installation on shared hosting? |
Site Admin
|
As with any other host-wide configuration things, you need your hosting company assistance.
Basicly, phpexpress is a php extension and all you need is to copy it to the server and add it to php.ini |
||||||||||||
_________________ The PHP IDE team |
|
You could try using the dl() function to load the extention (http://www.php.net/dl).
|
||||||||||||
|
Site Admin
|
dl will load module for just one Apache child process while it's absolutely necessary to load it for all, otherwise you may get only "loader" functionality, not accelerator.
|
||||||||||||
_________________ The PHP IDE team |
Mi proveedor de Hosting, no quiere instalar el PHPExpress |
|
El problema que mi proveedor de Hosting no quiere instalar el PHPExpress y que mejor use Zend, sin embargo mi código lo tengo encriptado con Nu-coder y mis fuentes los perdi, mi proveedor de hosting, tiene el servidor en Windows e IIS, que puedo hacer para cargar el PHPExpress en tiempo de ejecución.
|
||||||||||||
|
Site Admin
|
in english, please
|
||||||||||||
_________________ The PHP IDE team |
Install phpexpress in hosting shared |
|
The problem that my supplier of Hosting does not want to install the PHPExpress and that better Zend uses, however, my code I have it encoder with Nu-coder and my sources are missing, my supplier of hosting, has the windows server, that I can make to load the PHPExpress in run time .
|
||||||||||||
|
|
Hello marco_iv,
If I understood you correctly you encoded files using our nucoder and don't have source code, so you need to use phpexpress and you can't put phpexpress in php.ini as a PHP extension. If this understanding is correct you can try one of the following 2 options: option #1 - make first file not encoded, and inside this file call dl('path/to/phpexpress.so') (first line); then use "include" or "require" for other encoded files option#2 - in php.ini include auto_prepend_file (if you can change php.ini this way), and put dl('path/to/phpexpress.so') right there. all encoded files will work. 'path/to/phpexpress.so' should be done like this: if your extension_dir = /usr/lib/php4/extensions/ and phpexpress.so is in /home/migel/phpexpress/ then 'path/to/phpexpress.so' should be: '../../../../home/migel/phpexpress/phpexpress.so' so the call is: dl('../../../../home/migel/phpexpress/phpexpress.so'); I hope it helps. If you have additional questions please email to support@nusphere.com Best regards, Sergey - Nusphere customer support |
||||||||||||
|
you understood |
|
thanks a lot, however, my hosting provider has Windows server and IIS, your solution works in linux server, but it don't works in Windows server
|
||||||||||||
|
|
Hello,
Actually it depends: dl() is supported for NTS (non-thread-safe) php, this is usually for Linux. But dl() is supported also for TS (thread-safe), only if you use CLI (php.exe), CGI (php-cgi.exe) and EMBED modules. It will not work for php5apache and php5isapi. so if your IIS server is configured as CGI or FastCGI everything should work, but if it is configured as php5isapi.dll it will not work, please check with your hosting provider. Regards, Sergey - Nusphere customer support |
||||||||||||
|
yes, mi hosting provider Server API CGI/FastCGI |
|
my code was:
if (!extension_loaded('NuSphere PhpExpress')) { dl('phpexpress-php-5.2.dll'); } but, it don't works, what am i? |
||||||||||||
|
|
My code is:
if (!extension_loaded('NuSphere PhpExpress')) { dl('phpexpress-php-5.2.dll'); } it don't works and it send me this error message \directorios de extensiones => C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5\ext Warning: dl() [function.dl]: Unable to load dynamic library 'C:\Program Files\SWsoft\Plesk\Additional\PleskPHP5\ext\phpexpress-php-5.2.dll' - The specified module could not be found. in C:\Inetpub\vhosts\jalconsulting.com.mx\httpdocs\siase\index.php on line 7 add this line : ini_set('extension_dir','\httpdocs\siase\'); if (!extension_loaded('NuSphere PhpExpress')) { dl('phpexpress-php-5.2.dll'); } then, it send error message : Parse error: syntax error, unexpected T_STRING in C:\Inetpub\vhosts\jalconsulting.com.mx\httpdocs\siase\index.php on line 6 |
||||||||||||
|
installation on shared hosting? |
|
||
Content © NuSphere Corp., PHP IDE team
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by
Powered by phpBB © phpBB Group, Design by phpBBStyles.com | Styles Database.
Powered by